AWS::ResourceGroups::TagSyncTaskOnboards and syncs 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` - `resource-groups:CreateGroup` - `iam:PassRole` for the role you provide to create a tag-sync task
import { CfnTagSyncTask } from 'aws-cdk-lib/aws-resourcegroups';Or use the module namespace:
import * as resourcegroups from 'aws-cdk-lib/aws-resourcegroups';
// resourcegroups.CfnTagSyncTaskConfiguration passed to the constructor as CfnTagSyncTaskProps.
groupRequiredstringThe Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
roleArnRequiredstringThe Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
tagKeyRequiredstringThe tag key.
tagValueRequiredstringThe tag value.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-resourcegroupsAWS::ResourceGroups::TagSyncTask