| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MacieV2.Types.BucketPolicy
Description
Documentation
data BucketPolicy Source #
Provides information about the permissions settings of the bucket policy for an S3 bucket.
See: newBucketPolicy smart constructor.
Constructors
| BucketPolicy' | |
Fields
| |
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:allowsPublicReadAccess:BucketPolicy', bucketPolicy_allowsPublicReadAccess - Specifies whether the bucket policy allows the general public to have
read access to the bucket.
$sel:allowsPublicWriteAccess:BucketPolicy', bucketPolicy_allowsPublicWriteAccess - 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.
bucketPolicy_allowsPublicWriteAccess :: Lens' BucketPolicy (Maybe Bool) Source #
Specifies whether the bucket policy allows the general public to have write access to the bucket.