| 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.GuardDuty.Types.BucketPolicy
Description
Documentation
data BucketPolicy Source #
Contains information on the current bucket policies for the 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 - A value that indicates whether public read access for the bucket is
enabled through a bucket policy.
$sel:allowsPublicWriteAccess:BucketPolicy', bucketPolicy_allowsPublicWriteAccess - 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.
bucketPolicy_allowsPublicWriteAccess :: Lens' BucketPolicy (Maybe Bool) Source #
A value that indicates whether public write access for the bucket is enabled through a bucket policy.