AWS SDK for .NET Documentation
Tag Class
Amazon ► Amazon.CloudFormation.Model ► Tag Did this page help you?   Yes   No    Tell us about it...

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.

Declaration Syntax
C#
public class Tag
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Tag()()()()
Initializes a new instance of the Tag class

Equals(Object)
Determines whether the specified Object is equal to the current 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

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)