# FilterExpressionProperty

Represents a structure for defining parameter conditions.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const filterExpressionProperty: databrew.CfnDataset.FilterExpressionProperty = {
  expression: 'expression',
  valuesMap: [{
    value: 'value',
    valueReference: 'valueReference',
  }],
};
```

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_databrew as databrew

filter_expression_property = databrew.CfnDataset.FilterExpressionProperty(
    expression="expression",
    values_map=[databrew.CfnDataset.FilterValueProperty(
        value="value",
        value_reference="valueReference"
    )]
)
```

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

FilterExpressionProperty filterExpressionProperty = FilterExpressionProperty.builder()
        .expression("expression")
        .valuesMap(List.of(FilterValueProperty.builder()
                .value("value")
                .valueReference("valueReference")
                .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.DataBrew;

var filterExpressionProperty = new FilterExpressionProperty {
    Expression = "expression",
    ValuesMap = new [] { new FilterValueProperty {
        Value = "value",
        ValueReference = "valueReference"
    } }
};
```

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"

filterExpressionProperty := &FilterExpressionProperty{
	Expression: jsii.String("expression"),
	ValuesMap: []interface{}{
		&FilterValueProperty{
			Value: jsii.String("value"),
			ValueReference: jsii.String("valueReference"),
		},
	},
}
```

## Properties

- `expression`: string (required) — The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions.

  For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.

- `valuesMap`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataset.FilterValueProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnDataset.FilterValueProperty.html)[] (required) — The map of substitution variable names to their values used in this filter expression.
