Interface ITopicSubscription

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ITopicSubscription.Jsii$Default
All Known Implementing Classes:
EmailSubscription, ITopicSubscription.Jsii$Proxy, LambdaSubscription, SmsSubscription, SqsSubscription, UrlSubscription

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:38.187Z") @Stability(Stable) public interface ITopicSubscription extends software.amazon.jsii.JsiiSerializable
Topic subscription.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for ITopicSubscription.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(ITopic topic)
    Returns a configuration used to subscribe to an SNS topic.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • bind

      @Stability(Stable) @NotNull TopicSubscriptionConfig bind(@NotNull ITopic topic)
      Returns a configuration used to subscribe to an SNS topic.

      Parameters:
      topic - topic for which subscription will be configured. This parameter is required.