Safe Haskell | None |
---|---|
Language | Haskell2010 |
The AWS::S3::BucketPolicy type applies an Amazon S3 bucket policy to an Amazon S3 bucket. AWS::S3::BucketPolicy Snippet: Declaring an Amazon S3 Bucket Policy
Documentation
data S3BucketPolicy Source #
Full data type definition for S3BucketPolicy. See s3BucketPolicy
for a
more convenient constructor.
Constructor for S3BucketPolicy
containing required fields as arguments.
sbpBucket :: Lens' S3BucketPolicy (Val Text) Source #
The Amazon S3 bucket that the policy applies to.
sbpPolicyDocument :: Lens' S3BucketPolicy Object Source #
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.