Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

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

Overview

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)

6251
6252
6253
6254
6255
6256
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6251

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

#valueString

The value that's associated with the tag.

Returns:

  • (String)

6251
6252
6253
6254
6255
6256
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 6251

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