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.103.1 (build bef2dea)", date="2024-10-25T14:21:24.041Z") @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.