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.

The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

Inheritance Hierarchy

System.Object
  Amazon.ResourceGroupsTaggingAPI.Model.Tag

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

Syntax

C#
public class Tag

The Tag type exposes the following members

Constructors

NameDescription
Public Method Tag()

Properties

NameTypeDescription
Public Property Key System.String

Gets and sets the property Key.

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

Public Property Value System.String

Gets and sets the property Value.

One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5