---
type: resource-type
title: DMSEventSubscription
description: aws resource type AWS::DMS::EventSubscription
name: DMSEventSubscription
lexicon: aws
resource_type: AWS::DMS::EventSubscription
---
`AWS::DMS::EventSubscription`, a resource type of the aws lexicon.

## Properties

- `SnsTopicArn` (`string`, required): 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.
- `Enabled` (`boolean`, optional): Indicates whether to activate the subscription. If you don't specify this property, CloudFormation activates the subscription.
- `EventCategories` (`string[]`, optional): 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.
- `SourceIds` (`string[]`, optional): 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.
- `SourceType` (`string`, optional): 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.
- `SubscriptionName` (`string`, optional): The name of the AWS DMS event notification subscription. This name must be less than 255 characters.
- `Tags` (`DMSEventSubscription_Tag[]`, optional): One or more tags to be assigned to the event subscription.
