Class: Aws::AppStream::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppStream::Types::TagResourceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-appstream/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource_arn: "Arn", # required
tags: { # required
"TagKey" => "TagValue",
},
}
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource.
-
#tags ⇒ Hash<String,String>
The tags to associate.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource.
2666 2667 2668 2669 2670 |
# File 'lib/aws-sdk-appstream/types.rb', line 2666 class TagResourceRequest < Struct.new( :resource_arn, :tags) include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags to associate. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
2666 2667 2668 2669 2670 |
# File 'lib/aws-sdk-appstream/types.rb', line 2666 class TagResourceRequest < Struct.new( :resource_arn, :tags) include Aws::Structure end |