interface CfnEventSubscriptionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DMS.Mixins.CfnEventSubscriptionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdms/mixins#CfnEventSubscriptionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.dms.mixins.CfnEventSubscriptionMixinProps |
Python | aws_cdk.mixins_preview.aws_dms.mixins.CfnEventSubscriptionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_dms » mixins » CfnEventSubscriptionMixinProps |
Properties for CfnEventSubscriptionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as dms_mixins } from '@aws-cdk/mixins-preview/aws-dms';
const cfnEventSubscriptionMixinProps: dms_mixins.CfnEventSubscriptionMixinProps = {
enabled: false,
eventCategories: ['eventCategories'],
snsTopicArn: 'snsTopicArn',
sourceIds: ['sourceIds'],
sourceType: 'sourceType',
subscriptionName: 'subscriptionName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| enabled? | boolean | IResolvable | Indicates whether to activate the subscription. |
| event | string[] | A list of event categories for a source type that you want to subscribe to. |
| sns | string | The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. |
| source | string[] | A list of identifiers for which AWS DMS provides notification events. |
| source | string | The type of AWS DMS resource that generates the events. |
| subscription | string | The name of the AWS DMS event notification subscription. |
| tags? | Cfn[] | One or more tags to be assigned to the event subscription. |
enabled?
Type:
boolean | IResolvable
(optional)
Indicates whether to activate the subscription.
If you don't specify this property, CloudFormation activates the subscription.
eventCategories?
Type:
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. For more information, see Working with Events and Notifications in the AWS DMS User Guide .
snsTopicArn?
Type:
string
(optional)
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.
sourceIds?
Type:
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?
Type:
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.
Valid values : replication-instance | replication-task
subscriptionName?
Type:
string
(optional)
The name of the AWS DMS event notification subscription.
This name must be less than 255 characters.
tags?
Type:
Cfn[]
(optional)
One or more tags to be assigned to the event subscription.

.NET
Go
Java
Python
TypeScript