The Tag type is used by CreateStack in the Tags parameter. It allows you to specify a key/value pair that can be used to store information related to cost allocation for an AWS CloudFormation stack.
| 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.) | |
| Key | Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web
Services (AWS) have the reserved prefix: aws:.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| Value | Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
| |
| WithKey(String) | Obsolete.
Sets the Key property
| |
| WithValue(String) | Obsolete.
Sets the Value property
|
| Object | |
| Tag | |