# AWS::ResourceGroups Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as resourcegroups from 'aws-cdk-lib/aws-resourcegroups';
```

Python:

```python
import aws_cdk.aws_resourcegroups as resourcegroups
```

Java:

```java
import software.amazon.awscdk.services.resourcegroups.*;
```

C# / .NET:

```csharp
using Amazon.CDK.AWS.ResourceGroups;
```

Golang:

```go
import resourcegroups "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for ResourceGroups construct libraries](https://constructs.dev/search?q=resourcegroups)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::ResourceGroups resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ResourceGroups.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ResourceGroups.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.html) Construct (L1) Creates a resource group with the specified name and description.
- [`CfnTagSyncTask`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnTagSyncTask.html) Construct (L1) Onboards and syncs resources tagged with a specific tag key-value pair to an application.

### Structs

- [`CfnGroup.ConfigurationItemProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.ConfigurationItemProperty.html) Struct One of the items in the service configuration assigned to a resource group.
- [`CfnGroup.ConfigurationParameterProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.ConfigurationParameterProperty.html) Struct One parameter for a group configuration item.
- [`CfnGroup.QueryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.QueryProperty.html) Struct Specifies details within a `ResourceQuery` structure that determines the membership of the resource group.
- [`CfnGroup.ResourceQueryProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.ResourceQueryProperty.html) Struct The query used to dynamically define the members of a group.
- [`CfnGroup.TagFilterProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroup.TagFilterProperty.html) Struct Specifies a single tag key and optional values that you can use to specify membership in a tag-based group.
- [`CfnGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnGroupProps.html) Struct Properties for defining a `CfnGroup`.
- [`CfnTagSyncTaskProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_resourcegroups.CfnTagSyncTaskProps.html) Struct Properties for defining a `CfnTagSyncTask`.
