Class: Aws::CostExplorer::Types::ResourceTag

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

Overview

Note:

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

{
  key: "ResourceTagKey", # required
  value: "ResourceTagValue", # required
}

The tag structure that contains a tag key and value.

Tagging is supported only for the following Cost Explorer resource types: AnomalyMonitor , AnomalySubscription , CostCategory .

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key that's associated with the tag.

Returns:

  • (String)


6258
6259
6260
6261
6262
6263
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6258

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

#valueString

The value that's associated with the tag.

Returns:

  • (String)


6258
6259
6260
6261
6262
6263
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6258

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