Class CfnResourcePolicyProps.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the CfnResourcePolicyProps.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
    The policy text of the organization resource policy.
    final List<CfnTag>
    A list of tags that you want to attach to the newly created resource 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(CfnResourcePolicyProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnResourcePolicyProps.Builder.
  • Method Details

    • getContent

      public final Object getContent()
      Description copied from interface: CfnResourcePolicyProps
      The policy text of the organization resource policy.

      You can specify the resource policy content as a JSON object or a JSON string.

      When you specify the resource policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the resource policy content as a JSON object instead.

      Specified by:
      getContent in interface CfnResourcePolicyProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnResourcePolicyProps
      A list of tags that you want to attach to the newly created resource policy.

      For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null . For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide .

      If any one of the tags is not valid or if you exceed the allowed number of tags for the resource policy, then the entire request fails and the resource policy is not created.

      Specified by:
      getTags in interface CfnResourcePolicyProps
    • $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