Metadata to associate with Amazon EC2 resources.
Each tag consists of a user-defined key and value.
Use tags to categorize EC2 resources, such as by purpose,
owner, or environment.
| C# |
public class Tag
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Tag()()()() | Initializes a new instance of the Tag class | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| IsSetKey()()()() |
Checks if Key property is set
| |
| IsSetValue()()()() |
Checks if Value property is set
| |
| Key |
The tag's key.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| Value |
The tag's value.
| |
| WithKey(String) | Obsolete.
Sets the tag's key.
| |
| WithValue(String) | Obsolete.
Sets the tag's value.
|
| Object | |
| Tag | |