Skip to content
v2.278.0

DataAggregationProperty Struct ​

The definition of a data aggregation.

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 dataAggregationProperty: quicksight.CfnTopic.DataAggregationProperty = {
  datasetRowDateGranularity: 'datasetRowDateGranularity',
  defaultDateColumnName: 'defaultDateColumnName',
};
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_aggregation_property = quicksight.CfnTopic.DataAggregationProperty(
    dataset_row_date_granularity="datasetRowDateGranularity",
    default_date_column_name="defaultDateColumnName"
)
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.*;

DataAggregationProperty dataAggregationProperty = DataAggregationProperty.builder()
        .datasetRowDateGranularity("datasetRowDateGranularity")
        .defaultDateColumnName("defaultDateColumnName")
        .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 dataAggregationProperty = new DataAggregationProperty {
    DatasetRowDateGranularity = "datasetRowDateGranularity",
    DefaultDateColumnName = "defaultDateColumnName"
};
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"

dataAggregationProperty := &DataAggregationProperty{
	DatasetRowDateGranularity: jsii.String("datasetRowDateGranularity"),
	DefaultDateColumnName: jsii.String("defaultDateColumnName"),
}

Properties ​

datasetRowDateGranularityoptionalstringdataset_row_date_granularityoptionalstrdatasetRowDateGranularityoptionalStringDatasetRowDateGranularityoptionalstringDatasetRowDateGranularityoptional*string #
The level of time precision that is used to aggregate `DateTime` values.
defaultDateColumnNameoptionalstringdefault_date_column_nameoptionalstrdefaultDateColumnNameoptionalStringDefaultDateColumnNameoptionalstringDefaultDateColumnNameoptional*string #
The column name for the default date.