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

Description

 
Synopsis

Documentation

data DefaultServerSideEncryption Source #

Contains information on the server side encryption method used in the S3 bucket. See S3 Server-Side Encryption for more information.

See: newDefaultServerSideEncryption smart constructor.

Constructors

DefaultServerSideEncryption' 

Fields

Instances

Instances details
FromJSON DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

Generic DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

Associated Types

type Rep DefaultServerSideEncryption :: Type -> Type #

Read DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

Show DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

NFData DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

Eq DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

Hashable DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

type Rep DefaultServerSideEncryption Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.DefaultServerSideEncryption

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

newDefaultServerSideEncryption :: DefaultServerSideEncryption Source #

Create a value of DefaultServerSideEncryption 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:encryptionType:DefaultServerSideEncryption', defaultServerSideEncryption_encryptionType - The type of encryption used for objects within the S3 bucket.

$sel:kmsMasterKeyArn:DefaultServerSideEncryption', defaultServerSideEncryption_kmsMasterKeyArn - The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.

defaultServerSideEncryption_encryptionType :: Lens' DefaultServerSideEncryption (Maybe Text) Source #

The type of encryption used for objects within the S3 bucket.

defaultServerSideEncryption_kmsMasterKeyArn :: Lens' DefaultServerSideEncryption (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.