interface AggregationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDataSetPropsMixin.AggregationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDataSetPropsMixin_AggregationProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSetPropsMixin.AggregationProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDataSetPropsMixin.AggregationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDataSetPropsMixin » AggregationProperty |
Defines an aggregation function to be applied to grouped data, creating a new column with the calculated result.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const aggregationProperty: quicksight_mixins.CfnDataSetPropsMixin.AggregationProperty = {
aggregationFunction: {
listAggregation: {
distinct: false,
inputColumnName: 'inputColumnName',
separator: 'separator',
},
percentileAggregation: {
inputColumnName: 'inputColumnName',
percentileValue: 123,
},
simpleAggregation: {
functionType: 'functionType',
inputColumnName: 'inputColumnName',
},
},
newColumnId: 'newColumnId',
newColumnName: 'newColumnName',
};
Properties
| Name | Type | Description |
|---|---|---|
| aggregation | IResolvable | Data | The aggregation function to apply, such as SUM , COUNT , AVERAGE , MIN , MAX. |
| new | string | A unique identifier for the new column that will contain the aggregated values. |
| new | string | The name for the new column that will contain the aggregated values. |
aggregationFunction?
Type:
IResolvable | Data
(optional)
The aggregation function to apply, such as SUM , COUNT , AVERAGE , MIN , MAX.
newColumnId?
Type:
string
(optional)
A unique identifier for the new column that will contain the aggregated values.
newColumnName?
Type:
string
(optional)
The name for the new column that will contain the aggregated values.

.NET
Go
Java
Python
TypeScript