Auto Scaling
API Reference (API Version 2011-01-01)
Did this page help you?  Yes | No |  Tell us about it...
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.


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.

Request Parameters

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.

The PropagateAtLaunch flag defines whether the new tag will be applied to instances launched by the 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 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

Required: Yes


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


Sample Request

Sample Response

<CreateOrUpdateTagsResponse xmlns="">