public static final class TopicSubscriptionConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TopicSubscriptionConfig
TopicSubscriptionConfig
TopicSubscriptionConfig.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IQueue |
getDeadLetterQueue()
Queue to be used as dead letter queue.
|
java.lang.String |
getEndpoint()
The subscription endpoint.
|
java.util.Map<java.lang.String,SubscriptionFilter> |
getFilterPolicy()
The filter policy.
|
SubscriptionProtocol |
getProtocol()
What type of subscription to add.
|
java.lang.Boolean |
getRawMessageDelivery()
true if raw message delivery is enabled for the subscription.
|
java.lang.String |
getRegion()
The region where the topic resides, in the case of cross-region subscriptions.
|
java.lang.String |
getSubscriberId()
The id of the SNS subscription resource created under `scope`.
|
Construct |
getSubscriberScope()
The scope in which to create the SNS subscription resource.
|
java.lang.String |
getSubscriptionRoleArn()
Arn of role allowing access to firehose delivery stream.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getSubscriberId()
TopicSubscriptionConfig
In most
cases, it is recommended to use the uniqueId
of the topic you are
subscribing to.
getSubscriberId
in interface TopicSubscriptionConfig
public final Construct getSubscriberScope()
TopicSubscriptionConfig
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.
getSubscriberScope
in interface TopicSubscriptionConfig
public final java.lang.String getEndpoint()
SubscriptionOptions
The meaning of this value depends on the value for 'protocol'.
getEndpoint
in interface SubscriptionOptions
public final SubscriptionProtocol getProtocol()
SubscriptionOptions
getProtocol
in interface SubscriptionOptions
public final IQueue getDeadLetterQueue()
SubscriptionOptions
If not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
getDeadLetterQueue
in interface SubscriptionOptions
public final java.util.Map<java.lang.String,SubscriptionFilter> getFilterPolicy()
SubscriptionOptions
Default: - all messages are delivered
getFilterPolicy
in interface SubscriptionOptions
public final java.lang.Boolean getRawMessageDelivery()
SubscriptionOptions
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
getRawMessageDelivery
in interface SubscriptionOptions
public final java.lang.String getRegion()
SubscriptionOptions
Default: - the region where the CloudFormation stack is being deployed.
getRegion
in interface SubscriptionOptions
public final java.lang.String getSubscriptionRoleArn()
SubscriptionOptions
Required for a firehose subscription protocol.
Default: - No subscription role is provided
getSubscriptionRoleArn
in interface SubscriptionOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()