redshift-serverless:TagResource

Tagging

redshift-serverless:TagResource is a Tagging access-level action in the redshift-serverless service. Grants permission to assign one or more tags to a resource

Resource types

ARNs that redshift-serverless:TagResource can be scoped to in an IAM policy.

arn:${Partition}:redshift-serverless:${Region}:${Account}:namespace/${NamespaceId}
namespace
arn:${Partition}:redshift-serverless:${Region}:${Account}:recoverypoint/${RecoveryPointId}
recoveryPoint
arn:${Partition}:redshift-serverless:${Region}:${Account}:snapshot/${SnapshotId}
snapshot
arn:${Partition}:redshift-serverless:${Region}:${Account}:workgroup/${WorkgroupId}
workgroup

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in redshift-serverless

View all redshift-serverless actions →