vendor-insights:TagResource

Tagging

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

Resource types

ARNs that vendor-insights:TagResource can be scoped to in an IAM policy.

arn:${Partition}:vendor-insights:::data-source:${ResourceId}
DataSource
arn:${Partition}:vendor-insights:::security-profile:${ResourceId}
SecurityProfile

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by tags that are passed in the request

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

aws:TagKeys ArrayOfString

Filters access by tag keys that are passed in the request

Example IAM policy

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

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

Related actions in vendor-insights

View all vendor-insights actions →