Class CfnBucketPolicyProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.s3.CfnBucketPolicyProps.Jsii$Proxy
- All Implemented Interfaces:
CfnBucketPolicyProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnBucketPolicyProps
@Stability(Stable)
@Internal
public static final class CfnBucketPolicyProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnBucketPolicyProps
An implementation for
CfnBucketPolicyProps
-
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.s3.CfnBucketPolicyProps
CfnBucketPolicyProps.Builder, CfnBucketPolicyProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnBucketPolicyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnBucketPolicyProps.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 theCfnBucketPolicyProps.Builder
.
-
-
Method Details
-
getBucket
Description copied from interface:CfnBucketPolicyProps
The name of the Amazon S3 bucket to which the policy applies.- Specified by:
getBucket
in interfaceCfnBucketPolicyProps
- See Also:
-
getPolicyDocument
Description copied from interface:CfnBucketPolicyProps
A policy document containing permissions to add to the specified bucket.In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. For more information, see the AWS::IAM::Policy PolicyDocument resource description in this guide and Access Policy Language Overview in the Amazon S3 User Guide .
-
$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()
-