Class CfnResourcePolicyProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.logs.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
  • 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

    • getPolicyDocument

      public final String getPolicyDocument()
      Description copied from interface: CfnResourcePolicyProps
      The details of the policy.

      It must be formatted in JSON, and you must use backslashes to escape characters that need to be escaped in JSON strings, such as double quote marks.

      Specified by:
      getPolicyDocument in interface CfnResourcePolicyProps
    • getPolicyName

      public final String getPolicyName()
      Description copied from interface: CfnResourcePolicyProps
      The name of the resource policy.
      Specified by:
      getPolicyName 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