You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeGuruReviewer::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeGuruReviewer::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "AssociationArn", # required
tags: { # required
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the [
RepositoryAssociation
][1] object. -
#tags ⇒ Hash<String,String>
An array of key-value pairs used to tag an associated repository.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the RepositoryAssociation
object. You can retrieve this ARN by calling
ListRepositoryAssociations
.
#tags ⇒ Hash<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
, orSecret
). 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.