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

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

Overview

The tag structure that contains a tag key and value.

<note markdown=“1”> Tagging is supported only for the following Cost Explorer resource types: [ ‘AnomalyMonitor` ][1], [ `AnomalySubscription` ][2], [ `CostCategory` ][3].

</note>

[1]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalyMonitor.html [2]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AnomalySubscription.html [3]: docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategory.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key that’s associated with the tag.

Returns:

  • (String)


5944
5945
5946
5947
5948
5949
# File 'lib/aws-sdk-costexplorer/types.rb', line 5944

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

#valueString

The value that’s associated with the tag.

Returns:

  • (String)


5944
5945
5946
5947
5948
5949
# File 'lib/aws-sdk-costexplorer/types.rb', line 5944

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