Class CfnEventSubscriptionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSubscriptionPropsMixin>
- Enclosing class:
CfnEventSubscriptionPropsMixin
CfnEventSubscriptionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) Indicates whether to activate the subscription.enabled(IResolvable enabled) Indicates whether to activate the subscription.eventCategories(List<String> eventCategories) A list of event categories for a source type that you want to subscribe to.snsTopicArn(String snsTopicArn) The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.A list of identifiers for which AWS DMS provides notification events.sourceType(String sourceType) The type of AWS DMS resource that generates the events.subscriptionName(String subscriptionName) The name of the AWS DMS event notification subscription.One or more tags to be assigned to the event subscription.
-
Method Details
-
create
@Stability(Stable) public static CfnEventSubscriptionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEventSubscriptionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEventSubscriptionPropsMixin.Builder.
-
enabled
Indicates whether to activate the subscription.If you don't specify this property, CloudFormation activates the subscription.
- Parameters:
enabled- Indicates whether to activate the subscription. This parameter is required.- Returns:
this- See Also:
-
enabled
Indicates whether to activate the subscription.If you don't specify this property, CloudFormation activates the subscription.
- Parameters:
enabled- Indicates whether to activate the subscription. This parameter is required.- Returns:
this- See Also:
-
eventCategories
@Stability(Stable) public CfnEventSubscriptionPropsMixin.Builder eventCategories(List<String> 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 .
- Parameters:
eventCategories- A list of event categories for a source type that you want to subscribe to. This parameter is required.- Returns:
this- See Also:
-
snsTopicArn
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.The ARN is created by Amazon SNS when you create a topic and subscribe to it.
- Parameters:
snsTopicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
sourceIds- A list of identifiers for which AWS DMS provides notification events. This parameter is required.- Returns:
this- See Also:
-
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- Parameters:
sourceType- The type of AWS DMS resource that generates the events. This parameter is required.- Returns:
this- See Also:
-
subscriptionName
@Stability(Stable) public CfnEventSubscriptionPropsMixin.Builder subscriptionName(String subscriptionName) The name of the AWS DMS event notification subscription.This name must be less than 255 characters.
- Parameters:
subscriptionName- The name of the AWS DMS event notification subscription. This parameter is required.- Returns:
this- See Also:
-
tags
One or more tags to be assigned to the event subscription.- Parameters:
tags- One or more tags to be assigned to the event subscription. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSubscriptionPropsMixin>- Returns:
- a newly built instance of
CfnEventSubscriptionPropsMixin.
-