# DataSetStringListFilterConditionProperty

A filter condition that includes or excludes string values from a specified list.

- Source: Generated at build time
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

TypeScript:

```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 dataSetStringListFilterConditionProperty: quicksight.CfnDataSet.DataSetStringListFilterConditionProperty = {
  operator: 'operator',

  // the properties below are optional
  values: {
    staticValues: ['staticValues'],
  },
};
```

Python:

```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_list_filter_condition_property = quicksight.CfnDataSet.DataSetStringListFilterConditionProperty(
    operator="operator",

    # the properties below are optional
    values=quicksight.CfnDataSet.DataSetStringListFilterValueProperty(
        static_values=["staticValues"]
    )
)
```

Java:

```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.*;

DataSetStringListFilterConditionProperty dataSetStringListFilterConditionProperty = DataSetStringListFilterConditionProperty.builder()
        .operator("operator")

        // the properties below are optional
        .values(DataSetStringListFilterValueProperty.builder()
                .staticValues(List.of("staticValues"))
                .build())
        .build();
```

C# / .NET:

```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 dataSetStringListFilterConditionProperty = new DataSetStringListFilterConditionProperty {
    Operator = "operator",

    // the properties below are optional
    Values = new DataSetStringListFilterValueProperty {
        StaticValues = new [] { "staticValues" }
    }
};
```

Golang:

```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"

dataSetStringListFilterConditionProperty := &DataSetStringListFilterConditionProperty{
	Operator: jsii.String("operator"),

	// the properties below are optional
	Values: &DataSetStringListFilterValueProperty{
		StaticValues: []*string{
			jsii.String("staticValues"),
		},
	},
}
```

## Properties

- `operator`: string (required) — The list operator to use, either `INCLUDE` to match values in the list or `EXCLUDE` to filter out values in the list.

- `values`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSet.DataSetStringListFilterValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSet.DataSetStringListFilterValueProperty.html) — The list of string values to include or exclude in the filter.
