PARALLAX

config_rule

Manage AWS Config rule resources

Collection: community.aws

Full Name: community.aws.config_rule

Synopsis

Manage AWS Config rule resources

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
debug_botocore_endpoint_logsboolfalse
descriptionstr
endpoint_urlstr
execution_frequencystr
input_parametersstr
namestryes
profilestr
regionstr
scopedict
secret_keystr
session_tokenstr
sourcedictyes
statestrpresent
validate_certsbooltrue

Example

yaml
- name: Create Config Rule for AWS Config
  community.aws.config_rule:
    name: test_config_rule
    state: present
    description: 'This AWS Config rule checks for public write access on S3 buckets'
    scope:
        compliance_types:
            - 'AWS::S3::Bucket'
    source:
        owner: AWS
        identifier: 'S3_BUCKET_PUBLIC_WRITE_PROHIBITED'
Search
    ↑ ↓ move↵ openesc close