Skip to content
v2.278.0

MatchingRuleProperty Struct ​

Specifies how the rule-based matching process should match profiles.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_customerprofiles as customerprofiles } from 'aws-cdk-lib';
const matchingRuleProperty: customerprofiles.CfnDomain.MatchingRuleProperty = {
  rule: ['rule'],
};
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_customerprofiles as customerprofiles

matching_rule_property = customerprofiles.CfnDomain.MatchingRuleProperty(
    rule=["rule"]
)
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.customerprofiles.*;

MatchingRuleProperty matchingRuleProperty = MatchingRuleProperty.builder()
        .rule(List.of("rule"))
        .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.CustomerProfiles;

var matchingRuleProperty = new MatchingRuleProperty {
    Rule = new [] { "rule" }
};
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"

matchingRuleProperty := &MatchingRuleProperty{
	Rule: []*string{
		jsii.String("rule"),
	},
}

Properties ​

rulestring[]ruletyping.List[str]ruleList<String>Rulestring[]Rule*[]*string required #
A single rule level of the `MatchRules` .

Configures how the rule-based matching process should match profiles.