Skip to content
v2.273.0

AttributeAggregationFunctionProperty Struct ​

Aggregation for attributes.

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 ​

simpleAttributeAggregationstringsimple_attribute_aggregationstrsimpleAttributeAggregationStringSimpleAttributeAggregationstringSimpleAttributeAggregation*string#
The built-in aggregation functions for attributes.
  • UNIQUE_VALUE : Returns the unique value for a field, aggregated by the dimension fields.
valueForMultipleValuesstringvalue_for_multiple_valuesstrvalueForMultipleValuesStringValueForMultipleValuesstringValueForMultipleValues*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 '*'.