public static final class CfnDeliveryChannelProps.Builder
extends java.lang.Object
CfnDeliveryChannelProps
Constructor and Description |
---|
Builder() |
public CfnDeliveryChannelProps.Builder s3BucketName(java.lang.String s3BucketName)
CfnDeliveryChannelProps.getS3BucketName()
s3BucketName
- The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. This parameter is required.
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 .this
public CfnDeliveryChannelProps.Builder configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties)
CfnDeliveryChannelProps.getConfigSnapshotDeliveryProperties()
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.this
public CfnDeliveryChannelProps.Builder configSnapshotDeliveryProperties(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties)
CfnDeliveryChannelProps.getConfigSnapshotDeliveryProperties()
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.this
public CfnDeliveryChannelProps.Builder name(java.lang.String name)
CfnDeliveryChannelProps.getName()
name
- A name for the delivery channel.
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.
this
public CfnDeliveryChannelProps.Builder s3KeyPrefix(java.lang.String s3KeyPrefix)
CfnDeliveryChannelProps.getS3KeyPrefix()
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket.this
public CfnDeliveryChannelProps.Builder s3KmsKeyArn(java.lang.String s3KmsKeyArn)
CfnDeliveryChannelProps.getS3KmsKeyArn()
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 .
Must belong to the same Region as the destination S3 bucket.this
public CfnDeliveryChannelProps.Builder snsTopicArn(java.lang.String snsTopicArn)
CfnDeliveryChannelProps.getSnsTopicArn()
snsTopicArn
- 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 in the AWS Config Developer Guide .this
public CfnDeliveryChannelProps build()
CfnDeliveryChannelProps
java.lang.NullPointerException
- if any required attribute was not provided