@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:46:42.278Z") @Stability(value=Stable) 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()
Queue to be used as dead letter queue.
|
String |
getEndpoint()
The subscription endpoint.
|
default Map<String,SubscriptionFilter> |
getFilterPolicy()
The filter policy.
|
SubscriptionProtocol |
getProtocol()
What type of subscription to add.
|
default Boolean |
getRawMessageDelivery()
true if raw message delivery is enabled for the subscription.
|
default String |
getRegion()
The region where the topic resides, in the case of cross-region subscriptions.
|
@Stability(value=Stable) @NotNull String getEndpoint()
The meaning of this value depends on the value for 'protocol'.
@Stability(value=Stable) @NotNull SubscriptionProtocol getProtocol()
@Stability(value=Stable) @Nullable default IQueue getDeadLetterQueue()
If not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
@Stability(value=Stable) @Nullable default Map<String,SubscriptionFilter> getFilterPolicy()
Default: - all messages are delivered
@Stability(value=Stable) @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=Stable) @Nullable default String getRegion()
Default: - the region where the CloudFormation stack is being deployed.
@Stability(value=Stable) static SubscriptionOptions.Builder builder()
SubscriptionOptions.Builder of SubscriptionOptionsCopyright © 2021. All rights reserved.