You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECR::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECR::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
Note:
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "Arn", # required
tags: [ # required
{
key: "TagKey",
value: "TagValue",
},
],
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the the resource to which to add tags.
-
#tags ⇒ Array<Types::Tag>
The tags to add to the resource.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the the resource to which to add tags. Currently, the only supported resource is an Amazon ECR repository.
#tags ⇒ Array<Types::Tag>
The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.