@Stability(value=Stable) @Internal public static final class CfnBucketPolicyProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnBucketPolicyProps
CfnBucketPolicyPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnBucketPolicyProps.Builder, CfnBucketPolicyProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnBucketPolicyProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnBucketPolicyProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBucket()
The name of the Amazon S3 Outposts bucket to which the policy applies.
|
Object |
getPolicyDocument()
A policy document containing permissions to add to the specified bucket.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnBucketPolicyProps.Builder builder)
CfnBucketPolicyProps.Builder.public final String getBucket()
CfnBucketPolicyPropsgetBucket in interface CfnBucketPolicyPropspublic final Object getPolicyDocument()
CfnBucketPolicyPropsIn 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 .
getPolicyDocument in interface CfnBucketPolicyProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.