public static final class CfnDeliveryChannel.Builder
extends java.lang.Object
CfnDeliveryChannel
.Modifier and Type | Method and Description |
---|---|
CfnDeliveryChannel |
build() |
CfnDeliveryChannel.Builder |
configSnapshotDeliveryProperties(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
|
CfnDeliveryChannel.Builder |
configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties)
The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.
|
static CfnDeliveryChannel.Builder |
create(Construct scope,
java.lang.String id) |
CfnDeliveryChannel.Builder |
name(java.lang.String name)
A name for the delivery channel.
|
CfnDeliveryChannel.Builder |
s3BucketName(java.lang.String s3BucketName)
The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.
|
CfnDeliveryChannel.Builder |
s3KeyPrefix(java.lang.String s3KeyPrefix)
The prefix for the specified Amazon S3 bucket.
|
CfnDeliveryChannel.Builder |
s3KmsKeyArn(java.lang.String s3KmsKeyArn)
The Amazon Resource Name (ARN) of the AWS Key Management Service ( AWS KMS ) AWS KMS key (KMS key) used to encrypt objects delivered by AWS Config .
|
CfnDeliveryChannel.Builder |
snsTopicArn(java.lang.String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
|
public static CfnDeliveryChannel.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty.Builder
.public CfnDeliveryChannel.Builder s3BucketName(java.lang.String s3BucketName)
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 .
s3BucketName
- The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. This parameter is required.this
public CfnDeliveryChannel.Builder configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties)
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. This parameter is required.this
public CfnDeliveryChannel.Builder configSnapshotDeliveryProperties(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties)
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. This parameter is required.this
public CfnDeliveryChannel.Builder name(java.lang.String name)
If you don't specify a name, AWS 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.
name
- A name for the delivery channel. This parameter is required.this
public CfnDeliveryChannel.Builder s3KeyPrefix(java.lang.String s3KeyPrefix)
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket. This parameter is required.this
public CfnDeliveryChannel.Builder s3KmsKeyArn(java.lang.String s3KmsKeyArn)
Must belong to the same Region as the destination S3 bucket.
s3KmsKeyArn
- The Amazon Resource Name (ARN) of the AWS Key Management Service ( AWS KMS ) AWS KMS key (KMS key) used to encrypt objects delivered by AWS Config . This parameter is required.this
public CfnDeliveryChannel.Builder snsTopicArn(java.lang.String snsTopicArn)
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 .
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes. This parameter is required.this
public CfnDeliveryChannel build()