Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.Before you can create a delivery channel, you must create a configuration recorder.You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/' \
--header'X-Amz-Target;' \
--header'Content-Type: application/json' \
--data-raw''
Response Response Example
200 - Example 1
{}
Request
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json
The input for the <a>PutDeliveryChannel</a> action.
DeliveryChannel
objectÂ
required
The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
name
stringÂ
optional
The name of the delivery channel. By default, Config assigns the name "default" when creating the delivery channel. To change the delivery channel name, you must use the DeleteDeliveryChannel action to delete your current delivery channel, and then you must use the PutDeliveryChannel command to create a delivery channel that has the desired name.
>= 1 characters<= 256 characters
s3BucketName
stringÂ
optional
The name of the Amazon S3 bucket to which Config delivers configuration snapshots and configuration history files.If you specify a bucket that belongs to another Amazon Web Services account, that bucket must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon S3 Bucket in the Config Developer Guide.
s3KeyPrefix
stringÂ
optional
The prefix for the specified Amazon S3 bucket.
s3KmsKeyArn
stringÂ
optional
The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key (KMS key) used to encrypt objects delivered by Config. Must belong to the same Region as the destination S3 bucket.
snsTopicARN
stringÂ
optional
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends notifications about configuration changes.If you choose a topic from another account, the topic must have policies that grant access permissions to Config. For more information, see Permissions for the Amazon SNS Topic in the Config Developer Guide.
configSnapshotDeliveryProperties
objectÂ
optional
The options for how often Config delivers configuration snapshots to the Amazon S3 bucket.