aws-cdk-lib.aws_quicksight.CfnDashboard.TopBottomFilterProperty

interface TopBottomFilterProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.TopBottomFilterProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_TopBottomFilterProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.TopBottomFilterProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.TopBottomFilterProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » TopBottomFilterProperty

A TopBottomFilter filters values that are at the top or the bottom.

Example

// 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 topBottomFilterProperty: quicksight.CfnDashboard.TopBottomFilterProperty = {
  aggregationSortConfigurations: [{
    column: {
      columnName: 'columnName',
      dataSetIdentifier: 'dataSetIdentifier',
    },
    sortDirection: 'sortDirection',

    // the properties below are optional
    aggregationFunction: {
      categoricalAggregationFunction: 'categoricalAggregationFunction',
      dateAggregationFunction: 'dateAggregationFunction',
      numericalAggregationFunction: {
        percentileAggregation: {
          percentileValue: 123,
        },
        simpleNumericalAggregation: 'simpleNumericalAggregation',
      },
    },
  }],
  column: {
    columnName: 'columnName',
    dataSetIdentifier: 'dataSetIdentifier',
  },
  filterId: 'filterId',

  // the properties below are optional
  limit: 123,
  parameterName: 'parameterName',
  timeGranularity: 'timeGranularity',
};

Properties

NameTypeDescription
aggregationSortConfigurationsIResolvable | IResolvable | AggregationSortConfigurationProperty[]The aggregation and sort configuration of the top bottom filter.
columnIResolvable | ColumnIdentifierPropertyThe column that the filter is applied to.
filterIdstringAn identifier that uniquely identifies a filter within a dashboard, analysis, or template.
limit?numberThe number of items to include in the top bottom filter results.
parameterName?stringThe parameter whose value should be used for the filter value.
timeGranularity?stringThe level of time precision that is used to aggregate DateTime values.

aggregationSortConfigurations

Type: IResolvable | IResolvable | AggregationSortConfigurationProperty[]

The aggregation and sort configuration of the top bottom filter.


column

Type: IResolvable | ColumnIdentifierProperty

The column that the filter is applied to.


filterId

Type: string

An identifier that uniquely identifies a filter within a dashboard, analysis, or template.


limit?

Type: number (optional)

The number of items to include in the top bottom filter results.


parameterName?

Type: string (optional)

The parameter whose value should be used for the filter value.


timeGranularity?

Type: string (optional)

The level of time precision that is used to aggregate DateTime values.