Class CfnTopicPolicyProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnTopicPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnTopicPolicyProps
An implementation for CfnTopicPolicyProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.sns.CfnTopicPolicyProps

    CfnTopicPolicyProps.Builder, CfnTopicPolicyProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnTopicPolicyProps.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Object
    A policy document that contains permissions to add to the specified SNS topics.
    final List<String>
    The Amazon Resource Names (ARN) of the topics to which you want to add the policy.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(CfnTopicPolicyProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnTopicPolicyProps.Builder.
  • Method Details

    • getPolicyDocument

      public final Object getPolicyDocument()
      Description copied from interface: CfnTopicPolicyProps
      A policy document that contains permissions to add to the specified SNS topics.
      Specified by:
      getPolicyDocument in interface CfnTopicPolicyProps
    • getTopics

      public final List<String> getTopics()
      Description copied from interface: CfnTopicPolicyProps
      The Amazon Resource Names (ARN) of the topics to which you want to add the policy.

      You can use the [Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html) function to specify an [AWS::SNS::Topic](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html) resource.

      Specified by:
      getTopics in interface CfnTopicPolicyProps
    • $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