Skip to content
v2.278.0

IdNamespaceIdMappingWorkflowPropertiesProperty Struct ​

An object containing idMappingType , providerProperties , and ruleBasedProperties .

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 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
# 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
// 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();
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"
        } }
    }
};
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 ​

idMappingTypestringid_mapping_typestridMappingTypeStringIdMappingTypestringIdMappingType*string required #
The type of ID mapping.
providerPropertiesoptionalIResolvable | CfnIdNamespace.NamespaceProviderPropertiesPropertyprovider_propertiesoptionaltyping.Union[IResolvable, NamespaceProviderPropertiesProperty]providerPropertiesoptionalIResolvableProviderPropertiesoptionalIResolvableProviderPropertiesoptionalinterface{} #
An object which defines any additional configurations required by the provider service.
ruleBasedPropertiesoptionalIResolvable | CfnIdNamespace.NamespaceRuleBasedPropertiesPropertyrule_based_propertiesoptionaltyping.Union[IResolvable, NamespaceRuleBasedPropertiesProperty]ruleBasedPropertiesoptionalIResolvableRuleBasedPropertiesoptionalIResolvableRuleBasedPropertiesoptionalinterface{} #
An object which defines any additional configurations required by rule-based matching.