amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.ServerSideEncryption

Description

 
Synopsis

Documentation

data ServerSideEncryption Source #

Provides information about the server-side encryption settings for an S3 bucket or S3 object.

See: newServerSideEncryption smart constructor.

Constructors

ServerSideEncryption' 

Fields

  • encryptionType :: Maybe EncryptionType

    The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

  • kmsMasterKeyId :: Maybe Text

    The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.

Instances

Instances details
FromJSON ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Generic ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Associated Types

type Rep ServerSideEncryption :: Type -> Type #

Read ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Show ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

NFData ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Methods

rnf :: ServerSideEncryption -> () #

Eq ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Hashable ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

type Rep ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

type Rep ServerSideEncryption = D1 ('MetaData "ServerSideEncryption" "Amazonka.MacieV2.Types.ServerSideEncryption" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "ServerSideEncryption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)) :*: S1 ('MetaSel ('Just "kmsMasterKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newServerSideEncryption :: ServerSideEncryption Source #

Create a value of ServerSideEncryption 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:ServerSideEncryption', serverSideEncryption_encryptionType - The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

$sel:kmsMasterKeyId:ServerSideEncryption', serverSideEncryption_kmsMasterKeyId - The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.

serverSideEncryption_encryptionType :: Lens' ServerSideEncryption (Maybe EncryptionType) Source #

The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

serverSideEncryption_kmsMasterKeyId :: Lens' ServerSideEncryption (Maybe Text) Source #

The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.