policyDocument

@JvmName(name = "xjrywuigyrssssdg")
suspend fun policyDocument(value: Output<Any>)
@JvmName(name = "fhctibskdhrbvkkl")
suspend fun policyDocument(value: Any?)

Parameters

value

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. Search the CloudFormation User Guide for AWS::S3::BucketPolicy for more information about the expected schema for this property.