new BucketPolicy()
Properties:
Name | Type | Description |
---|---|---|
Bucket |
String | Required: Yes. The Amazon S3 bucket that the policy applies to.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 |
Object | Required: Yes. 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.Update requires: No interruption |
- Source:
Extends
- WKResource