Services that support the Resource Groups Tagging API
You can use the Resource Groups Tagging API to tag resources for the following AWS services.
Note
This list includes only those AWS services that work with the Resource Groups Tagging API.
If an AWS service isn't listed below, you might still be able to tag that service's resources by using the service's native tagging operations instead of using the Resource Groups Tagging API operations. See the documentation for an individual service for information about that service's native tagging operations.
This lets you tag resources by using the AWS CLI version of the service's operation. For example, you could tag an IAM role by using a command similar to the following example:
$
aws iam tag-role --role-name ProdAppRole --tags Key=CostCenter,Value=1234
For a list of the AWS services that work with Tag Editor, see Supported Resources in the AWS Resource Groups User Guide.
IAM users and roles can only be used in TagResource
and UntagResources
operations. The
GetResources
operation does not currently support IAM users and roles.
-
The
TagResources
andUntagResources
operations of AWS Resource Groups Tagging API work as documented with Auto Scaling Groups. However, theGetTagKey
,GetTagValues
andGetResources
operations aren't supported at this time and return an empty response for this service. -
AWS Identity and Access Management (IAM) – at this time, you can tag only the following IAM resources using the Resource Groups Tagging API:
-
instance-profile
-
mfa
-
oidc-provider
-
policy
-
role
-
saml-provider
-
server-certificate
-
user
-
-
AWS IoT 1-Click – at this time, you can tag only the following AWS IoT 1-Click resources using the Resource Groups Tagging API:
-
projects
-
devices
-