You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::EventBridge::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Tag as input to an Aws::Client method, you can use a vanilla Hash:

{
  key: "TagKey", # required
  value: "TagValue", # required
}

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

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)

    A string you can use to assign a value.

#valueString

The value for the specified tag key.

Returns:

  • (String)

    The value for the specified tag key.