/AWS1/CL_RGR=>STARTTAGSYNCTASK()
¶
About StartTagSyncTask¶
Creates a new tag-sync task to onboard and sync resources tagged with a specific tag key-value pair to an application.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:StartTagSyncTask
on the application group -
resource-groups:CreateGroup
-
iam:PassRole
on the role provided in the request
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_GROUP
TYPE /AWS1/RGRGROUPSTRINGV2
/AWS1/RGRGROUPSTRINGV2
¶
The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
IV_TAGKEY
TYPE /AWS1/RGRTAGKEY
/AWS1/RGRTAGKEY
¶
The tag key. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
IV_TAGVALUE
TYPE /AWS1/RGRTAGVALUE
/AWS1/RGRTAGVALUE
¶
The tag value. Resources tagged with this tag key-value pair will be added to the application. If a resource with this tag is later untagged, the tag-sync task removes the resource from the application.
IV_ROLEARN
TYPE /AWS1/RGRROLEARN
/AWS1/RGRROLEARN
¶
The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.