AWS SDK for .NET Documentation
Tag Class
AmazonAmazon.AutoScaling.ModelTag Did this page help you?   Yes   No    Tell us about it...

The tag applied to an Auto Scaling group.

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
The key of the tag.

Constraints:

Length
1 - 128
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


PropagateAtLaunch
Specifies whether the new tag will be applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, the changed tag will be applied to all instances launched after you made the change.

ResourceId
The name of the Auto Scaling group.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


ResourceType
The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.

Constraints:

Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Value
The value of the tag.

Constraints:

Length
0 - 256
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


WithKey(String)
Sets the Key property

WithPropagateAtLaunch(Boolean)
Sets the PropagateAtLaunch property

WithResourceId(String)
Sets the ResourceId property

WithResourceType(String)
Sets the ResourceType property

WithValue(String)
Sets the Value property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)