# FilterAttributeDimensionProperty

Struct · External

Object that defines how to filter the incoming objects for the calculated attribute.

- 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 filterAttributeDimensionProperty: customerprofiles.CfnCalculatedAttributeDefinition.FilterAttributeDimensionProperty = {
  dimensionType: 'dimensionType',
  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_customerprofiles as customerprofiles

filter_attribute_dimension_property = customerprofiles.CfnCalculatedAttributeDefinition.FilterAttributeDimensionProperty(
    dimension_type="dimensionType",
    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.customerprofiles.*;

FilterAttributeDimensionProperty filterAttributeDimensionProperty = FilterAttributeDimensionProperty.builder()
        .dimensionType("dimensionType")
        .values(List.of("values"))
        .build();
```

C#:

```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 filterAttributeDimensionProperty = new FilterAttributeDimensionProperty {
    DimensionType = "dimensionType",
    Values = new [] { "values" }
};
```

Go:

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

filterAttributeDimensionProperty := &FilterAttributeDimensionProperty{
	DimensionType: jsii.String("dimensionType"),
	Values: []*string{
		jsii.String("values"),
	},
}
```

## Properties

- `dimensionType`: string (required) — The action to filter with.

- `values`: string[] (required) — The values to apply the DimensionType on.
