apptest:TagResource

Tagging

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

Resource types

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

arn:${Partition}:apptest:${Region}:${Account}:testcase/${TestCaseId}
TestCase
arn:${Partition}:apptest:${Region}:${Account}:testconfiguration/${TestConfigurationId}
TestConfiguration
arn:${Partition}:apptest:${Region}:${Account}:testrun/${TestRunId}
TestRun
arn:${Partition}:apptest:${Region}:${Account}:testsuite/${TestSuiteId}
TestSuite

Condition keys

Keys you can use in the Condition block of a policy that grants apptest: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 apptest:TagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in apptest

View all apptest actions →