Class: Aws::CloudWatchEvents::Types::Tag

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

Overview

A key-value pair associated with an Amazon Web Services resource. In EventBridge, rules and event buses support tagging.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A string you can use to assign a value. The combination of tag keys and values can help you organize and categorize your resources.

Returns:

  • (String)


3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 3798

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

#valueString

The value for the specified tag key.

Returns:

  • (String)


3798
3799
3800
3801
3802
3803
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 3798

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