@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.351Z") @Stability(value=Experimental) public interface TopicSubscriptionConfig extends software.amazon.jsii.JsiiSerializable, SubscriptionOptions
| Modifier and Type | Interface and Description |
|---|---|
static class |
TopicSubscriptionConfig.Builder
A builder for
TopicSubscriptionConfig |
static class |
TopicSubscriptionConfig.Jsii$Proxy
An implementation for
TopicSubscriptionConfig |
| Modifier and Type | Method and Description |
|---|---|
static TopicSubscriptionConfig.Builder |
builder() |
String |
getSubscriberId()
(experimental) The id of the SNS subscription resource created under `scope`.
|
default software.constructs.Construct |
getSubscriberScope()
(experimental) The scope in which to create the SNS subscription resource.
|
getDeadLetterQueue, getEndpoint, getFilterPolicy, getProtocol, getRawMessageDelivery, getRegion@Stability(value=Experimental) @NotNull String getSubscriberId()
In most
cases, it is recommended to use the uniqueId of the topic you are
subscribing to.
@Stability(value=Experimental) @Nullable default software.constructs.Construct getSubscriberScope()
Normally you'd want the subscription to be created on the consuming stack because the topic is usually referenced by the consumer's resource policy (e.g. SQS queue policy). Otherwise, it will cause a cyclic reference.
If this is undefined, the subscription will be created on the topic's stack.
Default: - use the topic as the scope of the subscription, in which case `subscriberId` must be defined.
@Stability(value=Experimental) static TopicSubscriptionConfig.Builder builder()
builder in interface SubscriptionOptionsTopicSubscriptionConfig.Builder of TopicSubscriptionConfigCopyright © 2021. All rights reserved.