@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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(SubscriptionProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
SubscriptionProps.Builder. |
| 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.
|
String |
getSubscriptionRoleArn()
Arn of role allowing access to firehose delivery stream.
|
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(SubscriptionProps.Builder builder)
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 SubscriptionOptionspublic final String getSubscriptionRoleArn()
SubscriptionOptionsRequired for a firehose subscription protocol.
Default: - No subscription role is provided
getSubscriptionRoleArn in interface SubscriptionOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.