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

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

Overview

Note:

When making an API call, you may pass Tag data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name assigned to the tag that you create.

Returns:

  • (String)


1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1584

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)


1584
1585
1586
1587
1588
1589
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 1584

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