Skip to content
v2.277.0

DataSetNumericComparisonFilterConditionProperty Struct ​

A filter condition that compares numeric values using operators like EQUALS , GREATER_THAN , or LESS_THAN .

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 dataSetNumericComparisonFilterConditionProperty: quicksight.CfnDataSet.DataSetNumericComparisonFilterConditionProperty = {
  operator: 'operator',

  // the properties below are optional
  value: {
    staticValue: 123,
  },
};
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_set_numeric_comparison_filter_condition_property = quicksight.CfnDataSet.DataSetNumericComparisonFilterConditionProperty(
    operator="operator",

    # the properties below are optional
    value=quicksight.CfnDataSet.DataSetNumericFilterValueProperty(
        static_value=123
    )
)
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.*;

DataSetNumericComparisonFilterConditionProperty dataSetNumericComparisonFilterConditionProperty = DataSetNumericComparisonFilterConditionProperty.builder()
        .operator("operator")

        // the properties below are optional
        .value(DataSetNumericFilterValueProperty.builder()
                .staticValue(123)
                .build())
        .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 dataSetNumericComparisonFilterConditionProperty = new DataSetNumericComparisonFilterConditionProperty {
    Operator = "operator",

    // the properties below are optional
    Value = new DataSetNumericFilterValueProperty {
        StaticValue = 123
    }
};
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"

dataSetNumericComparisonFilterConditionProperty := &DataSetNumericComparisonFilterConditionProperty{
	Operator: jsii.String("operator"),

	// the properties below are optional
	Value: &DataSetNumericFilterValueProperty{
		StaticValue: jsii.Number(123),
	},
}

Properties ​

operatorstringoperatorstroperatorStringOperatorstringOperator*stringrequired#
The comparison operator to use, such as `EQUALS` , `GREATER_THAN` , `LESS_THAN` , or their variants.
valueoptionalIResolvable | CfnDataSet.DataSetNumericFilterValuePropertyvalueoptionaltyping.Union[IResolvable, DataSetNumericFilterValueProperty]valueoptionalIResolvableValueoptionalIResolvableValueoptionalinterface{}#
The numeric value to compare against.