Class CfnDeliveryChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnDeliveryChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryChannelMixinProps>
- Enclosing interface:
CfnDeliveryChannelMixinProps
@Stability(Stable)
public static final class CfnDeliveryChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryChannelMixinProps>
A builder for
CfnDeliveryChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configSnapshotDeliveryProperties(CfnDeliveryChannelPropsMixin.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties) Sets the value ofCfnDeliveryChannelMixinProps.getConfigSnapshotDeliveryProperties()configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties) Sets the value ofCfnDeliveryChannelMixinProps.getConfigSnapshotDeliveryProperties()Sets the value ofCfnDeliveryChannelMixinProps.getName()s3BucketName(String s3BucketName) Sets the value ofCfnDeliveryChannelMixinProps.getS3BucketName()s3KeyPrefix(String s3KeyPrefix) Sets the value ofCfnDeliveryChannelMixinProps.getS3KeyPrefix()s3KmsKeyArn(String s3KmsKeyArn) Sets the value ofCfnDeliveryChannelMixinProps.getS3KmsKeyArn()snsTopicArn(String snsTopicArn) Sets the value ofCfnDeliveryChannelMixinProps.getSnsTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configSnapshotDeliveryProperties
@Stability(Stable) public CfnDeliveryChannelMixinProps.Builder configSnapshotDeliveryProperties(IResolvable configSnapshotDeliveryProperties) Sets the value ofCfnDeliveryChannelMixinProps.getConfigSnapshotDeliveryProperties()- Parameters:
configSnapshotDeliveryProperties- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.- Returns:
this
-
configSnapshotDeliveryProperties
@Stability(Stable) public CfnDeliveryChannelMixinProps.Builder configSnapshotDeliveryProperties(CfnDeliveryChannelPropsMixin.ConfigSnapshotDeliveryPropertiesProperty configSnapshotDeliveryProperties) Sets the value ofCfnDeliveryChannelMixinProps.getConfigSnapshotDeliveryProperties()- Parameters:
configSnapshotDeliveryProperties- The options for how often AWS Config delivers configuration snapshots to the Amazon S3 bucket.- Returns:
this
-
name
Sets the value ofCfnDeliveryChannelMixinProps.getName()- Parameters:
name- 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 .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.
- Returns:
this
-
s3BucketName
Sets the value ofCfnDeliveryChannelMixinProps.getS3BucketName()- Parameters:
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 .- Returns:
this
-
s3KeyPrefix
Sets the value ofCfnDeliveryChannelMixinProps.getS3KeyPrefix()- Parameters:
s3KeyPrefix- The prefix for the specified Amazon S3 bucket.- Returns:
this
-
s3KmsKeyArn
Sets the value ofCfnDeliveryChannelMixinProps.getS3KmsKeyArn()- Parameters:
s3KmsKeyArn- 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.- Returns:
this
-
snsTopicArn
Sets the value ofCfnDeliveryChannelMixinProps.getSnsTopicArn()- Parameters:
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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryChannelMixinProps>- Returns:
- a new instance of
CfnDeliveryChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-