View a markdown version of this page

Actions, resources, and condition keys for Amazon Resource Group Tagging API - Service Authorization Reference

Actions, resources, and condition keys for Amazon Resource Group Tagging API

Amazon Resource Group Tagging API (service prefix: tag) provides the following service-specific operations, resources, actions, and condition keys for use in IAM permission policies.

References:

API operations defined by Amazon Resource Group Tagging API

The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.

Operation IAM action Condition key Possible value(s) Access level

DescribeReportCreation

tag:DescribeReportCreation

Read

GetComplianceSummary

tag:GetComplianceSummary

Read

GetResources

tag:GetResources

Read

GetTagKeys

tag:GetTagKeys

Read

GetTagValues

tag:GetTagValues

Read

ListRequiredTags

tag:ListRequiredTags

List

StartReportCreation

tag:StartReportCreation

Write

TagResources

tag:TagResources

Tagging, Write

UntagResources

tag:UntagResources

Tagging, Write

Actions defined by Amazon Resource Group Tagging API

You can specify the following actions in the Action element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.

Actions Description Resource types (*required) Condition keys Access level

DescribeReportCreation

Grants permission to describe the status of the StartReportCreation operation

Read

GetComplianceSummary

Grants permission to retrieve a summary of how many resources are noncompliant with their effective tag policies

Read

GetResources

Grants permission to return tagged or previously tagged resources in the specified AWS Region for the calling account

Read

GetTagKeys

Grants permission to returns tag keys currently in use in the specified AWS Region for the calling account

Read

GetTagValues

Grants permission to return tag values for the specified key that are used in the specified AWS Region for the calling account

Read

ListRequiredTags

Grants permission to list required tags for supported resource types in the calling account

List

StartReportCreation

Grants permission to start generating a report listing all tagged resources in accounts across your organization, and whether each resource is compliant with the effective tag policy

Write

TagResources

Grants permission to apply one or more tags to the specified resources

Tagging, Write

UntagResources

Grants permission to remove the specified tags from the specified resources

Tagging, Write

Resource types defined by Amazon Resource Group Tagging API

Amazon Resource Group Tagging API does not support specifying a resource ARN in the Resource element of an IAM policy statement.

Condition keys for Amazon Resource Group Tagging API

Amazon Resource Group Tagging API has no service-specific condition keys that can be used in the Condition element of policy statements.