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 support tagging.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A string that 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 that you can use to assign a value.

#valueString

The value for the specified tag key.

Returns:

  • (String)

    The value for the specified tag key.