You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::StorageGateway::Types::Tag

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

Overview

Note:

When making an API call, you may pass Tag data as a hash:

{
  key: "TagKey", # required
  value: "TagValue", # required
}

A key-value pair that helps you manage, filter, and search for your resource. Allowed characters: letters, white space, and numbers, representable in UTF-8, and the following characters: + - = . _ : /

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Tag key (String). The key can't start with aws:.

Returns:

  • (String)


5042
5043
5044
5045
5046
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5042

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

#valueString

Value of the tag key.

Returns:

  • (String)


5042
5043
5044
5045
5046
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5042

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