Skip to content
v2.274.0

NumericEqualityFilterProperty Struct ​

A NumericEqualityFilter filters values that are equal to the specified value.

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 numericEqualityFilterProperty: quicksight.CfnDashboard.NumericEqualityFilterProperty = {
  column: {
    columnName: 'columnName',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
    topicIdentifier: 'topicIdentifier',
  },
  filterId: 'filterId',
  matchOperator: 'matchOperator',
  nullOption: 'nullOption',

  // the properties below are optional
  aggregationFunction: {
    attributeAggregationFunction: {
      simpleAttributeAggregation: 'simpleAttributeAggregation',
      valueForMultipleValues: 'valueForMultipleValues',
    },
    categoricalAggregationFunction: 'categoricalAggregationFunction',
    dateAggregationFunction: 'dateAggregationFunction',
    numericalAggregationFunction: {
      percentileAggregation: {
        percentileValue: 123,
      },
      simpleNumericalAggregation: 'simpleNumericalAggregation',
    },
  },
  defaultFilterControlConfiguration: {
    controlOptions: {
      defaultDateTimePickerOptions: {
        commitMode: 'commitMode',
        displayOptions: {
          dateIconVisibility: 'dateIconVisibility',
          dateTimeFormat: 'dateTimeFormat',
          helperTextVisibility: 'helperTextVisibility',
          infoIconLabelOptions: {
            infoIconText: 'infoIconText',
            visibility: 'visibility',
          },
          titleOptions: {
            customLabel: 'customLabel',
            fontConfiguration: {
              fontColor: 'fontColor',
              fontDecoration: 'fontDecoration',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                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',
              fontFamily: 'fontFamily',
              fontSize: {
                absolute: 'absolute',
                relative: 'relative',
              },
              fontStyle: 'fontStyle',
              fontWeight: {
                name: 'name',
              },
            },
            visibility: 'visibility',
          },
        },
      },
    },
    title: 'title',
  },
  parameterName: 'parameterName',
  selectAllOptions: 'selectAllOptions',
  value: 123,
};

Properties ​

aggregationFunctionIResolvable | CfnDashboard.AggregationFunctionPropertyaggregation_functiontyping.Union[IResolvable, AggregationFunctionProperty]aggregationFunctionIResolvableAggregationFunctionIResolvableAggregationFunctioninterface{}#
The aggregation function of the filter.
The column that the filter is applied to.
defaultFilterControlConfigurationIResolvable | CfnDashboard.DefaultFilterControlConfigurationPropertydefault_filter_control_configurationtyping.Union[IResolvable, DefaultFilterControlConfigurationProperty]defaultFilterControlConfigurationIResolvableDefaultFilterControlConfigurationIResolvableDefaultFilterControlConfigurationinterface{}#
The default configurations for the associated controls.

This applies only for filters that are scoped to multiple sheets.

filterIdstringfilter_idstrfilterIdStringFilterIdstringFilterId*stringrequired#
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
matchOperatorstringmatch_operatorstrmatchOperatorStringMatchOperatorstringMatchOperator*stringrequired#
The match operator that is used to determine if a filter should be applied.
nullOptionstringnull_optionstrnullOptionStringNullOptionstringNullOption*stringrequired#
This option determines how null values should be treated when filtering data.
  • ALL_VALUES : Include null values in filtered results.
  • NULLS_ONLY : Only include null values in filtered results.
  • NON_NULLS_ONLY : Exclude null values from filtered results.
parameterNamestringparameter_namestrparameterNameStringParameterNamestringParameterName*string#
The parameter whose value should be used for the filter value.
selectAllOptionsstringselect_all_optionsstrselectAllOptionsStringSelectAllOptionsstringSelectAllOptions*string#
Select all of the values. Null is not the assigned value of select all.
  • FILTER_ALL_VALUES
valuenumbervalueint | floatvalueNumberValuedoubleValue*float64#
The input value.