@Stability(value=Stable) @Internal public static final class SubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SubscriptionProps
SubscriptionPropssoftware.amazon.jsii.JsiiObject.InitializationModeSubscriptionProps.Builder, SubscriptionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(ITopic topic,
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
SubscriptionProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IQueue |
getDeadLetterQueue()
Queue to be used as dead letter queue.
|
String |
getEndpoint()
The subscription endpoint.
|
Map<String,SubscriptionFilter> |
getFilterPolicy()
The filter policy.
|
SubscriptionProtocol |
getProtocol()
What type of subscription to add.
|
Boolean |
getRawMessageDelivery()
true if raw message delivery is enabled for the subscription.
|
String |
getRegion()
The region where the topic resides, in the case of cross-region subscriptions.
|
ITopic |
getTopic()
The topic to subscribe to.
|
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(ITopic topic, String endpoint, SubscriptionProtocol protocol, IQueue deadLetterQueue, Map<String,? extends SubscriptionFilter> filterPolicy, Boolean rawMessageDelivery, String region)
SubscriptionProps.Builder.public final ITopic getTopic()
SubscriptionPropsgetTopic in interface SubscriptionPropspublic 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.