You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::DeviceFarm::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::DeviceFarm::Types::TagResourceRequest
- Defined in:
- (unknown)
Overview
When passing TagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
resource_arn: "DeviceFarmArn", # required
tags: [ # required
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource or resources 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 resource or resources to which to
add tags. You can associate tags with the following Device Farm
resources: PROJECT
, RUN
, NETWORK_PROFILE
, INSTANCE_PROFILE
,
DEVICE_INSTANCE
, SESSION
, DEVICE_POOL
, DEVICE
, and
VPCE_CONFIGURATION
.
#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. Tag values can have a maximum length of 256 characters.