Class CfnDeliveryChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryChannel>
- Enclosing class:
CfnDeliveryChannel
CfnDeliveryChannel
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configSnapshotDeliveryProperties
(IResolvable configSnapshotDeliveryProperties) The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.configSnapshotDeliveryProperties
(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties) The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.static CfnDeliveryChannel.Builder
A name for the delivery channel.s3BucketName
(String s3BucketName) The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files.s3KeyPrefix
(String s3KeyPrefix) The prefix for the specified Amazon S3 bucket.s3KmsKeyArn
(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 .snsTopicArn
(String snsTopicArn) The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnDeliveryChannel.Builder
.
-
s3BucketName
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 in the AWS Config Developer Guide .
- Parameters:
s3BucketName
- The name of the Amazon S3 bucket to which AWS Config delivers configuration snapshots and configuration history files. This parameter is required.- Returns:
this
-
configSnapshotDeliveryProperties
@Stability(Stable) public CfnDeliveryChannel.Builder configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties) The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.- Parameters:
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. This parameter is required.- Returns:
this
-
configSnapshotDeliveryProperties
@Stability(Stable) public CfnDeliveryChannel.Builder configSnapshotDeliveryProperties(CfnDeliveryChannel.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties) The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.- Parameters:
configSnapshotDeliveryProperties
- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket. This parameter is required.- Returns:
this
-
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.
- Parameters:
name
- A name for the delivery channel. This parameter is required.- Returns:
this
-
s3KeyPrefix
The prefix for the specified Amazon S3 bucket.- Parameters:
s3KeyPrefix
- The prefix for the specified Amazon S3 bucket. This parameter is required.- Returns:
this
-
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.
- Parameters:
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.- Returns:
this
-
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 .
- Parameters:
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to which AWS Config sends notifications about configuration changes. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryChannel>
- Returns:
- a newly built instance of
CfnDeliveryChannel
.
-