Creates or updates tags for the specified Auto Scaling group.
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 more information, see Add, Modify, or Remove Auto Scaling Group Tags in the Auto Scaling Developer Guide.
For information about the common parameters that all actions use, see Common Parameters.
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.
PropagateAtLaunch flag defines whether the new tag will be applied to instances launched by
the group. Valid values are
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 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.
Type: Tag list
For information about the errors that are common to all actions, see Common Errors.
You already have an Auto Scaling group or launch configuration with this name.
HTTP Status Code: 400
The limit for the number of Auto Scaling groups or launch configurations has already been reached.
HTTP Status Code: 400
https://autoscaling.amazonaws.com/?Tags.member.1.ResourceId=my-test-asg &Tags.member.1.ResourceType=auto-scaling-group &Tags.member.1.Key=version &Tags.member.1.Value=1.0 &Tags.member.1.PropagateAtLaunch=true &Version=2011-01-01 &Action=CreateOrUpdateTags &AUTHPARAMS
<CreateOrUpdateTagsResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/"> <ResponseMetadata> <RequestId>b0203919-bf1b-11e2-8a01-13263EXAMPLE</RequestId> </ResponseMetadata> </CreateOrUpdateTagsResponse>