Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data BucketPolicy Source #
Contains information on the current bucket policies for the S3 bucket.
See: newBucketPolicy
smart constructor.
BucketPolicy' | |
|
Instances
newBucketPolicy :: BucketPolicy Source #
Create a value of BucketPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:allowsPublicWriteAccess:BucketPolicy'
, bucketPolicy_allowsPublicWriteAccess
- A value that indicates whether public write access for the bucket is
enabled through a bucket policy.
$sel:allowsPublicReadAccess:BucketPolicy'
, bucketPolicy_allowsPublicReadAccess
- A value that indicates whether public read access for the bucket is
enabled through a bucket policy.
bucketPolicy_allowsPublicWriteAccess :: Lens' BucketPolicy (Maybe Bool) Source #
A value that indicates whether public write access for the bucket is enabled through a bucket policy.
bucketPolicy_allowsPublicReadAccess :: Lens' BucketPolicy (Maybe Bool) Source #
A value that indicates whether public read access for the bucket is enabled through a bucket policy.