Class: Aws::CodeGuruReviewer::Types::KMSKeyDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb

Overview

Note:

When making an API call, you may pass KMSKeyDetails data as a hash:

{
  kms_key_id: "KMSKeyId",
  encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
}

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_optionString

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).

Returns:

  • (String)


966
967
968
969
970
971
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 966

class KMSKeyDetails < Struct.new(
  :kms_key_id,
  :encryption_option)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_idString

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

Returns:

  • (String)


966
967
968
969
970
971
# File 'gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/types.rb', line 966

class KMSKeyDetails < Struct.new(
  :kms_key_id,
  :encryption_option)
  SENSITIVE = []
  include Aws::Structure
end