libZSservicesZSamazonka-xrayZSamazonka-xray
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.XRay.Types.EncryptionConfig

Description

 
Synopsis

Documentation

data EncryptionConfig Source #

A configuration document that specifies encryption configuration settings.

See: newEncryptionConfig smart constructor.

Constructors

EncryptionConfig' 

Fields

  • status :: Maybe EncryptionStatus

    The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings.

  • keyId :: Maybe Text

    The ID of the KMS key used for encryption, if applicable.

  • type' :: Maybe EncryptionType

    The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption.

Instances

Instances details
Eq EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

Read EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

Show EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

Generic EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

Associated Types

type Rep EncryptionConfig :: Type -> Type #

NFData EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

Methods

rnf :: EncryptionConfig -> () #

Hashable EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

FromJSON EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

type Rep EncryptionConfig Source # 
Instance details

Defined in Amazonka.XRay.Types.EncryptionConfig

type Rep EncryptionConfig = D1 ('MetaData "EncryptionConfig" "Amazonka.XRay.Types.EncryptionConfig" "libZSservicesZSamazonka-xrayZSamazonka-xray" 'False) (C1 ('MetaCons "EncryptionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionStatus)) :*: (S1 ('MetaSel ('Just "keyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionType)))))

newEncryptionConfig :: EncryptionConfig Source #

Create a value of EncryptionConfig 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:status:EncryptionConfig', encryptionConfig_status - The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings.

$sel:keyId:EncryptionConfig', encryptionConfig_keyId - The ID of the KMS key used for encryption, if applicable.

$sel:type':EncryptionConfig', encryptionConfig_type - The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption.

encryptionConfig_status :: Lens' EncryptionConfig (Maybe EncryptionStatus) Source #

The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of the new and old settings.

encryptionConfig_keyId :: Lens' EncryptionConfig (Maybe Text) Source #

The ID of the KMS key used for encryption, if applicable.

encryptionConfig_type :: Lens' EncryptionConfig (Maybe EncryptionType) Source #

The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for default encryption.