aco-automation:TagResource

Tagging

aco-automation:TagResource is a Tagging access-level action in the aco-automation service. Grants permission to add tags to automation rule

Resource types

ARNs that aco-automation:TagResource can be scoped to in an IAM policy.

arn:${Partition}:compute-optimizer::${Account}:automation-rule/${RuleId}
AutomationRule

Condition keys

Keys you can use in the Condition block of a policy that grants aco-automation:TagResource.

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

A minimal policy that allows aco-automation:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowAcoautomationTagResource",
      "Effect": "Allow",
      "Action": "aco-automation:TagResource",
      "Resource": "*"
    }
  ]
}

Related actions in aco-automation

View all aco-automation actions →