Class TopicProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class TopicProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TopicProps
An implementation for TopicProps
  • 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(TopicProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TopicProps.Builder.
  • Method Details

    • getContentBasedDeduplication

      public final Boolean getContentBasedDeduplication()
      Description copied from interface: TopicProps
      Enables content-based deduplication for FIFO topics.

      Default: None

      Specified by:
      getContentBasedDeduplication in interface TopicProps
    • getDisplayName

      public final String getDisplayName()
      Description copied from interface: TopicProps
      A developer-defined string that can be used to identify this SNS topic.

      Default: None

      Specified by:
      getDisplayName in interface TopicProps
    • getEnforceSSL

      public final Boolean getEnforceSSL()
      Description copied from interface: TopicProps
      Adds a statement to enforce encryption of data in transit when publishing to the topic.

      For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-security-best-practices.html#enforce-encryption-data-in-transit.

      Default: false

      Specified by:
      getEnforceSSL in interface TopicProps
    • getFifo

      public final Boolean getFifo()
      Description copied from interface: TopicProps
      Set to true to create a FIFO topic.

      Default: None

      Specified by:
      getFifo in interface TopicProps
    • getLoggingConfigs

      public final List<LoggingConfig> getLoggingConfigs()
      Description copied from interface: TopicProps
      The list of delivery status logging configurations for the topic.

      For more information, see https://docs.aws.amazon.com/sns/latest/dg/sns-topic-attributes.html.

      Default: None

      Specified by:
      getLoggingConfigs in interface TopicProps
    • getMasterKey

      public final IKey getMasterKey()
      Description copied from interface: TopicProps
      A KMS Key, either managed by this CDK app, or imported.

      Default: None

      Specified by:
      getMasterKey in interface TopicProps
    • getMessageRetentionPeriodInDays

      public final Number getMessageRetentionPeriodInDays()
      Description copied from interface: TopicProps
      The number of days Amazon SNS retains messages.

      It can only be set for FIFO topics.

      Default: - do not archive messages

      Specified by:
      getMessageRetentionPeriodInDays in interface TopicProps
      See Also:
    • getTopicName

      public final String getTopicName()
      Description copied from interface: TopicProps
      A name for the topic.

      If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the topic name. For more information, see Name Type.

      Default: Generated name

      Specified by:
      getTopicName in interface TopicProps
    • $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