RuleProperty Struct
An object containing the ruleName and matchingKeys .
| 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 ruleProperty: entityresolution.CfnMatchingWorkflow.RuleProperty = {
matchingKeys: ['matchingKeys'],
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_property = entityresolution.CfnMatchingWorkflow.RuleProperty(
matching_keys=["matchingKeys"],
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.*;
RuleProperty ruleProperty = RuleProperty.builder()
.matchingKeys(List.of("matchingKeys"))
.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 ruleProperty = new RuleProperty {
MatchingKeys = new [] { "matchingKeys" },
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"
ruleProperty := &RuleProperty{
MatchingKeys: []*string{
jsii.String("matchingKeys"),
},
RuleName: jsii.String("ruleName"),
}
Properties
matchingKeysstring[]matching_keystyping.List[str]matchingKeysList<String>MatchingKeysstring[]MatchingKeys*[]*string required #A list of `MatchingKeys` .
The MatchingKeys must have been defined in the SchemaMapping . Two records are considered to match according to this rule if all of the MatchingKeys match.
A name for the matching rule.