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 a resource to help you categorize and organize them. Each tag consists of a key and an optional value. You define them.

The following basic restrictions apply to tags:

Inheritance Hierarchy

System.Object
  Amazon.ECS.Model.Tag

Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.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 make 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.

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).

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