ITopicSubscription

class aws_cdk.aws_sns.ITopicSubscription(*args, **kwds)

Bases: typing_extensions.Protocol

Topic subscription.

Methods

bind(topic)

Returns a configuration used to subscribe to an SNS topic.

Parameters

topic (ITopic) – topic for which subscription will be configured.

Return type

TopicSubscriptionConfig