CreateEventSubscriptionMessage
¶
Source code in docs_src/capo_database_migration_service/types/create_event_subscription_message.py
enabled
instance-attribute
¶
enabled: NotRequired[BooleanOptional]
A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.
event_categories
instance-attribute
¶
event_categories: NotRequired[EventCategoriesList]
A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the Database Migration Service User Guide.
sns_topic_arn
instance-attribute
¶
sns_topic_arn: String
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.
source_ids
instance-attribute
¶
source_ids: NotRequired[SourceIdsList]
A list of identifiers for which 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.
source_type
instance-attribute
¶
source_type: NotRequired[String]
The type of 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