CfnDeliveryChannelProps Struct
Properties for defining a CfnDeliveryChannel.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as config } from 'aws-cdk-lib';
const cfnDeliveryChannelProps: config.CfnDeliveryChannelProps = {
s3BucketName: 's3BucketName',
// the properties below are optional
configSnapshotDeliveryProperties: {
deliveryFrequency: 'deliveryFrequency',
},
name: 'name',
s3KeyPrefix: 's3KeyPrefix',
s3KmsKeyArn: 's3KmsKeyArn',
snsTopicArn: 'snsTopicArn',
};
Properties
configSnapshotDeliveryPropertiesoptionalIResolvable | CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesPropertyconfig_snapshot_delivery_propertiesoptionaltyping.Union[IResolvable, ConfigSnapshotDeliveryPropertiesProperty]configSnapshotDeliveryPropertiesoptionalIResolvableConfigSnapshotDeliveryPropertiesoptionalIResolvableConfigSnapshotDeliveryPropertiesoptionalinterface{}#notes
If you don't specify a name, CloudFormation generates a unique physical ID and uses that ID for the delivery channel name. For more information, see Name Type .
Updates are not supported. To change the name, you must run two separate updates. In the first update, delete this resource, and then recreate it with a new name in the second update.
notes
If you specify a bucket that belongs to another AWS account , that bucket must have policies that grant access permissions to AWS Config . For more information, see Permissions for the Amazon S3 Bucket in the AWS Config Developer Guide .
s3KeyPrefixoptionalstrings3_key_prefixoptionalstrs3KeyPrefixoptionalStringS3KeyPrefixoptionalstringS3KeyPrefixoptional*string#s3KmsKeyArnoptionalstrings3_kms_key_arnoptionalstrs3KmsKeyArnoptionalStringS3KmsKeyArnoptionalstringS3KmsKeyArnoptional*string#Must belong to the same Region as the destination S3 bucket.
snsTopicArnoptionalstringsns_topic_arnoptionalstrsnsTopicArnoptionalStringSnsTopicArnoptionalstringSnsTopicArnoptional*string#notes
If you choose a topic from another account, the topic must have policies that grant access permissions to AWS Config . For more information, see Permissions for the Amazon SNS Topic in the AWS Config Developer Guide .