Interface CfnTopic.SubscriptionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopic.SubscriptionProperty.Jsii$Proxy
Enclosing class:
CfnTopic

@Stability(Stable) public static interface CfnTopic.SubscriptionProperty extends software.amazon.jsii.JsiiSerializable
Subscription is an embedded property that describes the subscription endpoints of an Amazon SNS topic.

For full control over subscription behavior (for example, delivery policy, filtering, raw message delivery, and cross-region subscriptions), use the AWS::SNS::Subscription resource.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sns.*;
 SubscriptionProperty subscriptionProperty = SubscriptionProperty.builder()
         .endpoint("endpoint")
         .protocol("protocol")
         .build();
 

See Also: