You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Transfer::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::Transfer::Types::Tag
- Defined in:
- (unknown)
Overview
When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:
{
key: "TagKey", # required
value: "TagValue", # required
}
Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to servers, users, and roles. A tag key can take more than one value. For example, to group servers for accounting purposes, you might create a tag called Group
and assign the values Research
and Accounting
to that group.
Instance Attribute Summary collapse
-
#key ⇒ String
The name assigned to the tag that you create.
-
#value ⇒ String
Contains one or more values that you assigned to the key name you create.
Instance Attribute Details
#key ⇒ String
The name assigned to the tag that you create.
#value ⇒ String
Contains one or more values that you assigned to the key name you create.