Skip to content
v2.278.0

CfnDeliveryChannelProps Struct ​

Properties for defining a CfnDeliveryChannel.

Example ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_config as config

cfn_delivery_channel_props = config.CfnDeliveryChannelProps(
    s3_bucket_name="s3BucketName",

    # the properties below are optional
    config_snapshot_delivery_properties=config.CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty(
        delivery_frequency="deliveryFrequency"
    ),
    name="name",
    s3_key_prefix="s3KeyPrefix",
    s3_kms_key_arn="s3KmsKeyArn",
    sns_topic_arn="snsTopicArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.config.*;

CfnDeliveryChannelProps cfnDeliveryChannelProps = CfnDeliveryChannelProps.builder()
        .s3BucketName("s3BucketName")

        // the properties below are optional
        .configSnapshotDeliveryProperties(ConfigSnapshotDeliveryPropertiesProperty.builder()
                .deliveryFrequency("deliveryFrequency")
                .build())
        .name("name")
        .s3KeyPrefix("s3KeyPrefix")
        .s3KmsKeyArn("s3KmsKeyArn")
        .snsTopicArn("snsTopicArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Config;

var cfnDeliveryChannelProps = new CfnDeliveryChannelProps {
    S3BucketName = "s3BucketName",

    // the properties below are optional
    ConfigSnapshotDeliveryProperties = new ConfigSnapshotDeliveryPropertiesProperty {
        DeliveryFrequency = "deliveryFrequency"
    },
    Name = "name",
    S3KeyPrefix = "s3KeyPrefix",
    S3KmsKeyArn = "s3KmsKeyArn",
    SnsTopicArn = "snsTopicArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnDeliveryChannelProps := &CfnDeliveryChannelProps{
	S3BucketName: jsii.String("s3BucketName"),

	// the properties below are optional
	ConfigSnapshotDeliveryProperties: &ConfigSnapshotDeliveryPropertiesProperty{
		DeliveryFrequency: jsii.String("deliveryFrequency"),
	},
	Name: jsii.String("name"),
	S3KeyPrefix: jsii.String("s3KeyPrefix"),
	S3KmsKeyArn: jsii.String("s3KmsKeyArn"),
	SnsTopicArn: jsii.String("snsTopicArn"),
}

Properties ​

configSnapshotDeliveryPropertiesoptionalIResolvable | CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesPropertyconfig_snapshot_delivery_propertiesoptionaltyping.Union[IResolvable, ConfigSnapshotDeliveryPropertiesProperty]configSnapshotDeliveryPropertiesoptionalIResolvableConfigSnapshotDeliveryPropertiesoptionalIResolvableConfigSnapshotDeliveryPropertiesoptionalinterface{} #
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string #
A name for the delivery channel.
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.

s3BucketNamestrings3_bucket_namestrs3BucketNameStringS3BucketNamestringS3BucketName*string required #
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.
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 #
The prefix for the specified Amazon S3 bucket.
s3KmsKeyArnoptionalstrings3_kms_key_arnoptionalstrs3KmsKeyArnoptionalStringS3KmsKeyArnoptionalstringS3KmsKeyArnoptional*string #
The Amazon Resource Name (ARN) of the AWS Key Management Service ( AWS ) AWS KMS key (KMS key) used to encrypt objects delivered by AWS Config .

Must belong to the same Region as the destination S3 bucket.

snsTopicArnoptionalstringsns_topic_arnoptionalstrsnsTopicArnoptionalStringSnsTopicArnoptionalstringSnsTopicArnoptional*string #
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
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 .