Class: Aws::ElastiCache::Types::Tag

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

Overview

A tag that can be added to an ElastiCache cluster or replication group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your ElastiCache resources. When you add or remove tags on replication groups, those actions will be replicated to all nodes in the replication group. A tag with a null Value is permitted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key ⇒ String

The key for the tag. May not be null.

Returns:

  • (String)


9515
9516
9517
9518
9519
9520
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 9515

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

#value ⇒ String

The tag's value. May be null.

Returns:

  • (String)


9515
9516
9517
9518
9519
9520
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 9515

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