class Aws::DatabaseMigrationService::Types::CreateEventSubscriptionMessage
@note When making an API call, you may pass CreateEventSubscriptionMessage
data as a hash: { subscription_name: "String", # required sns_topic_arn: "String", # required source_type: "String", event_categories: ["String"], source_ids: ["String"], enabled: false, tags: [ { key: "String", value: "String", resource_arn: "String", }, ], }
@!attribute [rw] subscription_name
The name of the DMS event notification subscription. This name must be less than 255 characters. @return [String]
@!attribute [rw] sns_topic_arn
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. @return [String]
@!attribute [rw] source_type
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` @return [String]
@!attribute [rw] event_categories
A list of event categories for a source type that you want to subscribe to. For more information, see [Working with Events and Notifications][1] in the *Database Migration Service User Guide.* [1]: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Events.html @return [Array<String>]
@!attribute [rw] source_ids
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. @return [Array<String>]
@!attribute [rw] enabled
A Boolean value; set to `true` to activate the subscription, or set to `false` to create the subscription but not activate it. @return [Boolean]
@!attribute [rw] tags
One or more tags to be assigned to the event subscription. @return [Array<Types::Tag>]
@see docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscriptionMessage AWS API Documentation
Constants
- SENSITIVE