stratosphere-0.2.0: EDSL for AWS CloudFormation

Safe HaskellNone
LanguageHaskell2010

Stratosphere.Resources.S3BucketPolicy

Description

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

Synopsis

Documentation

data S3BucketPolicy Source #

Full data type definition for S3BucketPolicy. See s3BucketPolicy for a more convenient constructor.

s3BucketPolicy Source #

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.