# IdNamespaceIdMappingWorkflowPropertiesProperty

An object containing `idMappingType` , `providerProperties` , and `ruleBasedProperties` .

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## 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 idNamespaceIdMappingWorkflowPropertiesProperty: entityresolution.CfnIdNamespace.IdNamespaceIdMappingWorkflowPropertiesProperty = {
  idMappingType: 'idMappingType',

  // the properties below are optional
  providerProperties: {
    providerServiceArn: 'providerServiceArn',

    // the properties below are optional
    providerConfiguration: {
      providerConfigurationKey: 'providerConfiguration',
    },
  },
  ruleBasedProperties: {
    attributeMatchingModel: 'attributeMatchingModel',
    recordMatchingModels: ['recordMatchingModels'],
    ruleDefinitionTypes: ['ruleDefinitionTypes'],
    rules: [{
      matchingKeys: ['matchingKeys'],
      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

id_namespace_id_mapping_workflow_properties_property = entityresolution.CfnIdNamespace.IdNamespaceIdMappingWorkflowPropertiesProperty(
    id_mapping_type="idMappingType",

    # the properties below are optional
    provider_properties=entityresolution.CfnIdNamespace.NamespaceProviderPropertiesProperty(
        provider_service_arn="providerServiceArn",

        # the properties below are optional
        provider_configuration={
            "provider_configuration_key": "providerConfiguration"
        }
    ),
    rule_based_properties=entityresolution.CfnIdNamespace.NamespaceRuleBasedPropertiesProperty(
        attribute_matching_model="attributeMatchingModel",
        record_matching_models=["recordMatchingModels"],
        rule_definition_types=["ruleDefinitionTypes"],
        rules=[entityresolution.CfnIdNamespace.RuleProperty(
            matching_keys=["matchingKeys"],
            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.*;

IdNamespaceIdMappingWorkflowPropertiesProperty idNamespaceIdMappingWorkflowPropertiesProperty = IdNamespaceIdMappingWorkflowPropertiesProperty.builder()
        .idMappingType("idMappingType")

        // the properties below are optional
        .providerProperties(NamespaceProviderPropertiesProperty.builder()
                .providerServiceArn("providerServiceArn")

                // the properties below are optional
                .providerConfiguration(Map.of(
                        "providerConfigurationKey", "providerConfiguration"))
                .build())
        .ruleBasedProperties(NamespaceRuleBasedPropertiesProperty.builder()
                .attributeMatchingModel("attributeMatchingModel")
                .recordMatchingModels(List.of("recordMatchingModels"))
                .ruleDefinitionTypes(List.of("ruleDefinitionTypes"))
                .rules(List.of(RuleProperty.builder()
                        .matchingKeys(List.of("matchingKeys"))
                        .ruleName("ruleName")
                        .build()))
                .build())
        .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 idNamespaceIdMappingWorkflowPropertiesProperty = new IdNamespaceIdMappingWorkflowPropertiesProperty {
    IdMappingType = "idMappingType",

    // the properties below are optional
    ProviderProperties = new NamespaceProviderPropertiesProperty {
        ProviderServiceArn = "providerServiceArn",

        // the properties below are optional
        ProviderConfiguration = new Dictionary<string, string> {
            { "providerConfigurationKey", "providerConfiguration" }
        }
    },
    RuleBasedProperties = new NamespaceRuleBasedPropertiesProperty {
        AttributeMatchingModel = "attributeMatchingModel",
        RecordMatchingModels = new [] { "recordMatchingModels" },
        RuleDefinitionTypes = new [] { "ruleDefinitionTypes" },
        Rules = new [] { new RuleProperty {
            MatchingKeys = new [] { "matchingKeys" },
            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"

idNamespaceIdMappingWorkflowPropertiesProperty := &IdNamespaceIdMappingWorkflowPropertiesProperty{
	IdMappingType: jsii.String("idMappingType"),

	// the properties below are optional
	ProviderProperties: &NamespaceProviderPropertiesProperty{
		ProviderServiceArn: jsii.String("providerServiceArn"),

		// the properties below are optional
		ProviderConfiguration: map[string]*string{
			"providerConfigurationKey": jsii.String("providerConfiguration"),
		},
	},
	RuleBasedProperties: &NamespaceRuleBasedPropertiesProperty{
		AttributeMatchingModel: jsii.String("attributeMatchingModel"),
		RecordMatchingModels: []*string{
			jsii.String("recordMatchingModels"),
		},
		RuleDefinitionTypes: []*string{
			jsii.String("ruleDefinitionTypes"),
		},
		Rules: []interface{}{
			&RuleProperty{
				MatchingKeys: []*string{
					jsii.String("matchingKeys"),
				},
				RuleName: jsii.String("ruleName"),
			},
		},
	},
}
```

## Properties

- `idMappingType`: string (required) — The type of ID mapping.

- `providerProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdNamespace.NamespaceProviderPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_entityresolution.CfnIdNamespace.NamespaceProviderPropertiesProperty.html) — An object which defines any additional configurations required by the provider service.

- `ruleBasedProperties`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnIdNamespace.NamespaceRuleBasedPropertiesProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_entityresolution.CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.html) — An object which defines any additional configurations required by rule-based matching.
