# CfnDeliveryChannelProps

Struct · External

Properties for defining a `CfnDeliveryChannel`.

Used as props by: [CfnDeliveryChannel](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnDeliveryChannel.html)

- Source: Generated at build time

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `configSnapshotDeliveryProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_config.CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.html) — The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.

- `name`: string — A name for the delivery channel.

  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-name.html) .

  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.

- `s3BucketName`: string (required) — The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.

  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](https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-policy.html) in the *AWS Config Developer Guide* .

- `s3KeyPrefix`: string — The prefix for the specified Amazon S3 bucket.

- `s3KmsKeyArn`: 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.

- `snsTopicArn`: string — The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.

  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](https://docs.aws.amazon.com/config/latest/developerguide/sns-topic-policy.html) in the *AWS Config Developer Guide* .
