# MatchingRuleProperty

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

- Source: Generated at build time
- Type last changed: v2.103.0 · 26 Oct 2023

## Example

TypeScript:

```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:

```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:

```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();
```

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.CustomerProfiles;

var matchingRuleProperty = new MatchingRuleProperty {
    Rule = new [] { "rule" }
};
```

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"

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

## Properties

- `rule`: string[] (required) — A single rule level of the `MatchRules` .

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