libZSservicesZSamazonka-athenaZSamazonka-athena
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.Athena.Types.EncryptionConfiguration

Description

 
Synopsis

Documentation

data EncryptionConfiguration Source #

If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information.

See: newEncryptionConfiguration smart constructor.

Constructors

EncryptionConfiguration' 

Fields

  • kmsKey :: Maybe Text

    For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.

  • encryptionOption :: EncryptionOption

    Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

    If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

Instances

Instances details
Eq EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Read EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Show EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Generic EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Associated Types

type Rep EncryptionConfiguration :: Type -> Type #

NFData EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

Methods

rnf :: EncryptionConfiguration -> () #

Hashable EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

ToJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

FromJSON EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

type Rep EncryptionConfiguration Source # 
Instance details

Defined in Amazonka.Athena.Types.EncryptionConfiguration

type Rep EncryptionConfiguration = D1 ('MetaData "EncryptionConfiguration" "Amazonka.Athena.Types.EncryptionConfiguration" "libZSservicesZSamazonka-athenaZSamazonka-athena" 'False) (C1 ('MetaCons "EncryptionConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EncryptionOption)))

newEncryptionConfiguration Source #

Create a value of EncryptionConfiguration 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:kmsKey:EncryptionConfiguration', encryptionConfiguration_kmsKey - For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.

$sel:encryptionOption:EncryptionConfiguration', encryptionConfiguration_encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.

encryptionConfiguration_kmsKey :: Lens' EncryptionConfiguration (Maybe Text) Source #

For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.

encryptionConfiguration_encryptionOption :: Lens' EncryptionConfiguration EncryptionOption Source #

Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys (CSE-KMS) is used.

If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.