class Aws::CodeGuruReviewer::Types::TagResourceRequest
@note When making an API call, you may pass TagResourceRequest
data as a hash: { resource_arn: "AssociationArn", # required tags: { # required "TagKey" => "TagValue", }, }
@!attribute [rw] resource_arn
The Amazon Resource Name (ARN) of the [ `RepositoryAssociation` ][1] object. You can retrieve this ARN by calling [ `ListRepositoryAssociations` ][2]. [1]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_RepositoryAssociation.html [2]: https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_ListRepositoryAssociations.html @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>]
@see docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResourceRequest AWS API Documentation
Constants
- SENSITIVE