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)


5103
5104
5105
5106
5107
5108
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5103

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)


5103
5104
5105
5106
5107
5108
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 5103

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