Interface SubscriptionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, SubscriptionOptions
All Known Implementing Classes:
SubscriptionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:24.046Z") @Stability(Stable) public interface SubscriptionProps extends software.amazon.jsii.JsiiSerializable, SubscriptionOptions
Properties for creating a new subscription.

Example:

 import software.amazon.awscdk.services.kinesisfirehose.alpha.DeliveryStream;
 DeliveryStream stream;
 Topic topic = new Topic(this, "Topic");
 Subscription.Builder.create(this, "Subscription")
         .topic(topic)
         .endpoint(stream.getDeliveryStreamArn())
         .protocol(SubscriptionProtocol.FIREHOSE)
         .subscriptionRoleArn("SAMPLE_ARN")
         .build();