libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer
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.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 respository 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 respository association.

Instances

Instances details
Eq KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Read KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

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

NFData KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

Methods

rnf :: KMSKeyDetails -> () #

Hashable KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

ToJSON KMSKeyDetails Source # 
Instance details

Defined in Amazonka.CodeGuruReviewer.Types.KMSKeyDetails

FromJSON 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" "libZSservicesZSamazonka-codeguru-reviewerZSamazonka-codeguru-reviewer" '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 respository 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 respository association.