# FilterGroupProperty

Object that holds the dimensions to filter on.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const filterGroupProperty: customerprofiles.CfnCalculatedAttributeDefinition.FilterGroupProperty = {
  dimensions: [{
    attributes: {
      attributesKey: {
        dimensionType: 'dimensionType',
        values: ['values'],
      },
    },
  }],
  type: 'type',
};
```

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_customerprofiles as customerprofiles

filter_group_property = customerprofiles.CfnCalculatedAttributeDefinition.FilterGroupProperty(
    dimensions=[customerprofiles.CfnCalculatedAttributeDefinition.FilterDimensionProperty(
        attributes={
            "attributes_key": customerprofiles.CfnCalculatedAttributeDefinition.FilterAttributeDimensionProperty(
                dimension_type="dimensionType",
                values=["values"]
            )
        }
    )],
    type="type"
)
```

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.customerprofiles.*;

FilterGroupProperty filterGroupProperty = FilterGroupProperty.builder()
        .dimensions(List.of(FilterDimensionProperty.builder()
                .attributes(Map.of(
                        "attributesKey", FilterAttributeDimensionProperty.builder()
                                .dimensionType("dimensionType")
                                .values(List.of("values"))
                                .build()))
                .build()))
        .type("type")
        .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.CustomerProfiles;

var filterGroupProperty = new FilterGroupProperty {
    Dimensions = new [] { new FilterDimensionProperty {
        Attributes = new Dictionary<string, object> {
            { "attributesKey", new FilterAttributeDimensionProperty {
                DimensionType = "dimensionType",
                Values = new [] { "values" }
            } }
        }
    } },
    Type = "type"
};
```

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"

filterGroupProperty := &FilterGroupProperty{
	Dimensions: []interface{}{
		&FilterDimensionProperty{
			Attributes: map[string]interface{}{
				"attributesKey": &FilterAttributeDimensionProperty{
					"dimensionType": jsii.String("dimensionType"),
					"values": []*string{
						jsii.String("values"),
					},
				},
			},
		},
	},
	Type: jsii.String("type"),
}
```

## Properties

- `dimensions`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCalculatedAttributeDefinition.FilterDimensionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_customerprofiles.CfnCalculatedAttributeDefinition.FilterDimensionProperty.html)[] (required)

- `type`: string (required) — The type of logical relationship between the dimensions of the Filter group.
