# GroupingConfigurationProperty

The configuration information of the grouping of Amazon Q in Connect users.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const groupingConfigurationProperty: wisdom.CfnMessageTemplate.GroupingConfigurationProperty = {
  criteria: 'criteria',
  values: ['values'],
};
```

Python:

```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_wisdom as wisdom

grouping_configuration_property = wisdom.CfnMessageTemplate.GroupingConfigurationProperty(
    criteria="criteria",
    values=["values"]
)
```

Java:

```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.wisdom.*;

GroupingConfigurationProperty groupingConfigurationProperty = GroupingConfigurationProperty.builder()
        .criteria("criteria")
        .values(List.of("values"))
        .build();
```

C# / .NET:

```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.Wisdom;

var groupingConfigurationProperty = new GroupingConfigurationProperty {
    Criteria = "criteria",
    Values = new [] { "values" }
};
```

Golang:

```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"

groupingConfigurationProperty := &GroupingConfigurationProperty{
	Criteria: jsii.String("criteria"),
	Values: []*string{
		jsii.String("values"),
	},
}
```

## Properties

- `criteria`: string (required) — The criteria used for grouping Amazon Q in Connect users.

  The following is the list of supported criteria values.

  - `RoutingProfileArn` : Grouping the users by their [Amazon Connect routing profile ARN](https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html) . User should have [SearchRoutingProfile](https://docs.aws.amazon.com/connect/latest/APIReference/API_SearchRoutingProfiles.html) and [DescribeRoutingProfile](https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeRoutingProfile.html) permissions when setting criteria to this value.

- `values`: string[] (required) — The list of values that define different groups of Amazon Q in Connect users.

  - When setting `criteria` to `RoutingProfileArn` , you need to provide a list of ARNs of [Amazon Connect routing profiles](https://docs.aws.amazon.com/connect/latest/APIReference/API_RoutingProfile.html) as values of this parameter.
