class Aws::CodeGuruReviewer::Types::AssociateRepositoryRequest

@note When making an API call, you may pass AssociateRepositoryRequest

data as a hash:

    {
      repository: { # required
        code_commit: {
          name: "Name", # required
        },
        bitbucket: {
          name: "Name", # required
          connection_arn: "ConnectionArn", # required
          owner: "Owner", # required
        },
        git_hub_enterprise_server: {
          name: "Name", # required
          connection_arn: "ConnectionArn", # required
          owner: "Owner", # required
        },
        s3_bucket: {
          name: "Name", # required
          bucket_name: "S3BucketName", # required
        },
      },
      client_request_token: "ClientRequestToken",
      tags: {
        "TagKey" => "TagValue",
      },
      kms_key_details: {
        kms_key_id: "KMSKeyId",
        encryption_option: "AWS_OWNED_CMK", # accepts AWS_OWNED_CMK, CUSTOMER_MANAGED_CMK
      },
    }

@!attribute [rw] repository

The repository to associate.
@return [Types::Repository]

@!attribute [rw] client_request_token

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.
@return [String]

@!attribute [rw] tags

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.
@return [Hash<String,String>]

@!attribute [rw] kms_key_details

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 respository association.
@return [Types::KMSKeyDetails]

@see docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepositoryRequest AWS API Documentation

Constants

SENSITIVE