CfnEventSubscriptionProps

class aws_cdk.aws_dms.CfnEventSubscriptionProps(*, enabled=None, event_categories=None, sns_topic_arn, source_ids=None, source_type=None, subscription_name=None, tags=None)

Bases: object

Properties for defining a AWS::DMS::EventSubscription.

Parameters
  • enabled (Union[bool, IResolvable, None]) – AWS::DMS::EventSubscription.Enabled.

  • event_categories (Optional[Sequence[str]]) – AWS::DMS::EventSubscription.EventCategories.

  • sns_topic_arn (str) – AWS::DMS::EventSubscription.SnsTopicArn.

  • source_ids (Optional[Sequence[str]]) – AWS::DMS::EventSubscription.SourceIds.

  • source_type (Optional[str]) – AWS::DMS::EventSubscription.SourceType.

  • subscription_name (Optional[str]) – AWS::DMS::EventSubscription.SubscriptionName.

  • tags (Optional[Sequence[CfnTag]]) – AWS::DMS::EventSubscription.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_dms as dms

cfn_event_subscription_props = dms.CfnEventSubscriptionProps(
    sns_topic_arn="snsTopicArn",

    # the properties below are optional
    enabled=False,
    event_categories=["eventCategories"],
    source_ids=["sourceIds"],
    source_type="sourceType",
    subscription_name="subscriptionName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

enabled

AWS::DMS::EventSubscription.Enabled.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-enabled

Return type

Union[bool, IResolvable, None]

event_categories

AWS::DMS::EventSubscription.EventCategories.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-eventcategories

Return type

Optional[List[str]]

sns_topic_arn

AWS::DMS::EventSubscription.SnsTopicArn.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-snstopicarn

Return type

str

source_ids

AWS::DMS::EventSubscription.SourceIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-sourceids

Return type

Optional[List[str]]

source_type

AWS::DMS::EventSubscription.SourceType.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-sourcetype

Return type

Optional[str]

subscription_name

AWS::DMS::EventSubscription.SubscriptionName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-subscriptionname

Return type

Optional[str]

tags

AWS::DMS::EventSubscription.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-eventsubscription.html#cfn-dms-eventsubscription-tags

Return type

Optional[List[CfnTag]]