Skip to content
v2.273.0

AWS::ResourceGroups Construct Library ​

This module is part of the AWS Cloud Development Kit project.

ts
import * as resourcegroups from 'aws-cdk-lib/aws-resourcegroups';
python
import aws_cdk.aws_resourcegroups as resourcegroups
java
import software.amazon.awscdk.services.resourcegroups.*;
csharp
using Amazon.CDK.AWS.ResourceGroups;
go
import resourcegroups "github.com/aws/aws-cdk-go/awscdk"

There are no official hand-written (L2) constructs for this service yet. Here are some suggestions on how to proceed:

There are no hand-written (L2) constructs for this service yet. However, you can still use the automatically generated L1 constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the CloudFormation documentation for AWS::ResourceGroups.

(Read the CDK Contributing Guide and submit an RFC if you are interested in contributing to this construct library.)

Types ​

NameKindSummary
CfnGroupConstruct (L1)Creates a resource group with the specified name and description.
CfnTagSyncTaskConstruct (L1)Onboards and syncs resources tagged with a specific tag key-value pair to an application.
CfnGroup.ConfigurationItemPropertyStructOne of the items in the service configuration assigned to a resource group.
CfnGroup.ConfigurationParameterPropertyStructOne parameter for a group configuration item.
CfnGroup.QueryPropertyStructSpecifies details within a ResourceQuery structure that determines the membership of the resource group.
CfnGroup.ResourceQueryPropertyStructThe query used to dynamically define the members of a group.
CfnGroup.TagFilterPropertyStructSpecifies a single tag key and optional values that you can use to specify membership in a tag-based group.
CfnGroupPropsStructProperties for defining a CfnGroup.
CfnTagSyncTaskPropsStructProperties for defining a CfnTagSyncTask.