Class: Aws::Transfer::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name assigned to the tag that you create.

Returns:

  • (String)


5160
5161
5162
5163
5164
5165
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5160

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

Contains one or more values that you assigned to the key name you create.

Returns:

  • (String)


5160
5161
5162
5163
5164
5165
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5160

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end