config_delivery_channel
Manage AWS Config delivery channels
Collection: community.aws
Full Name: community.aws.config_delivery_channel
Synopsis
Manage AWS Config delivery channels
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_key | str | |||
| aws_ca_bundle | path | |||
| aws_config | dict | |||
| debug_botocore_endpoint_logs | bool | false | ||
| delivery_frequency | str | |||
| endpoint_url | str | |||
| kms_key_arn | str | |||
| name | str | yes | ||
| profile | str | |||
| region | str | |||
| s3_bucket | str | yes | ||
| s3_prefix | str | |||
| secret_key | str | |||
| session_token | str | |||
| sns_topic_arn | str | |||
| state | str | present | ||
| validate_certs | bool | true |
Example
yaml
- name: Create a delivery channel for AWS Config
community.aws.config_delivery_channel:
name: test_delivery_channel
state: present
s3_bucket: 'test_aws_config_bucket'
sns_topic_arn: 'arn:aws:sns:us-east-1:123456789012:aws_config_topic:1234ab56-cdef-7g89-01hi-2jk34l5m67no'
delivery_frequency: 'Twelve_Hours'
- name: Create a delivery channel with encrypted objects
community.aws.config_delivery_channel:
name: test_delivery_channel
state: present
s3_bucket: 'test_aws_config_bucket'
kms_key_arn: 'arn:aws:kms:us-east-1:123456789012:key/160f41cb-e660-4fa0-8bf6-976f53bf7851'
sns_topic_arn: 'arn:aws:sns:us-east-1:123456789012:aws_config_topic:1234ab56-cdef-7g89-01hi-2jk34l5m67no'
delivery_frequency: 'Twelve_Hours'