Class: Aws::MemoryDB::Types::Tag

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

Overview

Note:

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

{
  key: "String",
  value: "String",
}

A tag that can be added to an MemoryDB resource. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your MemoryDB resources. When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. A tag with a null Value is permitted. For more information, see Tagging your MemoryDB resources

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key for the tag. May not be null.

Returns:

  • (String)


2884
2885
2886
2887
2888
2889
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2884

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

#valueString

The tag's value. May be null.

Returns:

  • (String)


2884
2885
2886
2887
2888
2889
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 2884

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