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: + - = . _ : /.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

Tag key. The key can't start with aws:.

Returns:

  • (String)


5874
5875
5876
5877
5878
5879
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5874

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

#valueString

Value of the tag key.

Returns:

  • (String)


5874
5875
5876
5877
5878
5879
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5874

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