amazonka-codeguru-reviewer-2.0: Amazon CodeGuru Reviewer 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.CodeGuruReviewer.Types.KMSKeyDetails

Description

 
Synopsis

Documentation

data KMSKeyDetails Source #

An object that contains:

  • The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).
  • The ID of the Amazon Web Services KMS key that is associated with a repository association.

See: newKMSKeyDetails smart constructor.

Constructors

KMSKeyDetails' 

Fields

  • encryptionOption :: Maybe EncryptionOption

    The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

  • kmsKeyId :: Maybe Text

    The ID of the Amazon Web Services KMS key that is associated with a repository association.

Instances

Instances details
FromJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

ToJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Generic KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Associated Types

type Rep KMSKeyDetails :: Type -> Type #

Read KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Show KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

NFData KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Methods

rnf :: KMSKeyDetails -> () #

Eq KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Hashable KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

type Rep KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

type Rep KMSKeyDetails = D1 ('MetaData "KMSKeyDetails" "Amazonka.CodeGuruReviewer.Types.KMSKeyDetails" "amazonka-codeguru-reviewer-2.0-5PMDLaQhmT9HEhVpSUty9z" 'False) (C1 ('MetaCons "KMSKeyDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "encryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionOption)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKMSKeyDetails :: KMSKeyDetails Source #

Create a value of KMSKeyDetails 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:encryptionOption:KMSKeyDetails', kmsKeyDetails_encryptionOption - The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

$sel:kmsKeyId:KMSKeyDetails', kmsKeyDetails_kmsKeyId - The ID of the Amazon Web Services KMS key that is associated with a repository association.

kmsKeyDetails_encryptionOption :: Lens' KMSKeyDetails (Maybe EncryptionOption) Source #

The encryption option for a repository association. It is either owned by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or customer managed (CUSTOMER_MANAGED_CMK).

kmsKeyDetails_kmsKeyId :: Lens' KMSKeyDetails (Maybe Text) Source #

The ID of the Amazon Web Services KMS key that is associated with a repository association.