qldb:TagResource

Tagging

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

Resource types

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

arn:${Partition}:qldb:${Region}:${Account}:ledger/${LedgerName}/information_schema/user_tables
catalog
arn:${Partition}:qldb:${Region}:${Account}:ledger/${LedgerName}
ledger
arn:${Partition}:qldb:${Region}:${Account}:stream/${LedgerName}/${StreamId}
stream
arn:${Partition}:qldb:${Region}:${Account}:ledger/${LedgerName}/table/${TableId}
table

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by a tag key and value pair of a resource

Example IAM policy

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

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

Related actions in qldb

View all qldb actions →