JSON

YAML

Properties

Bucket

The name of the Amazon S3 bucket to which the policy applies.

Required: Yes

Type: String

You cannot update this property. If you want to add or remove a bucket from a
bucket policy, you must modify your AWS CloudFormation template by creating a new
bucket policy
resource and removing the old one. Then use the modified template to update your AWS
CloudFormation
stack.

PolicyDocument

A policy document containing permissions to add to the specified bucket. For
more information, see Access Policy Language Overview in the
Amazon Simple Storage Service Developer Guide.