autoscaling:CreateOrUpdateTags

Tagging

autoscaling:CreateOrUpdateTags is a Tagging access-level action in the autoscaling service. Grants permission to create or update tags for the specified Auto Scaling group

Resource types

ARNs that autoscaling:CreateOrUpdateTags can be scoped to in an IAM policy.

arn:${Partition}:autoscaling:${Region}:${Account}:autoScalingGroup:${GroupId}:autoScalingGroupName/${GroupFriendlyName} required
autoScalingGroup

Condition keys

Keys you can use in the Condition block of a policy that grants autoscaling:CreateOrUpdateTags.

aws:RequestTag/${TagKey} String

Filters access based on the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access based on the tag keys that are passed in the request

autoscaling:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Example IAM policy

A minimal policy that allows autoscaling:CreateOrUpdateTags. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAutoscalingCreateOrUpdateTags",
      "Effect": "Allow",
      "Action": "autoscaling:CreateOrUpdateTags",
      "Resource": "*"
    }
  ]
}

Related actions in autoscaling

View all autoscaling actions →