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.

A key-value pair containing user-defined metadata that you can associate with 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 Tag Clusters.

Inheritance Hierarchy

System.Object
  Amazon.ElasticMapReduce.Model.Tag

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

Syntax

C#
public class Tag

The Tag type exposes the following members

Constructors

NameDescription
Public Method Tag()

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

Public Method Tag(string, string)

Instantiates Tag with the parameterized properties

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag.

Public Property Value System.String

Gets and sets the property Value.

A user-defined value, which is optional in a tag. For more information, see Tag Clusters.

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