libZSservicesZSamazonka-qldbZSamazonka-qldb
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.QLDB.Types.S3EncryptionConfiguration

Description

 
Synopsis

Documentation

data S3EncryptionConfiguration Source #

The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.

See: newS3EncryptionConfiguration smart constructor.

Constructors

S3EncryptionConfiguration' 

Fields

  • kmsKeyArn :: Maybe Text

    The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) in Key Management Service (KMS). Amazon S3 does not support asymmetric CMKs.

    You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

    KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

  • objectEncryptionType :: S3ObjectEncryptionType

    The Amazon S3 object encryption type.

    To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

Instances

Instances details
Eq S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

Read S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

Show S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

Generic S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

Associated Types

type Rep S3EncryptionConfiguration :: Type -> Type #

NFData S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

Hashable S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

ToJSON S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

FromJSON S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

type Rep S3EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.QLDB.Types.S3EncryptionConfiguration

type Rep S3EncryptionConfiguration = D1 ('MetaData "S3EncryptionConfiguration" "Amazonka.QLDB.Types.S3EncryptionConfiguration" "libZSservicesZSamazonka-qldbZSamazonka-qldb" 'False) (C1 ('MetaCons "S3EncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectEncryptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 S3ObjectEncryptionType)))

newS3EncryptionConfiguration Source #

Create a value of S3EncryptionConfiguration 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:kmsKeyArn:S3EncryptionConfiguration', s3EncryptionConfiguration_kmsKeyArn - The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) in Key Management Service (KMS). Amazon S3 does not support asymmetric CMKs.

You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

$sel:objectEncryptionType:S3EncryptionConfiguration', s3EncryptionConfiguration_objectEncryptionType - The Amazon S3 object encryption type.

To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.

s3EncryptionConfiguration_kmsKeyArn :: Lens' S3EncryptionConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) in Key Management Service (KMS). Amazon S3 does not support asymmetric CMKs.

You must provide a KmsKeyArn if you specify SSE_KMS as the ObjectEncryptionType.

KmsKeyArn is not required if you specify SSE_S3 as the ObjectEncryptionType.

s3EncryptionConfiguration_objectEncryptionType :: Lens' S3EncryptionConfiguration S3ObjectEncryptionType Source #

The Amazon S3 object encryption type.

To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.