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.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
Eq ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Read ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Show 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 #

NFData ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

Methods

rnf :: ServerSideEncryption -> () #

Hashable ServerSideEncryption Source # 
Instance details

Defined in Amazonka.MacieV2.Types.ServerSideEncryption

FromJSON 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" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" '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.