Skip to content
v2.277.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.CfnAnalysis.AttributeAggregationFunctionProperty = {
  simpleAttributeAggregation: 'simpleAttributeAggregation',
  valueForMultipleValues: 'valueForMultipleValues',
};
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

attribute_aggregation_function_property = quicksight.CfnAnalysis.AttributeAggregationFunctionProperty(
    simple_attribute_aggregation="simpleAttributeAggregation",
    value_for_multiple_values="valueForMultipleValues"
)
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.*;

AttributeAggregationFunctionProperty attributeAggregationFunctionProperty = AttributeAggregationFunctionProperty.builder()
        .simpleAttributeAggregation("simpleAttributeAggregation")
        .valueForMultipleValues("valueForMultipleValues")
        .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 attributeAggregationFunctionProperty = new AttributeAggregationFunctionProperty {
    SimpleAttributeAggregation = "simpleAttributeAggregation",
    ValueForMultipleValues = "valueForMultipleValues"
};
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"

attributeAggregationFunctionProperty := &AttributeAggregationFunctionProperty{
	SimpleAttributeAggregation: jsii.String("simpleAttributeAggregation"),
	ValueForMultipleValues: jsii.String("valueForMultipleValues"),
}

Properties ​

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