@Stability(value=Stable) public static final class CfnEventSubscriptionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEventSubscriptionProps>
CfnEventSubscriptionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnEventSubscriptionProps.Builder snsTopicArn(String snsTopicArn)
CfnEventSubscriptionProps.getSnsTopicArn()snsTopicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. This parameter is required.
The ARN is created by Amazon SNS when you create a topic and subscribe to it.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder enabled(Boolean enabled)
CfnEventSubscriptionProps.getEnabled()enabled - Indicates whether to activate the subscription.
If you don't specify this property, AWS CloudFormation activates the subscription.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder enabled(IResolvable enabled)
CfnEventSubscriptionProps.getEnabled()enabled - Indicates whether to activate the subscription.
If you don't specify this property, AWS CloudFormation activates the subscription.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder eventCategories(List<String> eventCategories)
CfnEventSubscriptionProps.getEventCategories()eventCategories - A list of event categories for a source type that you want to subscribe to.
If you don't specify this property, you are notified about all event categories. For more information, see Working with Events and Notifications in the AWS DMS User Guide .this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder sourceIds(List<String> sourceIds)
CfnEventSubscriptionProps.getSourceIds()sourceIds - A list of identifiers for which AWS DMS provides notification events.
If you don't specify a value, notifications are provided for all sources.
If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.
this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder sourceType(String sourceType)
CfnEventSubscriptionProps.getSourceType()sourceType - The type of AWS DMS resource that generates the events.
For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance . If this value isn't specified, all events are returned.
Valid values : replication-instance | replication-task
this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder subscriptionName(String subscriptionName)
CfnEventSubscriptionProps.getSubscriptionName()subscriptionName - The name of the AWS DMS event notification subscription.
This name must be less than 255 characters.this@Stability(value=Stable) public CfnEventSubscriptionProps.Builder tags(List<? extends CfnTag> tags)
CfnEventSubscriptionProps.getTags()tags - One or more tags to be assigned to the event subscription.this@Stability(value=Stable) public CfnEventSubscriptionProps build()
build in interface software.amazon.jsii.Builder<CfnEventSubscriptionProps>CfnEventSubscriptionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.