Class SubscriptionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.sns.SubscriptionProps.Jsii$Proxy
All Implemented Interfaces:
SubscriptionOptions, SubscriptionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
SubscriptionProps

@Stability(Stable) @Internal public static final class SubscriptionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SubscriptionProps
An implementation for SubscriptionProps
  • 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

      protected Jsii$Proxy(SubscriptionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the SubscriptionProps.Builder.
  • Method Details

    • getTopic

      public final ITopic getTopic()
      Description copied from interface: SubscriptionProps
      The topic to subscribe to.
      Specified by:
      getTopic in interface SubscriptionProps
    • getEndpoint

      public final String getEndpoint()
      Description copied from interface: SubscriptionOptions
      The subscription endpoint.

      The meaning of this value depends on the value for 'protocol'.

      Specified by:
      getEndpoint in interface SubscriptionOptions
    • getProtocol

      public final SubscriptionProtocol getProtocol()
      Description copied from interface: SubscriptionOptions
      What type of subscription to add.
      Specified by:
      getProtocol in interface SubscriptionOptions
    • getDeadLetterQueue

      public final IQueue getDeadLetterQueue()
      Description copied from interface: SubscriptionOptions
      Queue to be used as dead letter queue.

      If not passed no dead letter queue is enabled.

      Default: - No dead letter queue enabled.

      Specified by:
      getDeadLetterQueue in interface SubscriptionOptions
    • getFilterPolicy

      public final Map<String,SubscriptionFilter> getFilterPolicy()
      Description copied from interface: SubscriptionOptions
      The filter policy.

      Default: - all messages are delivered

      Specified by:
      getFilterPolicy in interface SubscriptionOptions
    • getFilterPolicyWithMessageBody

      public final Map<String,FilterOrPolicy> getFilterPolicyWithMessageBody()
      Description copied from interface: SubscriptionOptions
      The filter policy that is applied on the message body.

      To apply a filter policy to the message attributes, use filterPolicy. A maximum of one of filterPolicyWithMessageBody and filterPolicy may be used.

      Default: - all messages are delivered

      Specified by:
      getFilterPolicyWithMessageBody in interface SubscriptionOptions
    • getRawMessageDelivery

      public final Boolean getRawMessageDelivery()
      Description copied from interface: SubscriptionOptions
      true 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:
      getRawMessageDelivery in interface SubscriptionOptions
    • getRegion

      public final String getRegion()
      Description copied from interface: SubscriptionOptions
      The region where the topic resides, in the case of cross-region subscriptions.

      Default: - the region where the CloudFormation stack is being deployed.

      Specified by:
      getRegion in interface SubscriptionOptions
    • getSubscriptionRoleArn

      public final String getSubscriptionRoleArn()
      Description copied from interface: SubscriptionOptions
      Arn of role allowing access to firehose delivery stream.

      Required for a firehose subscription protocol.

      Default: - No subscription role is provided

      Specified by:
      getSubscriptionRoleArn in interface SubscriptionOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object