CfnTagSyncTaskProps Struct
Properties for defining a CfnTagSyncTask.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resourcegroups as resourcegroups } from 'aws-cdk-lib';
const cfnTagSyncTaskProps: resourcegroups.CfnTagSyncTaskProps = {
group: 'group',
roleArn: 'roleArn',
tagKey: 'tagKey',
tagValue: 'tagValue',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resourcegroups as resourcegroups
cfn_tag_sync_task_props = resourcegroups.CfnTagSyncTaskProps(
group="group",
role_arn="roleArn",
tag_key="tagKey",
tag_value="tagValue"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.resourcegroups.*;
CfnTagSyncTaskProps cfnTagSyncTaskProps = CfnTagSyncTaskProps.builder()
.group("group")
.roleArn("roleArn")
.tagKey("tagKey")
.tagValue("tagValue")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ResourceGroups;
var cfnTagSyncTaskProps = new CfnTagSyncTaskProps {
Group = "group",
RoleArn = "roleArn",
TagKey = "tagKey",
TagValue = "tagValue"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnTagSyncTaskProps := &CfnTagSyncTaskProps{
Group: jsii.String("group"),
RoleArn: jsii.String("roleArn"),
TagKey: jsii.String("tagKey"),
TagValue: jsii.String("tagValue"),
}
Properties
The Amazon resource name (ARN) or name of the application group for which you want to create a tag-sync task.
The Amazon resource name (ARN) of the role assumed by the service to tag and untag resources on your behalf.
The tag key.
The tag value.