@Stability(value=Experimental) @Internal public static final class TopicSubscriptionConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TopicSubscriptionConfig
TopicSubscriptionConfigsoftware.amazon.jsii.JsiiObject.InitializationModeTopicSubscriptionConfig.Builder, TopicSubscriptionConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String subscriberId,
software.constructs.Construct subscriberScope,
String endpoint,
SubscriptionProtocol protocol,
IQueue deadLetterQueue,
Map<String,? extends SubscriptionFilter> filterPolicy,
Boolean rawMessageDelivery,
String region)
Constructor that initializes the object based on literal property values passed by the
TopicSubscriptionConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IQueue |
getDeadLetterQueue()
(experimental) Queue to be used as dead letter queue.
|
String |
getEndpoint()
(experimental) The subscription endpoint.
|
Map<String,SubscriptionFilter> |
getFilterPolicy()
(experimental) The filter policy.
|
SubscriptionProtocol |
getProtocol()
(experimental) What type of subscription to add.
|
Boolean |
getRawMessageDelivery()
(experimental) true if raw message delivery is enabled for the subscription.
|
String |
getRegion()
(experimental) The region where the topic resides, in the case of cross-region subscriptions.
|
String |
getSubscriberId()
(experimental) The id of the SNS subscription resource created under `scope`.
|
software.constructs.Construct |
getSubscriberScope()
(experimental) The scope in which to create the SNS subscription resource.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String subscriberId, software.constructs.Construct subscriberScope, String endpoint, SubscriptionProtocol protocol, IQueue deadLetterQueue, Map<String,? extends SubscriptionFilter> filterPolicy, Boolean rawMessageDelivery, String region)
TopicSubscriptionConfig.Builder.public final String getSubscriberId()
TopicSubscriptionConfig
In most
cases, it is recommended to use the uniqueId of the topic you are
subscribing to.
getSubscriberId in interface TopicSubscriptionConfigpublic final software.constructs.Construct getSubscriberScope()
TopicSubscriptionConfigNormally 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.
getSubscriberScope in interface TopicSubscriptionConfigpublic final String getEndpoint()
SubscriptionOptionsThe meaning of this value depends on the value for 'protocol'.
getEndpoint in interface SubscriptionOptionspublic final SubscriptionProtocol getProtocol()
SubscriptionOptionsgetProtocol in interface SubscriptionOptionspublic final IQueue getDeadLetterQueue()
SubscriptionOptionsIf not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
getDeadLetterQueue in interface SubscriptionOptionspublic final Map<String,SubscriptionFilter> getFilterPolicy()
SubscriptionOptionsDefault: - all messages are delivered
getFilterPolicy in interface SubscriptionOptionspublic final Boolean getRawMessageDelivery()
SubscriptionOptionsRaw 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
getRawMessageDelivery in interface SubscriptionOptionspublic final String getRegion()
SubscriptionOptionsDefault: - the region where the CloudFormation stack is being deployed.
getRegion in interface SubscriptionOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.