The tag applied to an Auto Scaling group.
| 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 |
The key of the tag.
Constraints: | |
| 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: | |
| ResourceType |
The kind of resource to which the tag is applied. Currently, Auto Scaling supports the auto-scaling-group resource type.
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| Value |
The value of the tag.
Constraints: | |
| WithKey(String) | Obsolete.
Sets the Key property
| |
| WithPropagateAtLaunch(Boolean) | Obsolete.
Sets the PropagateAtLaunch property
| |
| WithResourceId(String) | Obsolete.
Sets the ResourceId property
| |
| WithResourceType(String) | Obsolete.
Sets the ResourceType property
| |
| WithValue(String) | Obsolete.
Sets the Value property
|
| Object | |
| Tag | |