@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.993Z") @Stability(value=Stable) public interface CfnEventSubscriptionProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dms.*;
CfnEventSubscriptionProps cfnEventSubscriptionProps = CfnEventSubscriptionProps.builder()
.snsTopicArn("snsTopicArn")
// the properties below are optional
.enabled(false)
.eventCategories(List.of("eventCategories"))
.sourceIds(List.of("sourceIds"))
.sourceType("sourceType")
.subscriptionName("subscriptionName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEventSubscriptionProps.Builder
A builder for
CfnEventSubscriptionProps |
static class |
CfnEventSubscriptionProps.Jsii$Proxy
An implementation for
CfnEventSubscriptionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEventSubscriptionProps.Builder |
builder() |
default Object |
getEnabled()
Indicates whether to activate the subscription.
|
default List<String> |
getEventCategories()
A list of event categories for a source type that you want to subscribe to.
|
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
|
default List<String> |
getSourceIds()
A list of identifiers for which AWS DMS provides notification events.
|
default String |
getSourceType()
The type of AWS DMS resource that generates the events.
|
default String |
getSubscriptionName()
The name of the AWS DMS event notification subscription.
|
default List<CfnTag> |
getTags()
One or more tags to be assigned to the event subscription.
|
@Stability(value=Stable) @NotNull String getSnsTopicArn()
The ARN is created by Amazon SNS when you create a topic and subscribe to it.
@Stability(value=Stable) @Nullable default Object getEnabled()
If you don't specify this property, AWS CloudFormation activates the subscription.
@Stability(value=Stable) @Nullable default List<String> getEventCategories()
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 .
@Stability(value=Stable) @Nullable default List<String> getSourceIds()
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.
@Stability(value=Stable) @Nullable default String getSourceType()
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
@Stability(value=Stable) @Nullable default String getSubscriptionName()
This name must be less than 255 characters.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnEventSubscriptionProps.Builder builder()
CfnEventSubscriptionProps.Builder of CfnEventSubscriptionPropsCopyright © 2022. All rights reserved.