ITopicSubscription

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

Bases: 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