# AttributeAggregationFunctionProperty

Aggregation for attributes.

- Source: Generated code
- Type last changed: v2.95.0 · 7 Sep 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const attributeAggregationFunctionProperty: quicksight.CfnDashboard.AttributeAggregationFunctionProperty = {
  simpleAttributeAggregation: 'simpleAttributeAggregation',
  valueForMultipleValues: 'valueForMultipleValues',
};
```

## Properties

- `simpleAttributeAggregation`: string — The built-in aggregation functions for attributes.

  - `UNIQUE_VALUE` : Returns the unique value for a field, aggregated by the dimension fields.

- `valueForMultipleValues`: string — Used by the `UNIQUE_VALUE` aggregation function.

  If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.
