RuleConditionProperty Struct
An object that defines the ruleCondition and the ruleName to use in a matching workflow.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
conditionoptionalstringconditionoptionalstrconditionoptionalStringConditionoptionalstringConditionoptional*string #A statement that specifies the conditions for a matching rule.
notes
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)
ruleNameoptionalstringrule_nameoptionalstrruleNameoptionalStringRuleNameoptionalstringRuleNameoptional*string #A name for the matching rule.
For example: Rule1