Interface CfnBucketPolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBucketPolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:04.820Z")
@Stability(Stable)
public interface CfnBucketPolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnBucketPolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.s3outposts.*;
Object policyDocument;
CfnBucketPolicyMixinProps cfnBucketPolicyMixinProps = CfnBucketPolicyMixinProps.builder()
.bucket("bucket")
.policyDocument(policyDocument)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBucketPolicyMixinPropsstatic final classAn implementation forCfnBucketPolicyMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucket
The name of the Amazon S3 Outposts bucket to which the policy applies.- See Also:
-
getPolicyDocument
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 .
- See Also:
-
builder
- Returns:
- a
CfnBucketPolicyMixinProps.BuilderofCfnBucketPolicyMixinProps
-