AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ResourceGroups::TagSyncTask

CfnTagSyncTask

Onboards 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

import { CfnTagSyncTask } from 'aws-cdk-lib/aws-resourcegroups';

Or use the module namespace:

import * as resourcegroups from 'aws-cdk-lib/aws-resourcegroups';
// resourcegroups.CfnTagSyncTask

Properties

Configuration passed to the constructor as CfnTagSyncTaskProps.

groupRequired
string

The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.

roleArnRequired
string

The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.

tagKeyRequired
string

The tag key.

tagValueRequired
string

The tag value.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-resourcegroups
CFN TypeAWS::ResourceGroups::TagSyncTask
Properties4

Related Constructs

External Links