@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.348Z") @Stability(value=Experimental) public interface SubscriptionOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
SubscriptionOptions.Builder
A builder for
SubscriptionOptions |
static class |
SubscriptionOptions.Jsii$Proxy
An implementation for
SubscriptionOptions |
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionOptions.Builder |
builder() |
default IQueue |
getDeadLetterQueue()
(experimental) Queue to be used as dead letter queue.
|
String |
getEndpoint()
(experimental) The subscription endpoint.
|
default Map<String,SubscriptionFilter> |
getFilterPolicy()
(experimental) The filter policy.
|
SubscriptionProtocol |
getProtocol()
(experimental) What type of subscription to add.
|
default Boolean |
getRawMessageDelivery()
(experimental) true if raw message delivery is enabled for the subscription.
|
default String |
getRegion()
(experimental) The region where the topic resides, in the case of cross-region subscriptions.
|
@Stability(value=Experimental) @NotNull String getEndpoint()
The meaning of this value depends on the value for 'protocol'.
@Stability(value=Experimental) @NotNull SubscriptionProtocol getProtocol()
@Stability(value=Experimental) @Nullable default IQueue getDeadLetterQueue()
If not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
@Stability(value=Experimental) @Nullable default Map<String,SubscriptionFilter> getFilterPolicy()
Default: - all messages are delivered
@Stability(value=Experimental) @Nullable default Boolean getRawMessageDelivery()
Raw messages are free of JSON formatting and can be sent to HTTP/S and Amazon SQS endpoints. For more information, see GetSubscriptionAttributes in the Amazon Simple Notification Service API Reference.
Default: false
@Stability(value=Experimental) @Nullable default String getRegion()
Default: - the region where the CloudFormation stack is being deployed.
@Stability(value=Experimental) static SubscriptionOptions.Builder builder()
SubscriptionOptions.Builder of SubscriptionOptionsCopyright © 2021. All rights reserved.