AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Overview

Note:

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

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

A cost allocation Tag that can be added to an ElastiCache cluster or replication group. Tags are composed of a Key/Value pair. A tag with a null Value is permitted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key for the tag. May not be null.

Returns:

  • (String)


8359
8360
8361
8362
8363
8364
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 8359

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

#valueString

The tag's value. May be null.

Returns:

  • (String)


8359
8360
8361
8362
8363
8364
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 8359

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