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:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:
, AWS:
, or any upper or lowercase combination of such
as a prefix for either keys or values as it is reserved for Amazon Web Services use.
You cannot edit or delete tag keys or values with this prefix. Tags with this prefix
do not count against your tags per resource limit.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class Tag
The Tag type exposes the following members
Name | Description | |
---|---|---|
Tag() |
Name | Type | Description | |
---|---|---|---|
Key | System.String |
Gets and sets the property Key.
One part of a key-value pair that make up a tag. A |
|
Value | System.String |
Gets and sets the property Value.
The optional part of a key-value pair that make up a tag. A |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5