Skip to content
v2.277.0

DataPrepSimpleAggregationFunctionProperty Struct ​

A simple aggregation function that performs standard statistical operations on a column.

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 dataPrepSimpleAggregationFunctionProperty: quicksight.CfnDataSet.DataPrepSimpleAggregationFunctionProperty = {
  functionType: 'functionType',

  // the properties below are optional
  inputColumnName: 'inputColumnName',
};
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_quicksight as quicksight

data_prep_simple_aggregation_function_property = quicksight.CfnDataSet.DataPrepSimpleAggregationFunctionProperty(
    function_type="functionType",

    # the properties below are optional
    input_column_name="inputColumnName"
)
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.quicksight.*;

DataPrepSimpleAggregationFunctionProperty dataPrepSimpleAggregationFunctionProperty = DataPrepSimpleAggregationFunctionProperty.builder()
        .functionType("functionType")

        // the properties below are optional
        .inputColumnName("inputColumnName")
        .build();
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.QuickSight;

var dataPrepSimpleAggregationFunctionProperty = new DataPrepSimpleAggregationFunctionProperty {
    FunctionType = "functionType",

    // the properties below are optional
    InputColumnName = "inputColumnName"
};
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"

dataPrepSimpleAggregationFunctionProperty := &DataPrepSimpleAggregationFunctionProperty{
	FunctionType: jsii.String("functionType"),

	// the properties below are optional
	InputColumnName: jsii.String("inputColumnName"),
}

Properties ​

functionTypestringfunction_typestrfunctionTypeStringFunctionTypestringFunctionType*stringrequired#
The type of aggregation function to perform, such as `COUNT` , `SUM` , `AVERAGE` , `MIN` , `MAX` , `MEDIAN` , `VARIANCE` , or `STANDARD_DEVIATION` .
inputColumnNameoptionalstringinput_column_nameoptionalstrinputColumnNameoptionalStringInputColumnNameoptionalstringInputColumnNameoptional*string#
The name of the column on which to perform the aggregation function.