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
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnResourcePolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnResourcePolicyProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnResourcePolicyProps.Builder
.
-
-
Method Details
-
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 interfaceCfnResourcePolicyProps
- See Also:
-
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 interfaceCfnResourcePolicyProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-