Skip to content
v2.278.0

FilterExpressionProperty Struct ​

Represents a structure for defining parameter conditions.

Example ​

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
# 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
// 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();
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"
    } }
};
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 ​

expressionstringexpressionstrexpressionStringExpressionstringExpression*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.

valuesMapIResolvable | IResolvable | CfnDataset.FilterValueProperty[]values_maptyping.Union[IResolvable, typing.List[typing.Union[IResolvable, FilterValueProperty]]]valuesMapIResolvableValuesMapIResolvableValuesMapinterface{} required #
The map of substitution variable names to their values used in this filter expression.