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. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see Tagging Amazon EMR Resources.

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. This value must be a cluster identifier.

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

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms