libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MacieV2.Types.S3Bucket

Description

 
Synopsis

Documentation

data S3Bucket Source #

Provides information about the S3 bucket that a finding applies to.

See: newS3Bucket smart constructor.

Constructors

S3Bucket' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the bucket.

  • createdAt :: Maybe POSIX

    The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

  • owner :: Maybe S3BucketOwner

    The display name and canonical user ID for the Amazon Web Services account that owns the bucket.

  • name :: Maybe Text

    The name of the bucket.

  • defaultServerSideEncryption :: Maybe ServerSideEncryption

    The type of server-side encryption that's used by default to encrypt objects in the bucket.

  • allowsUnencryptedObjectUploads :: Maybe 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 the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
    • 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 the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
    • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.
  • publicAccess :: Maybe BucketPublicAccess

    The permissions settings that determine whether the bucket is publicly accessible.

  • tags :: Maybe [KeyValuePair]

    The tags that are associated with the bucket.

Instances

Instances details
Eq S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Read S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Show S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Generic S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Associated Types

type Rep S3Bucket :: Type -> Type #

Methods

from :: S3Bucket -> Rep S3Bucket x #

to :: Rep S3Bucket x -> S3Bucket #

NFData S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Methods

rnf :: S3Bucket -> () #

Hashable S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

Methods

hashWithSalt :: Int -> S3Bucket -> Int #

hash :: S3Bucket -> Int #

FromJSON S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

type Rep S3Bucket Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Bucket

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: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:owner:S3Bucket', s3Bucket_owner - The display name and canonical user ID for the Amazon Web Services account that owns the bucket.

$sel:name:S3Bucket', s3Bucket_name - The name of the bucket.

$sel:defaultServerSideEncryption:S3Bucket', s3Bucket_defaultServerSideEncryption - The type of server-side encryption that's used by default to encrypt objects in the bucket.

$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 the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
  • 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 the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

$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_arn :: Lens' S3Bucket (Maybe Text) Source #

The Amazon Resource Name (ARN) of the bucket.

s3Bucket_createdAt :: Lens' S3Bucket (Maybe UTCTime) Source #

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

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_name :: Lens' S3Bucket (Maybe Text) Source #

The name of the bucket.

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_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 the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
  • 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 the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

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.