# RuleConditionProperty

An object that defines the `ruleCondition` and the `ruleName` to use in a matching workflow.

- Source: Generated at build time
- Type last changed: v2.211.0 · 13 Aug 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_entityresolution as entityresolution } from 'aws-cdk-lib';
const ruleConditionProperty: entityresolution.CfnMatchingWorkflow.RuleConditionProperty = {
  condition: 'condition',
  ruleName: 'ruleName',
};
```

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_entityresolution as entityresolution

rule_condition_property = entityresolution.CfnMatchingWorkflow.RuleConditionProperty(
    condition="condition",
    rule_name="ruleName"
)
```

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

RuleConditionProperty ruleConditionProperty = RuleConditionProperty.builder()
        .condition("condition")
        .ruleName("ruleName")
        .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.EntityResolution;

var ruleConditionProperty = new RuleConditionProperty {
    Condition = "condition",
    RuleName = "ruleName"
};
```

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"

ruleConditionProperty := &RuleConditionProperty{
	Condition: jsii.String("condition"),
	RuleName: jsii.String("ruleName"),
}
```

## Properties

- `condition`: string — A statement that specifies the conditions for a matching rule.

  If your data is accurate, use an Exact matching function: `Exact` or `ExactManyToMany` .

  If your data has variations in spelling or pronunciation, use a Fuzzy matching function: `Cosine` , `Levenshtein` , or `Soundex` .

  Use operators if you want to combine ( `AND` ), separate ( `OR` ), or group matching functions `(...)` .

  For example: `(Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)`

- `ruleName`: string — A name for the matching rule.

  For example: `Rule1`
