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 |
Synopsis
- data S3Bucket = S3Bucket' {}
- newS3Bucket :: S3Bucket
- s3Bucket_allowsUnencryptedObjectUploads :: Lens' S3Bucket (Maybe AllowsUnencryptedObjectUploads)
- s3Bucket_arn :: Lens' S3Bucket (Maybe Text)
- s3Bucket_createdAt :: Lens' S3Bucket (Maybe UTCTime)
- s3Bucket_defaultServerSideEncryption :: Lens' S3Bucket (Maybe ServerSideEncryption)
- s3Bucket_name :: Lens' S3Bucket (Maybe Text)
- s3Bucket_owner :: Lens' S3Bucket (Maybe S3BucketOwner)
- s3Bucket_publicAccess :: Lens' S3Bucket (Maybe BucketPublicAccess)
- s3Bucket_tags :: Lens' S3Bucket (Maybe [KeyValuePair])
Documentation
Provides information about the S3 bucket that a finding applies to.
See: newS3Bucket
smart constructor.
S3Bucket' | |
|
Instances
newS3Bucket :: S3Bucket Source #
Create a value of S3Bucket
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:allowsUnencryptedObjectUploads:S3Bucket'
, s3Bucket_allowsUnencryptedObjectUploads
- Specifies whether the bucket policy for the bucket requires server-side
encryption of objects when objects are uploaded to the bucket. Possible
values are:
- FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.
- TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.
- UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.
Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.
$sel:arn:S3Bucket'
, s3Bucket_arn
- The Amazon Resource Name (ARN) of the bucket.
$sel:createdAt:S3Bucket'
, s3Bucket_createdAt
- The date and time, in UTC and extended ISO 8601 format, when the bucket
was created.
$sel:defaultServerSideEncryption:S3Bucket'
, s3Bucket_defaultServerSideEncryption
- The type of server-side encryption that's used by default to encrypt
objects in the bucket.
$sel:name:S3Bucket'
, s3Bucket_name
- The name of the bucket.
$sel:owner:S3Bucket'
, s3Bucket_owner
- The display name and canonical user ID for the Amazon Web Services
account that owns the bucket.
$sel:publicAccess:S3Bucket'
, s3Bucket_publicAccess
- The permissions settings that determine whether the bucket is publicly
accessible.
$sel:tags:S3Bucket'
, s3Bucket_tags
- The tags that are associated with the bucket.
s3Bucket_allowsUnencryptedObjectUploads :: Lens' S3Bucket (Maybe AllowsUnencryptedObjectUploads) Source #
Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:
- FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.
- TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.
- UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.
Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.
s3Bucket_createdAt :: Lens' S3Bucket (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
s3Bucket_defaultServerSideEncryption :: Lens' S3Bucket (Maybe ServerSideEncryption) Source #
The type of server-side encryption that's used by default to encrypt objects in the bucket.
s3Bucket_owner :: Lens' S3Bucket (Maybe S3BucketOwner) Source #
The display name and canonical user ID for the Amazon Web Services account that owns the bucket.
s3Bucket_publicAccess :: Lens' S3Bucket (Maybe BucketPublicAccess) Source #
The permissions settings that determine whether the bucket is publicly accessible.
s3Bucket_tags :: Lens' S3Bucket (Maybe [KeyValuePair]) Source #
The tags that are associated with the bucket.