AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the AddTags operation. Adds tags to an Amazon EMR resource, such as a cluster or an Amazon EMR Studio. Tags make it easier to associate resources in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tag Clusters.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticMapReduce.AmazonElasticMapReduceRequest
      Amazon.ElasticMapReduce.Model.AddTagsRequest

Namespace: Amazon.ElasticMapReduce.Model
Assembly: AWSSDK.ElasticMapReduce.dll
Version: 3.x.y.z

Syntax

C#
public class AddTagsRequest : AmazonElasticMapReduceRequest
         IAmazonWebServiceRequest

The AddTagsRequest type exposes the following members

Constructors

NameDescription
Public Method AddTagsRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method AddTagsRequest(string)

Instantiates AddTagsRequest with the parameterized properties

Public Method AddTagsRequest(string, List<Tag>)

Instantiates AddTagsRequest with the parameterized properties

Properties

NameTypeDescription
Public Property ResourceId System.String

Gets and sets the property ResourceId.

The Amazon EMR resource identifier to which tags will be added. For example, a cluster identifier or an Amazon EMR Studio ID.

Public Property Tags System.Collections.Generic.List<Amazon.ElasticMapReduce.Model.Tag>

Gets and sets the property Tags.

A list of tags to associate with a resource. 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5