# DataPrepAggregationFunctionProperty

Defines the type of aggregation function to apply to data during data preparation, supporting simple and list aggregations.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## 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 dataPrepAggregationFunctionProperty: quicksight.CfnDataSet.DataPrepAggregationFunctionProperty = {
  listAggregation: {
    distinct: false,
    separator: 'separator',

    // the properties below are optional
    inputColumnName: 'inputColumnName',
  },
  percentileAggregation: {
    percentileValue: 123,

    // the properties below are optional
    inputColumnName: 'inputColumnName',
  },
  simpleAggregation: {
    functionType: 'functionType',

    // the properties below are optional
    inputColumnName: 'inputColumnName',
  },
};
```

## Properties

- `listAggregation`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.DataPrepListAggregationFunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.DataPrepListAggregationFunctionProperty.html) — A list aggregation function that concatenates values from multiple rows into a single delimited string.

- `percentileAggregation`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.DataPrepPercentileAggregationFunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.DataPrepPercentileAggregationFunctionProperty.html)

- `simpleAggregation`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.DataPrepSimpleAggregationFunctionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.DataPrepSimpleAggregationFunctionProperty.html) — A simple aggregation function such as `SUM` , `COUNT` , `AVERAGE` , `MIN` , `MAX` , `MEDIAN` , `VARIANCE` , or `STANDARD_DEVIATION` .
