Class CfnResourcePolicyProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudtrail.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.cloudtrail.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 String
    The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.
    final Object
    A JSON-formatted string for an AWS resource-based 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

    • getResourceArn

      public final String getResourceArn()
      Description copied from interface: CfnResourcePolicyProps
      The Amazon Resource Name (ARN) of the CloudTrail channel attached to the resource-based policy.

      The following is the format of a resource ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/MyChannel .

      Specified by:
      getResourceArn in interface CfnResourcePolicyProps
    • getResourcePolicy

      public final Object getResourcePolicy()
      Description copied from interface: CfnResourcePolicyProps
      A JSON-formatted string for an AWS resource-based policy.

      The following are requirements for the resource policy:

      • Contains only one action: cloudtrail-data:PutAuditEvents
      • Contains at least one statement. The policy can have a maximum of 20 statements.
      • Each statement contains at least one principal. A statement can have a maximum of 50 principals.
      Specified by:
      getResourcePolicy 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