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.S3Destination

Description

 
Synopsis

Documentation

data S3Destination Source #

Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.

See: newS3Destination smart constructor.

Constructors

S3Destination' 

Fields

  • keyPrefix :: Maybe Text

    The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.

  • bucketName :: Text

    The name of the bucket.

  • kmsKeyArn :: Text

    The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.

Instances

Instances details
Eq S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

Read S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

Show S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

Generic S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

Associated Types

type Rep S3Destination :: Type -> Type #

NFData S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

Methods

rnf :: S3Destination -> () #

Hashable S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

ToJSON S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

FromJSON S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

type Rep S3Destination Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3Destination

type Rep S3Destination = D1 ('MetaData "S3Destination" "Amazonka.MacieV2.Types.S3Destination" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "S3Destination'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newS3Destination Source #

Create a value of S3Destination 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:keyPrefix:S3Destination', s3Destination_keyPrefix - The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.

$sel:bucketName:S3Destination', s3Destination_bucketName - The name of the bucket.

$sel:kmsKeyArn:S3Destination', s3Destination_kmsKeyArn - The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.

s3Destination_keyPrefix :: Lens' S3Destination (Maybe Text) Source #

The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.

s3Destination_kmsKeyArn :: Lens' S3Destination Text Source #

The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.