@Stability(value=Stable) @Internal public static final class CfnSubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSubscriptionProps
CfnSubscriptionPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnSubscriptionProps.Builder, CfnSubscriptionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnSubscriptionProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnSubscriptionProps.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) |
Object |
getDeliveryPolicy()
The delivery policy JSON assigned to the subscription.
|
String |
getEndpoint()
The subscription's endpoint.
|
Object |
getFilterPolicy()
The filter policy JSON assigned to the subscription.
|
String |
getProtocol()
The subscription's protocol.
|
Object |
getRawMessageDelivery()
When set to `true` , enables raw message delivery.
|
Object |
getRedrivePolicy()
When specified, sends undeliverable messages to the specified Amazon SQS dead-letter queue.
|
String |
getRegion()
For cross-region subscriptions, the region in which the topic resides.
|
String |
getSubscriptionRoleArn()
This property applies only to Amazon Kinesis Data Firehose delivery stream subscriptions.
|
String |
getTopicArn()
The ARN of 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(CfnSubscriptionProps.Builder builder)
CfnSubscriptionProps.Builder.public final String getProtocol()
CfnSubscriptionProps
For more information, see the Protocol parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .
getProtocol in interface CfnSubscriptionPropspublic final String getTopicArn()
CfnSubscriptionPropsgetTopicArn in interface CfnSubscriptionPropspublic final Object getDeliveryPolicy()
CfnSubscriptionProps
Enables the subscriber to define the message delivery retry strategy in the case of an HTTP/S endpoint subscribed to the topic. For more information, see [GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html) in the Amazon SNS API Reference and Message delivery retries in the Amazon SNS Developer Guide .
getDeliveryPolicy in interface CfnSubscriptionPropspublic final String getEndpoint()
CfnSubscriptionProps
The endpoint value depends on the protocol that you specify. For more information, see the Endpoint parameter of the [Subscribe](https://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html) action in the Amazon SNS API Reference .
getEndpoint in interface CfnSubscriptionPropspublic final Object getFilterPolicy()
CfnSubscriptionProps
Enables the subscriber to filter out unwanted messages. For more information, see [GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html) in the Amazon SNS API Reference and Message filtering in the Amazon SNS Developer Guide .
getFilterPolicy in interface CfnSubscriptionPropspublic final Object getRawMessageDelivery()
CfnSubscriptionProps
Raw messages don't contain any JSON formatting and can be sent to Amazon SQS and HTTP/S endpoints. For more information, see [GetSubscriptionAttributes](https://docs.aws.amazon.com/sns/latest/api/API_GetSubscriptionAttributes.html) in the Amazon SNS API Reference .
getRawMessageDelivery in interface CfnSubscriptionPropspublic final Object getRedrivePolicy()
CfnSubscriptionPropsMessages that can't be delivered due to client errors (for example, when the subscribed endpoint is unreachable) or server errors (for example, when the service that powers the subscribed endpoint becomes unavailable) are held in the dead-letter queue for further analysis or reprocessing.
For more information about the redrive policy and dead-letter queues, see Amazon SQS dead-letter queues in the Amazon SQS Developer Guide .
getRedrivePolicy in interface CfnSubscriptionPropspublic final String getRegion()
CfnSubscriptionPropsIf no region is specified, AWS CloudFormation uses the region of the caller as the default.
If you perform an update operation that only updates the Region property of a AWS::SNS::Subscription resource, that operation will fail unless you are either:
Region from NULL to the caller region.Region from the caller region to NULL .getRegion in interface CfnSubscriptionPropspublic final String getSubscriptionRoleArn()
CfnSubscriptionPropsSpecify the ARN of the IAM role that has the following:
Specifying a valid ARN for this attribute is required for Kinesis Data Firehose delivery stream subscriptions. For more information, see Fanout to Amazon Kinesis Data Firehose delivery streams in the Amazon SNS Developer Guide.
getSubscriptionRoleArn in interface CfnSubscriptionProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.