Class TopicSubscriptionConfig.Jsii$Proxy
- All Implemented Interfaces:
SubscriptionOptions,TopicSubscriptionConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
TopicSubscriptionConfig
TopicSubscriptionConfig-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.sns.TopicSubscriptionConfig
TopicSubscriptionConfig.Builder, TopicSubscriptionConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theTopicSubscriptionConfig.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal IQueueQueue to be used as dead letter queue.final DeliveryPolicyThe delivery policy.final StringThe subscription endpoint.final Map<String, SubscriptionFilter> The filter policy.final Map<String, FilterOrPolicy> The filter policy that is applied on the message body.final SubscriptionProtocolWhat type of subscription to add.final Booleantrue if raw message delivery is enabled for the subscription.final StringThe region where the topic resides, in the case of cross-region subscriptions.final StringThe id of the SNS subscription resource created underscope.final software.constructs.ConstructThe scope in which to create the SNS subscription resource.final software.constructs.IDependableThe resources that need to be created before the subscription can be safely created.final StringArn of role allowing access to firehose delivery stream.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theTopicSubscriptionConfig.Builder.
-
-
Method Details
-
getSubscriberId
Description copied from interface:TopicSubscriptionConfigThe id of the SNS subscription resource created underscope.In most cases, it is recommended to use the
uniqueIdof the topic you are subscribing to.- Specified by:
getSubscriberIdin interfaceTopicSubscriptionConfig
-
getSubscriberScope
public final software.constructs.Construct getSubscriberScope()Description copied from interface:TopicSubscriptionConfigThe scope in which to create the SNS subscription resource.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.
- Specified by:
getSubscriberScopein interfaceTopicSubscriptionConfig
-
getSubscriptionDependency
public final software.constructs.IDependable getSubscriptionDependency()Description copied from interface:TopicSubscriptionConfigThe resources that need to be created before the subscription can be safely created.For example for SQS subscription, the subscription needs to have a dependency on the SQS queue policy in order for the subscription to successfully deliver messages.
Default: - empty list
- Specified by:
getSubscriptionDependencyin interfaceTopicSubscriptionConfig
-
getEndpoint
Description copied from interface:SubscriptionOptionsThe subscription endpoint.The meaning of this value depends on the value for 'protocol'.
- Specified by:
getEndpointin interfaceSubscriptionOptions
-
getProtocol
Description copied from interface:SubscriptionOptionsWhat type of subscription to add.- Specified by:
getProtocolin interfaceSubscriptionOptions
-
getDeadLetterQueue
Description copied from interface:SubscriptionOptionsQueue to be used as dead letter queue.If not passed no dead letter queue is enabled.
Default: - No dead letter queue enabled.
- Specified by:
getDeadLetterQueuein interfaceSubscriptionOptions
-
getDeliveryPolicy
Description copied from interface:SubscriptionOptionsThe delivery policy.Default: - if the initial delivery of the message fails, three retries with a delay between failed attempts set at 20 seconds
- Specified by:
getDeliveryPolicyin interfaceSubscriptionOptions
-
getFilterPolicy
Description copied from interface:SubscriptionOptionsThe filter policy.Default: - all messages are delivered
- Specified by:
getFilterPolicyin interfaceSubscriptionOptions
-
getFilterPolicyWithMessageBody
Description copied from interface:SubscriptionOptionsThe filter policy that is applied on the message body.To apply a filter policy to the message attributes, use
filterPolicy. A maximum of one offilterPolicyWithMessageBodyandfilterPolicymay be used.Default: - all messages are delivered
- Specified by:
getFilterPolicyWithMessageBodyin interfaceSubscriptionOptions
-
getRawMessageDelivery
Description copied from interface:SubscriptionOptionstrue if raw message delivery is enabled for the subscription.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
- Specified by:
getRawMessageDeliveryin interfaceSubscriptionOptions
-
getRegion
Description copied from interface:SubscriptionOptionsThe region where the topic resides, in the case of cross-region subscriptions.Default: - the region where the CloudFormation stack is being deployed.
- Specified by:
getRegionin interfaceSubscriptionOptions
-
getSubscriptionRoleArn
Description copied from interface:SubscriptionOptionsArn of role allowing access to firehose delivery stream.Required for a firehose subscription protocol.
Default: - No subscription role is provided
- Specified by:
getSubscriptionRoleArnin interfaceSubscriptionOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-