Container for the parameters to the CreateOrUpdateTags operation.
Creates new tags or updates existing tags for an Auto Scaling group.
NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.
For information on creating tags for your Auto Scaling group, see Tag Your Auto Scaling Groups and Amazon EC2 Instances .
Declaration Syntax
C# |
public class CreateOrUpdateTagsRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CreateOrUpdateTagsRequest()()()() | Initializes a new instance of the CreateOrUpdateTagsRequest 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.) | |
Tags |
The tag to be created or updated. Each tag should be defined by its resource type, resource ID, key, value, and a propagate flag. The
resource type and resource ID identify the type and name of resource for which the tag is created. Currently, auto-scaling-group is
the only supported resource type. The valid value for the resource ID is groupname. The PropagateAtLaunch flag defines whether
the new tag will be applied to instances launched by the Auto Scaling group. Valid values are true or false. However,
instances that are already running will not get the new or updated tag. Likewise, when you modify a tag, the updated version will be applied
only to new instances launched by the Auto Scaling group after the change. Running instances that had the previous version of the tag will
continue to have the older tag. When you create a tag and a tag of the same name already exists, the operation overwrites the previous tag
definition, but you will not get an error message.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithTags(array<Tag>[]()[][]) | Obsolete.
Adds elements to the Tags collection
| |
WithTags(IEnumerable<(Of <<'(Tag>)>>)) | Obsolete.
Adds elements to the Tags collection
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
CreateOrUpdateTagsRequest |