DataPrepAggregationFunctionProperty Struct
Defines the type of aggregation function to apply to data during data preparation, supporting simple and list aggregations.
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
listAggregationIResolvable | CfnDataSet.DataPrepListAggregationFunctionPropertylist_aggregationtyping.Union[IResolvable, DataPrepListAggregationFunctionProperty]listAggregationIResolvableListAggregationIResolvableListAggregationinterface{}#A list aggregation function that concatenates values from multiple rows into a single delimited string.
percentileAggregationIResolvable | CfnDataSet.DataPrepPercentileAggregationFunctionPropertypercentile_aggregationtyping.Union[IResolvable, DataPrepPercentileAggregationFunctionProperty]percentileAggregationIResolvablePercentileAggregationIResolvablePercentileAggregationinterface{}#simpleAggregationIResolvable | CfnDataSet.DataPrepSimpleAggregationFunctionPropertysimple_aggregationtyping.Union[IResolvable, DataPrepSimpleAggregationFunctionProperty]simpleAggregationIResolvableSimpleAggregationIResolvableSimpleAggregationinterface{}#A simple aggregation function such as `SUM` , `COUNT` , `AVERAGE` , `MIN` , `MAX` , `MEDIAN` , `VARIANCE` , or `STANDARD_DEVIATION` .