sqlworkbench:TagResource

Tagging

sqlworkbench:TagResource is a Tagging access-level action in the sqlworkbench service. Grants permission to tag an sqlworkbench resource

Resource types

ARNs that sqlworkbench:TagResource can be scoped to in an IAM policy.

arn:${Partition}:sqlworkbench:${Region}:${Account}:chart/${ResourceId}
chart
arn:${Partition}:sqlworkbench:${Region}:${Account}:connection/${ResourceId}
connection
arn:${Partition}:sqlworkbench:${Region}:${Account}:notebook/${ResourceId}
notebook
arn:${Partition}:sqlworkbench:${Region}:${Account}:query/${ResourceId}
query

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags that are associated with the resource

Example IAM policy

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

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

Related actions in sqlworkbench

View all sqlworkbench actions →