CmdID

CmdID / aws / aws dms

aws dms create-event-subscription

Creates an DMS event notification subscription. AWS CLI reference

1 example 7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list event subscriptions

The following create-event-subscription example creates an event subscription to an Amazon SNS topic (my-sns-topic).

aws dms create-event-subscription --subscription-name my-dms-events --sns-topic-arn arn:aws:sns:us-west-2:123456789012:my-sns-topicIdentify
--subscription-nameThe name of the DMS event notification subscription.
--sns-topic-arnThe Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
Its output
{
    "EventSubscription": {
        "CustomerAwsId": "123456789012",
        "CustSubscriptionId": "my-dms-events",
        "SnsTopicArn": "arn:aws:sns:us-west-2:123456789012:my-sns-topic",
        "Status": "creating",
        "SubscriptionCreationTime": "2020-05-21 21:58:38.598",
        "Enabled": true
    }
}

For more information, see Working with Events and Notifications in the AWS Database Migration Service User Guide.

Options

7 in the AWS CLI reference
--enabledA Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.
--event-categoriesA list of event categories for a source type that you want to subscribe to.
--sns-topic-arnThe Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification.
--source-idsA list of identifiers for which DMS provides notification events.
--source-typeThe type of DMS resource that generates the events.
--subscription-nameThe name of the DMS event notification subscription.
--tagsOne or more tags to be assigned to the event subscription.