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

Class: Aws::EMR::Types::AddTagsInput

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

Overview

Note:

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

{
  resource_id: "ResourceId", # required
  tags: [ # required
    {
      key: "String",
      value: "String",
    },
  ],
}

This input identifies a cluster and a list of tags to attach.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier.

Returns:

  • (String)

    The Amazon EMR resource identifier to which tags will be added.

#tagsArray<Types::Tag>

A list of tags to associate with a cluster and propagate to EC2 instances. Tags are user-defined key/value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.

Returns:

  • (Array<Types::Tag>)

    A list of tags to associate with a cluster and propagate to EC2 instances.