amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.Types.DestinationProperties

Description

 
Synopsis

Documentation

data DestinationProperties Source #

Contains the Amazon Resource Name (ARN) of the resource to publish to, such as an S3 bucket, and the ARN of the KMS key to use to encrypt published findings.

See: newDestinationProperties smart constructor.

Constructors

DestinationProperties' 

Fields

  • destinationArn :: Maybe Text

    The ARN of the resource to publish to.

    To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/

  • kmsKeyArn :: Maybe Text

    The ARN of the KMS key to use for encryption.

Instances

Instances details
FromJSON DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

ToJSON DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

Generic DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

Associated Types

type Rep DestinationProperties :: Type -> Type #

Read DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

Show DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

NFData DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

Methods

rnf :: DestinationProperties -> () #

Eq DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

Hashable DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

type Rep DestinationProperties Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DestinationProperties

type Rep DestinationProperties = D1 ('MetaData "DestinationProperties" "Amazonka.GuardDuty.Types.DestinationProperties" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "DestinationProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDestinationProperties :: DestinationProperties Source #

Create a value of DestinationProperties 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:destinationArn:DestinationProperties', destinationProperties_destinationArn - The ARN of the resource to publish to.

To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/

$sel:kmsKeyArn:DestinationProperties', destinationProperties_kmsKeyArn - The ARN of the KMS key to use for encryption.

destinationProperties_destinationArn :: Lens' DestinationProperties (Maybe Text) Source #

The ARN of the resource to publish to.

To specify an S3 bucket folder use the following format: arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/

destinationProperties_kmsKeyArn :: Lens' DestinationProperties (Maybe Text) Source #

The ARN of the KMS key to use for encryption.