Skip to content
v2.277.0

DataSetStringComparisonFilterConditionProperty Struct ​

A filter condition that compares string values using operators like EQUALS , CONTAINS , or STARTS_WITH .

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

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

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

DataSetStringComparisonFilterConditionProperty dataSetStringComparisonFilterConditionProperty = DataSetStringComparisonFilterConditionProperty.builder()
        .operator("operator")

        // the properties below are optional
        .value(DataSetStringFilterValueProperty.builder()
                .staticValue("staticValue")
                .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 dataSetStringComparisonFilterConditionProperty = new DataSetStringComparisonFilterConditionProperty {
    Operator = "operator",

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

dataSetStringComparisonFilterConditionProperty := &DataSetStringComparisonFilterConditionProperty{
	Operator: jsii.String("operator"),

	// the properties below are optional
	Value: &DataSetStringFilterValueProperty{
		StaticValue: jsii.String("staticValue"),
	},
}

Properties ​

operatorstringoperatorstroperatorStringOperatorstringOperator*stringrequired#
The comparison operator to use, such as `EQUALS` , `CONTAINS` , `STARTS_WITH` , `ENDS_WITH` , or their negations.
valueoptionalIResolvable | CfnDataSet.DataSetStringFilterValuePropertyvalueoptionaltyping.Union[IResolvable, DataSetStringFilterValueProperty]valueoptionalIResolvableValueoptionalIResolvableValueoptionalinterface{}#
The string value to compare against.