Class CfnResourcePolicyProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lex.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.lex.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
    A resource policy to add to the resource.
    final String
    The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
    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

    • getPolicy

      public final Object getPolicy()
      Description copied from interface: CfnResourcePolicyProps
      A resource policy to add to the resource.

      The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.

      Specified by:
      getPolicy in interface CfnResourcePolicyProps
    • getResourceArn

      public final String getResourceArn()
      Description copied from interface: CfnResourcePolicyProps
      The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
      Specified by:
      getResourceArn 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