Class: Aws::CodeGuruReviewer::Types::AssociateRepositoryRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_request_tokenString

Amazon CodeGuru Reviewer uses this value to prevent the accidental creation of duplicate repository associations if there are failures and retries.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


65
66
67
68
69
70
71
72
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 65

class AssociateRepositoryRequest < Struct.new(
  :repository,
  :client_request_token,
  :tags,
  :kms_key_details)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_detailsTypes::KMSKeyDetails

A ‘KMSKeyDetails` object that contains:

  • The encryption option for this 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 this repository association.



65
66
67
68
69
70
71
72
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 65

class AssociateRepositoryRequest < Struct.new(
  :repository,
  :client_request_token,
  :tags,
  :kms_key_details)
  SENSITIVE = []
  include Aws::Structure
end

#repositoryTypes::Repository

The repository to associate.

Returns:



65
66
67
68
69
70
71
72
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 65

class AssociateRepositoryRequest < Struct.new(
  :repository,
  :client_request_token,
  :tags,
  :kms_key_details)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

An array of key-value pairs used to tag an associated repository. A tag is a custom attribute label with two parts:

  • A *tag key* (for example, ‘CostCenter`, `Environment`, `Project`, or `Secret`). Tag keys are case sensitive.

  • An optional field known as a *tag value* (for example, ‘111122223333`, `Production`, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case sensitive.

Returns:

  • (Hash<String,String>)


65
66
67
68
69
70
71
72
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 65

class AssociateRepositoryRequest < Struct.new(
  :repository,
  :client_request_token,
  :tags,
  :kms_key_details)
  SENSITIVE = []
  include Aws::Structure
end