amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.Types.Destination

Description

 
Synopsis

Documentation

data Destination Source #

Contains details of the Amazon S3 bucket and KMS key used to export findings.

See: newDestination smart constructor.

Constructors

Destination' 

Fields

  • keyPrefix :: Maybe Text

    The prefix of the KMS key used to export findings.

  • bucketName :: Text

    The name of the Amazon S3 bucket to export findings to.

  • kmsKeyArn :: Text

    The ARN of the KMS key used to encrypt data when exporting findings.

Instances

Instances details
FromJSON Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

ToJSON Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

Read Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

NFData Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

Methods

rnf :: Destination -> () #

Eq Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

Hashable Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.Inspector2.Types.Destination" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Destination'" '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))))

newDestination Source #

Create a value of Destination 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:Destination', destination_keyPrefix - The prefix of the KMS key used to export findings.

$sel:bucketName:Destination', destination_bucketName - The name of the Amazon S3 bucket to export findings to.

$sel:kmsKeyArn:Destination', destination_kmsKeyArn - The ARN of the KMS key used to encrypt data when exporting findings.

destination_keyPrefix :: Lens' Destination (Maybe Text) Source #

The prefix of the KMS key used to export findings.

destination_bucketName :: Lens' Destination Text Source #

The name of the Amazon S3 bucket to export findings to.

destination_kmsKeyArn :: Lens' Destination Text Source #

The ARN of the KMS key used to encrypt data when exporting findings.