iotdeviceadvisor:TagResource

Tagging

iotdeviceadvisor:TagResource is a Tagging access-level action in the iotdeviceadvisor service. Grants permission to add to or modify the tags of the given resource. Tags are metadata which can be used to manage a resource

Resource types

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

arn:${Partition}:iotdeviceadvisor:${Region}:${Account}:suitedefinition/${SuiteDefinitionId}
Suitedefinition
arn:${Partition}:iotdeviceadvisor:${Region}:${Account}:suiterun/${SuiteDefinitionId}/${SuiteRunId}
Suiterun

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

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

Related actions in iotdeviceadvisor

View all iotdeviceadvisor actions →