b2bi:TagResource

Tagging

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

Resource types

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

arn:${Partition}:b2bi:${Region}:${Account}:capability/${ResourceId}
capability
arn:${Partition}:b2bi:${Region}:${Account}:partnership/${ResourceId}
partnership
arn:${Partition}:b2bi:${Region}:${Account}:profile/${ResourceId}
profile
arn:${Partition}:b2bi:${Region}:${Account}:transformer/${ResourceId}
transformer

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in b2bi

View all b2bi actions →