interface TopBottomFilterProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.TopBottomFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_TopBottomFilterProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.TopBottomFilterProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.TopBottomFilterProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » 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.CfnTemplate.TopBottomFilterProperty = {
aggregationSortConfigurations: [{
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
sortDirection: 'sortDirection',
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
}],
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
filterId: 'filterId',
// the properties below are optional
defaultFilterControlConfiguration: {
controlOptions: {
defaultDateTimePickerOptions: {
commitMode: 'commitMode',
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultDropdownOptions: {
commitMode: 'commitMode',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultListOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
searchOptions: {
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultRelativeDateTimeOptions: {
commitMode: 'commitMode',
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultSliderOptions: {
maximumValue: 123,
minimumValue: 123,
stepSize: 123,
// the properties below are optional
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultTextAreaOptions: {
delimiter: 'delimiter',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultTextFieldOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
},
title: 'title',
},
limit: 123,
parameterName: 'parameterName',
timeGranularity: 'timeGranularity',
};
Properties
Name | Type | Description |
---|---|---|
aggregation | IResolvable | IResolvable | Aggregation [] | The aggregation and sort configuration of the top bottom filter. |
column | IResolvable | Column | The column that the filter is applied to. |
filter | string | An identifier that uniquely identifies a filter within a dashboard, analysis, or template. |
default | IResolvable | Default | The default configurations for the associated controls. |
limit? | number | The number of items to include in the top bottom filter results. |
parameter | string | The parameter whose value should be used for the filter value. |
time | string | The level of time precision that is used to aggregate DateTime values. |
aggregationSortConfigurations
Type:
IResolvable
|
IResolvable
|
Aggregation
[]
The aggregation and sort configuration of the top bottom filter.
column
Type:
IResolvable
|
Column
The column that the filter is applied to.
filterId
Type:
string
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
defaultFilterControlConfiguration?
Type:
IResolvable
|
Default
(optional)
The default configurations for the associated controls.
This applies only for filters that are scoped to multiple sheets.
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.