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 #
Provides information about the permissions settings of the bucket policy for an 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
- Specifies whether the bucket policy allows the general public to have
write access to the bucket.
$sel:allowsPublicReadAccess:BucketPolicy'
, bucketPolicy_allowsPublicReadAccess
- Specifies whether the bucket policy allows the general public to have
read access to the bucket.
bucketPolicy_allowsPublicWriteAccess :: Lens' BucketPolicy (Maybe Bool) Source #
Specifies whether the bucket policy allows the general public to have write access to the bucket.
bucketPolicy_allowsPublicReadAccess :: Lens' BucketPolicy (Maybe Bool) Source #
Specifies whether the bucket policy allows the general public to have read access to the bucket.