UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 83.7 kB
"use strict";var _a,_b,_c,_d,_e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnPolicyStatement=exports.CfnIdNamespace=exports.CfnIdMappingWorkflow=exports.CfnSchemaMapping=exports.CfnMatchingWorkflow=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cdk=()=>{var tmp=require("../../core");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp},cdk_errors=()=>{var tmp=require("../../core/lib/errors");return cdk_errors=()=>tmp,tmp};class CfnMatchingWorkflow extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnMatchingWorkflowPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnMatchingWorkflow(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnMatchingWorkflow.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_entityresolution_CfnMatchingWorkflowProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnMatchingWorkflow),error}cdk().requireProperty(props,"inputSourceConfig",this),cdk().requireProperty(props,"outputSourceConfig",this),cdk().requireProperty(props,"resolutionTechniques",this),cdk().requireProperty(props,"roleArn",this),cdk().requireProperty(props,"workflowName",this),this.attrCreatedAt=cdk().Token.asString(this.getAtt("CreatedAt",cdk().ResolutionTypeHint.STRING)),this.attrUpdatedAt=cdk().Token.asString(this.getAtt("UpdatedAt",cdk().ResolutionTypeHint.STRING)),this.attrWorkflowArn=cdk().Token.asString(this.getAtt("WorkflowArn",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::EntityResolution::MatchingWorkflow",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.incrementalRunConfig=props.incrementalRunConfig,this.inputSourceConfig=props.inputSourceConfig,this.outputSourceConfig=props.outputSourceConfig,this.resolutionTechniques=props.resolutionTechniques,this.roleArn=props.roleArn,this.tags=props.tags,this.workflowName=props.workflowName}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),description:this.description,incrementalRunConfig:this.incrementalRunConfig,inputSourceConfig:this.inputSourceConfig,outputSourceConfig:this.outputSourceConfig,resolutionTechniques:this.resolutionTechniques,roleArn:this.roleArn,workflowName:this.workflowName}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnMatchingWorkflow.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnMatchingWorkflowPropsToCloudFormation(props)}}exports.CfnMatchingWorkflow=CfnMatchingWorkflow,_a=JSII_RTTI_SYMBOL_1,CfnMatchingWorkflow[_a]={fqn:"aws-cdk-lib.aws_entityresolution.CfnMatchingWorkflow",version:"2.202.0"},CfnMatchingWorkflow.CFN_RESOURCE_TYPE_NAME="AWS::EntityResolution::MatchingWorkflow";function CfnMatchingWorkflowRulePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("matchingKeys",cdk().requiredValidator)(properties.matchingKeys)),errors.collect(cdk().propertyValidator("matchingKeys",cdk().listValidator(cdk().validateString))(properties.matchingKeys)),errors.collect(cdk().propertyValidator("ruleName",cdk().requiredValidator)(properties.ruleName)),errors.collect(cdk().propertyValidator("ruleName",cdk().validateString)(properties.ruleName)),errors.wrap('supplied properties not correct for "RuleProperty"')}function convertCfnMatchingWorkflowRulePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowRulePropertyValidator(properties).assertSuccess(),{MatchingKeys:cdk().listMapper(cdk().stringToCloudFormation)(properties.matchingKeys),RuleName:cdk().stringToCloudFormation(properties.ruleName)}):properties}function CfnMatchingWorkflowRulePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("matchingKeys","MatchingKeys",properties.MatchingKeys!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.MatchingKeys):void 0),ret.addPropertyResult("ruleName","RuleName",properties.RuleName!=null?cfn_parse().FromCloudFormation.getString(properties.RuleName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowRuleBasedPropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("attributeMatchingModel",cdk().requiredValidator)(properties.attributeMatchingModel)),errors.collect(cdk().propertyValidator("attributeMatchingModel",cdk().validateString)(properties.attributeMatchingModel)),errors.collect(cdk().propertyValidator("matchPurpose",cdk().validateString)(properties.matchPurpose)),errors.collect(cdk().propertyValidator("rules",cdk().requiredValidator)(properties.rules)),errors.collect(cdk().propertyValidator("rules",cdk().listValidator(CfnMatchingWorkflowRulePropertyValidator))(properties.rules)),errors.wrap('supplied properties not correct for "RuleBasedPropertiesProperty"')}function convertCfnMatchingWorkflowRuleBasedPropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowRuleBasedPropertiesPropertyValidator(properties).assertSuccess(),{AttributeMatchingModel:cdk().stringToCloudFormation(properties.attributeMatchingModel),MatchPurpose:cdk().stringToCloudFormation(properties.matchPurpose),Rules:cdk().listMapper(convertCfnMatchingWorkflowRulePropertyToCloudFormation)(properties.rules)}):properties}function CfnMatchingWorkflowRuleBasedPropertiesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("attributeMatchingModel","AttributeMatchingModel",properties.AttributeMatchingModel!=null?cfn_parse().FromCloudFormation.getString(properties.AttributeMatchingModel):void 0),ret.addPropertyResult("matchPurpose","MatchPurpose",properties.MatchPurpose!=null?cfn_parse().FromCloudFormation.getString(properties.MatchPurpose):void 0),ret.addPropertyResult("rules","Rules",properties.Rules!=null?cfn_parse().FromCloudFormation.getArray(CfnMatchingWorkflowRulePropertyFromCloudFormation)(properties.Rules):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowIntermediateSourceConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("intermediateS3Path",cdk().requiredValidator)(properties.intermediateS3Path)),errors.collect(cdk().propertyValidator("intermediateS3Path",cdk().validateString)(properties.intermediateS3Path)),errors.wrap('supplied properties not correct for "IntermediateSourceConfigurationProperty"')}function convertCfnMatchingWorkflowIntermediateSourceConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowIntermediateSourceConfigurationPropertyValidator(properties).assertSuccess(),{IntermediateS3Path:cdk().stringToCloudFormation(properties.intermediateS3Path)}):properties}function CfnMatchingWorkflowIntermediateSourceConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("intermediateS3Path","IntermediateS3Path",properties.IntermediateS3Path!=null?cfn_parse().FromCloudFormation.getString(properties.IntermediateS3Path):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowProviderPropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("intermediateSourceConfiguration",CfnMatchingWorkflowIntermediateSourceConfigurationPropertyValidator)(properties.intermediateSourceConfiguration)),errors.collect(cdk().propertyValidator("providerConfiguration",cdk().hashValidator(cdk().validateString))(properties.providerConfiguration)),errors.collect(cdk().propertyValidator("providerServiceArn",cdk().requiredValidator)(properties.providerServiceArn)),errors.collect(cdk().propertyValidator("providerServiceArn",cdk().validateString)(properties.providerServiceArn)),errors.wrap('supplied properties not correct for "ProviderPropertiesProperty"')}function convertCfnMatchingWorkflowProviderPropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowProviderPropertiesPropertyValidator(properties).assertSuccess(),{IntermediateSourceConfiguration:convertCfnMatchingWorkflowIntermediateSourceConfigurationPropertyToCloudFormation(properties.intermediateSourceConfiguration),ProviderConfiguration:cdk().hashMapper(cdk().stringToCloudFormation)(properties.providerConfiguration),ProviderServiceArn:cdk().stringToCloudFormation(properties.providerServiceArn)}):properties}function CfnMatchingWorkflowProviderPropertiesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("intermediateSourceConfiguration","IntermediateSourceConfiguration",properties.IntermediateSourceConfiguration!=null?CfnMatchingWorkflowIntermediateSourceConfigurationPropertyFromCloudFormation(properties.IntermediateSourceConfiguration):void 0),ret.addPropertyResult("providerConfiguration","ProviderConfiguration",properties.ProviderConfiguration!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.ProviderConfiguration):void 0),ret.addPropertyResult("providerServiceArn","ProviderServiceArn",properties.ProviderServiceArn!=null?cfn_parse().FromCloudFormation.getString(properties.ProviderServiceArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowResolutionTechniquesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("providerProperties",CfnMatchingWorkflowProviderPropertiesPropertyValidator)(properties.providerProperties)),errors.collect(cdk().propertyValidator("resolutionType",cdk().validateString)(properties.resolutionType)),errors.collect(cdk().propertyValidator("ruleBasedProperties",CfnMatchingWorkflowRuleBasedPropertiesPropertyValidator)(properties.ruleBasedProperties)),errors.wrap('supplied properties not correct for "ResolutionTechniquesProperty"')}function convertCfnMatchingWorkflowResolutionTechniquesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowResolutionTechniquesPropertyValidator(properties).assertSuccess(),{ProviderProperties:convertCfnMatchingWorkflowProviderPropertiesPropertyToCloudFormation(properties.providerProperties),ResolutionType:cdk().stringToCloudFormation(properties.resolutionType),RuleBasedProperties:convertCfnMatchingWorkflowRuleBasedPropertiesPropertyToCloudFormation(properties.ruleBasedProperties)}):properties}function CfnMatchingWorkflowResolutionTechniquesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("providerProperties","ProviderProperties",properties.ProviderProperties!=null?CfnMatchingWorkflowProviderPropertiesPropertyFromCloudFormation(properties.ProviderProperties):void 0),ret.addPropertyResult("resolutionType","ResolutionType",properties.ResolutionType!=null?cfn_parse().FromCloudFormation.getString(properties.ResolutionType):void 0),ret.addPropertyResult("ruleBasedProperties","RuleBasedProperties",properties.RuleBasedProperties!=null?CfnMatchingWorkflowRuleBasedPropertiesPropertyFromCloudFormation(properties.RuleBasedProperties):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowInputSourcePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("applyNormalization",cdk().validateBoolean)(properties.applyNormalization)),errors.collect(cdk().propertyValidator("inputSourceArn",cdk().requiredValidator)(properties.inputSourceArn)),errors.collect(cdk().propertyValidator("inputSourceArn",cdk().validateString)(properties.inputSourceArn)),errors.collect(cdk().propertyValidator("schemaArn",cdk().requiredValidator)(properties.schemaArn)),errors.collect(cdk().propertyValidator("schemaArn",cdk().validateString)(properties.schemaArn)),errors.wrap('supplied properties not correct for "InputSourceProperty"')}function convertCfnMatchingWorkflowInputSourcePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowInputSourcePropertyValidator(properties).assertSuccess(),{ApplyNormalization:cdk().booleanToCloudFormation(properties.applyNormalization),InputSourceARN:cdk().stringToCloudFormation(properties.inputSourceArn),SchemaArn:cdk().stringToCloudFormation(properties.schemaArn)}):properties}function CfnMatchingWorkflowInputSourcePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("applyNormalization","ApplyNormalization",properties.ApplyNormalization!=null?cfn_parse().FromCloudFormation.getBoolean(properties.ApplyNormalization):void 0),ret.addPropertyResult("inputSourceArn","InputSourceARN",properties.InputSourceARN!=null?cfn_parse().FromCloudFormation.getString(properties.InputSourceARN):void 0),ret.addPropertyResult("schemaArn","SchemaArn",properties.SchemaArn!=null?cfn_parse().FromCloudFormation.getString(properties.SchemaArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowOutputAttributePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("hashed",cdk().validateBoolean)(properties.hashed)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.wrap('supplied properties not correct for "OutputAttributeProperty"')}function convertCfnMatchingWorkflowOutputAttributePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowOutputAttributePropertyValidator(properties).assertSuccess(),{Hashed:cdk().booleanToCloudFormation(properties.hashed),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnMatchingWorkflowOutputAttributePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("hashed","Hashed",properties.Hashed!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Hashed):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowOutputSourcePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("applyNormalization",cdk().validateBoolean)(properties.applyNormalization)),errors.collect(cdk().propertyValidator("kmsArn",cdk().validateString)(properties.kmsArn)),errors.collect(cdk().propertyValidator("output",cdk().requiredValidator)(properties.output)),errors.collect(cdk().propertyValidator("output",cdk().listValidator(CfnMatchingWorkflowOutputAttributePropertyValidator))(properties.output)),errors.collect(cdk().propertyValidator("outputS3Path",cdk().requiredValidator)(properties.outputS3Path)),errors.collect(cdk().propertyValidator("outputS3Path",cdk().validateString)(properties.outputS3Path)),errors.wrap('supplied properties not correct for "OutputSourceProperty"')}function convertCfnMatchingWorkflowOutputSourcePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowOutputSourcePropertyValidator(properties).assertSuccess(),{ApplyNormalization:cdk().booleanToCloudFormation(properties.applyNormalization),KMSArn:cdk().stringToCloudFormation(properties.kmsArn),Output:cdk().listMapper(convertCfnMatchingWorkflowOutputAttributePropertyToCloudFormation)(properties.output),OutputS3Path:cdk().stringToCloudFormation(properties.outputS3Path)}):properties}function CfnMatchingWorkflowOutputSourcePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("applyNormalization","ApplyNormalization",properties.ApplyNormalization!=null?cfn_parse().FromCloudFormation.getBoolean(properties.ApplyNormalization):void 0),ret.addPropertyResult("kmsArn","KMSArn",properties.KMSArn!=null?cfn_parse().FromCloudFormation.getString(properties.KMSArn):void 0),ret.addPropertyResult("output","Output",properties.Output!=null?cfn_parse().FromCloudFormation.getArray(CfnMatchingWorkflowOutputAttributePropertyFromCloudFormation)(properties.Output):void 0),ret.addPropertyResult("outputS3Path","OutputS3Path",properties.OutputS3Path!=null?cfn_parse().FromCloudFormation.getString(properties.OutputS3Path):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowIncrementalRunConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("incrementalRunType",cdk().requiredValidator)(properties.incrementalRunType)),errors.collect(cdk().propertyValidator("incrementalRunType",cdk().validateString)(properties.incrementalRunType)),errors.wrap('supplied properties not correct for "IncrementalRunConfigProperty"')}function convertCfnMatchingWorkflowIncrementalRunConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowIncrementalRunConfigPropertyValidator(properties).assertSuccess(),{IncrementalRunType:cdk().stringToCloudFormation(properties.incrementalRunType)}):properties}function CfnMatchingWorkflowIncrementalRunConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("incrementalRunType","IncrementalRunType",properties.IncrementalRunType!=null?cfn_parse().FromCloudFormation.getString(properties.IncrementalRunType):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMatchingWorkflowPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("incrementalRunConfig",CfnMatchingWorkflowIncrementalRunConfigPropertyValidator)(properties.incrementalRunConfig)),errors.collect(cdk().propertyValidator("inputSourceConfig",cdk().requiredValidator)(properties.inputSourceConfig)),errors.collect(cdk().propertyValidator("inputSourceConfig",cdk().listValidator(CfnMatchingWorkflowInputSourcePropertyValidator))(properties.inputSourceConfig)),errors.collect(cdk().propertyValidator("outputSourceConfig",cdk().requiredValidator)(properties.outputSourceConfig)),errors.collect(cdk().propertyValidator("outputSourceConfig",cdk().listValidator(CfnMatchingWorkflowOutputSourcePropertyValidator))(properties.outputSourceConfig)),errors.collect(cdk().propertyValidator("resolutionTechniques",cdk().requiredValidator)(properties.resolutionTechniques)),errors.collect(cdk().propertyValidator("resolutionTechniques",CfnMatchingWorkflowResolutionTechniquesPropertyValidator)(properties.resolutionTechniques)),errors.collect(cdk().propertyValidator("roleArn",cdk().requiredValidator)(properties.roleArn)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("workflowName",cdk().requiredValidator)(properties.workflowName)),errors.collect(cdk().propertyValidator("workflowName",cdk().validateString)(properties.workflowName)),errors.wrap('supplied properties not correct for "CfnMatchingWorkflowProps"')}function convertCfnMatchingWorkflowPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMatchingWorkflowPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),IncrementalRunConfig:convertCfnMatchingWorkflowIncrementalRunConfigPropertyToCloudFormation(properties.incrementalRunConfig),InputSourceConfig:cdk().listMapper(convertCfnMatchingWorkflowInputSourcePropertyToCloudFormation)(properties.inputSourceConfig),OutputSourceConfig:cdk().listMapper(convertCfnMatchingWorkflowOutputSourcePropertyToCloudFormation)(properties.outputSourceConfig),ResolutionTechniques:convertCfnMatchingWorkflowResolutionTechniquesPropertyToCloudFormation(properties.resolutionTechniques),RoleArn:cdk().stringToCloudFormation(properties.roleArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),WorkflowName:cdk().stringToCloudFormation(properties.workflowName)}):properties}function CfnMatchingWorkflowPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("incrementalRunConfig","IncrementalRunConfig",properties.IncrementalRunConfig!=null?CfnMatchingWorkflowIncrementalRunConfigPropertyFromCloudFormation(properties.IncrementalRunConfig):void 0),ret.addPropertyResult("inputSourceConfig","InputSourceConfig",properties.InputSourceConfig!=null?cfn_parse().FromCloudFormation.getArray(CfnMatchingWorkflowInputSourcePropertyFromCloudFormation)(properties.InputSourceConfig):void 0),ret.addPropertyResult("outputSourceConfig","OutputSourceConfig",properties.OutputSourceConfig!=null?cfn_parse().FromCloudFormation.getArray(CfnMatchingWorkflowOutputSourcePropertyFromCloudFormation)(properties.OutputSourceConfig):void 0),ret.addPropertyResult("resolutionTechniques","ResolutionTechniques",properties.ResolutionTechniques!=null?CfnMatchingWorkflowResolutionTechniquesPropertyFromCloudFormation(properties.ResolutionTechniques):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("workflowName","WorkflowName",properties.WorkflowName!=null?cfn_parse().FromCloudFormation.getString(properties.WorkflowName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnSchemaMapping extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnSchemaMappingPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnSchemaMapping(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnSchemaMapping.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_entityresolution_CfnSchemaMappingProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnSchemaMapping),error}cdk().requireProperty(props,"mappedInputFields",this),cdk().requireProperty(props,"schemaName",this),this.attrCreatedAt=cdk().Token.asString(this.getAtt("CreatedAt",cdk().ResolutionTypeHint.STRING)),this.attrHasWorkflows=this.getAtt("HasWorkflows"),this.attrSchemaArn=cdk().Token.asString(this.getAtt("SchemaArn",cdk().ResolutionTypeHint.STRING)),this.attrUpdatedAt=cdk().Token.asString(this.getAtt("UpdatedAt",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::EntityResolution::SchemaMapping",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.mappedInputFields=props.mappedInputFields,this.schemaName=props.schemaName,this.tags=props.tags}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),description:this.description,mappedInputFields:this.mappedInputFields,schemaName:this.schemaName}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnSchemaMapping.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnSchemaMappingPropsToCloudFormation(props)}}exports.CfnSchemaMapping=CfnSchemaMapping,_b=JSII_RTTI_SYMBOL_1,CfnSchemaMapping[_b]={fqn:"aws-cdk-lib.aws_entityresolution.CfnSchemaMapping",version:"2.202.0"},CfnSchemaMapping.CFN_RESOURCE_TYPE_NAME="AWS::EntityResolution::SchemaMapping";function CfnSchemaMappingSchemaInputAttributePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("fieldName",cdk().requiredValidator)(properties.fieldName)),errors.collect(cdk().propertyValidator("fieldName",cdk().validateString)(properties.fieldName)),errors.collect(cdk().propertyValidator("groupName",cdk().validateString)(properties.groupName)),errors.collect(cdk().propertyValidator("hashed",cdk().validateBoolean)(properties.hashed)),errors.collect(cdk().propertyValidator("matchKey",cdk().validateString)(properties.matchKey)),errors.collect(cdk().propertyValidator("subType",cdk().validateString)(properties.subType)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "SchemaInputAttributeProperty"')}function convertCfnSchemaMappingSchemaInputAttributePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnSchemaMappingSchemaInputAttributePropertyValidator(properties).assertSuccess(),{FieldName:cdk().stringToCloudFormation(properties.fieldName),GroupName:cdk().stringToCloudFormation(properties.groupName),Hashed:cdk().booleanToCloudFormation(properties.hashed),MatchKey:cdk().stringToCloudFormation(properties.matchKey),SubType:cdk().stringToCloudFormation(properties.subType),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnSchemaMappingSchemaInputAttributePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("fieldName","FieldName",properties.FieldName!=null?cfn_parse().FromCloudFormation.getString(properties.FieldName):void 0),ret.addPropertyResult("groupName","GroupName",properties.GroupName!=null?cfn_parse().FromCloudFormation.getString(properties.GroupName):void 0),ret.addPropertyResult("hashed","Hashed",properties.Hashed!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Hashed):void 0),ret.addPropertyResult("matchKey","MatchKey",properties.MatchKey!=null?cfn_parse().FromCloudFormation.getString(properties.MatchKey):void 0),ret.addPropertyResult("subType","SubType",properties.SubType!=null?cfn_parse().FromCloudFormation.getString(properties.SubType):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnSchemaMappingPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("mappedInputFields",cdk().requiredValidator)(properties.mappedInputFields)),errors.collect(cdk().propertyValidator("mappedInputFields",cdk().listValidator(CfnSchemaMappingSchemaInputAttributePropertyValidator))(properties.mappedInputFields)),errors.collect(cdk().propertyValidator("schemaName",cdk().requiredValidator)(properties.schemaName)),errors.collect(cdk().propertyValidator("schemaName",cdk().validateString)(properties.schemaName)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnSchemaMappingProps"')}function convertCfnSchemaMappingPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnSchemaMappingPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),MappedInputFields:cdk().listMapper(convertCfnSchemaMappingSchemaInputAttributePropertyToCloudFormation)(properties.mappedInputFields),SchemaName:cdk().stringToCloudFormation(properties.schemaName),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnSchemaMappingPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("mappedInputFields","MappedInputFields",properties.MappedInputFields!=null?cfn_parse().FromCloudFormation.getArray(CfnSchemaMappingSchemaInputAttributePropertyFromCloudFormation)(properties.MappedInputFields):void 0),ret.addPropertyResult("schemaName","SchemaName",properties.SchemaName!=null?cfn_parse().FromCloudFormation.getString(properties.SchemaName):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnIdMappingWorkflow extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnIdMappingWorkflowPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnIdMappingWorkflow(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnIdMappingWorkflow.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_entityresolution_CfnIdMappingWorkflowProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnIdMappingWorkflow),error}cdk().requireProperty(props,"idMappingTechniques",this),cdk().requireProperty(props,"inputSourceConfig",this),cdk().requireProperty(props,"roleArn",this),cdk().requireProperty(props,"workflowName",this),this.attrCreatedAt=cdk().Token.asString(this.getAtt("CreatedAt",cdk().ResolutionTypeHint.STRING)),this.attrUpdatedAt=cdk().Token.asString(this.getAtt("UpdatedAt",cdk().ResolutionTypeHint.STRING)),this.attrWorkflowArn=cdk().Token.asString(this.getAtt("WorkflowArn",cdk().ResolutionTypeHint.STRING)),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::EntityResolution::IdMappingWorkflow",void 0,{tagPropertyName:"tags"}),this.description=props.description,this.idMappingTechniques=props.idMappingTechniques,this.inputSourceConfig=props.inputSourceConfig,this.outputSourceConfig=props.outputSourceConfig,this.roleArn=props.roleArn,this.tags=props.tags,this.workflowName=props.workflowName}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this.tags),description:this.description,idMappingTechniques:this.idMappingTechniques,inputSourceConfig:this.inputSourceConfig,outputSourceConfig:this.outputSourceConfig,roleArn:this.roleArn,workflowName:this.workflowName}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnIdMappingWorkflow.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnIdMappingWorkflowPropsToCloudFormation(props)}}exports.CfnIdMappingWorkflow=CfnIdMappingWorkflow,_c=JSII_RTTI_SYMBOL_1,CfnIdMappingWorkflow[_c]={fqn:"aws-cdk-lib.aws_entityresolution.CfnIdMappingWorkflow",version:"2.202.0"},CfnIdMappingWorkflow.CFN_RESOURCE_TYPE_NAME="AWS::EntityResolution::IdMappingWorkflow";function CfnIdMappingWorkflowIdMappingWorkflowInputSourcePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("inputSourceArn",cdk().requiredValidator)(properties.inputSourceArn)),errors.collect(cdk().propertyValidator("inputSourceArn",cdk().validateString)(properties.inputSourceArn)),errors.collect(cdk().propertyValidator("schemaArn",cdk().validateString)(properties.schemaArn)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "IdMappingWorkflowInputSourceProperty"')}function convertCfnIdMappingWorkflowIdMappingWorkflowInputSourcePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingWorkflowIdMappingWorkflowInputSourcePropertyValidator(properties).assertSuccess(),{InputSourceARN:cdk().stringToCloudFormation(properties.inputSourceArn),SchemaArn:cdk().stringToCloudFormation(properties.schemaArn),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnIdMappingWorkflowIdMappingWorkflowInputSourcePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("inputSourceArn","InputSourceARN",properties.InputSourceARN!=null?cfn_parse().FromCloudFormation.getString(properties.InputSourceARN):void 0),ret.addPropertyResult("schemaArn","SchemaArn",properties.SchemaArn!=null?cfn_parse().FromCloudFormation.getString(properties.SchemaArn):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingWorkflowRulePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("matchingKeys",cdk().requiredValidator)(properties.matchingKeys)),errors.collect(cdk().propertyValidator("matchingKeys",cdk().listValidator(cdk().validateString))(properties.matchingKeys)),errors.collect(cdk().propertyValidator("ruleName",cdk().requiredValidator)(properties.ruleName)),errors.collect(cdk().propertyValidator("ruleName",cdk().validateString)(properties.ruleName)),errors.wrap('supplied properties not correct for "RuleProperty"')}function convertCfnIdMappingWorkflowRulePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingWorkflowRulePropertyValidator(properties).assertSuccess(),{MatchingKeys:cdk().listMapper(cdk().stringToCloudFormation)(properties.matchingKeys),RuleName:cdk().stringToCloudFormation(properties.ruleName)}):properties}function CfnIdMappingWorkflowRulePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("matchingKeys","MatchingKeys",properties.MatchingKeys!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.MatchingKeys):void 0),ret.addPropertyResult("ruleName","RuleName",properties.RuleName!=null?cfn_parse().FromCloudFormation.getString(properties.RuleName):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingWorkflowIdMappingRuleBasedPropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("attributeMatchingModel",cdk().requiredValidator)(properties.attributeMatchingModel)),errors.collect(cdk().propertyValidator("attributeMatchingModel",cdk().validateString)(properties.attributeMatchingModel)),errors.collect(cdk().propertyValidator("recordMatchingModel",cdk().requiredValidator)(properties.recordMatchingModel)),errors.collect(cdk().propertyValidator("recordMatchingModel",cdk().validateString)(properties.recordMatchingModel)),errors.collect(cdk().propertyValidator("ruleDefinitionType",cdk().validateString)(properties.ruleDefinitionType)),errors.collect(cdk().propertyValidator("rules",cdk().listValidator(CfnIdMappingWorkflowRulePropertyValidator))(properties.rules)),errors.wrap('supplied properties not correct for "IdMappingRuleBasedPropertiesProperty"')}function convertCfnIdMappingWorkflowIdMappingRuleBasedPropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingWorkflowIdMappingRuleBasedPropertiesPropertyValidator(properties).assertSuccess(),{AttributeMatchingModel:cdk().stringToCloudFormation(properties.attributeMatchingModel),RecordMatchingModel:cdk().stringToCloudFormation(properties.recordMatchingModel),RuleDefinitionType:cdk().stringToCloudFormation(properties.ruleDefinitionType),Rules:cdk().listMapper(convertCfnIdMappingWorkflowRulePropertyToCloudFormation)(properties.rules)}):properties}function CfnIdMappingWorkflowIdMappingRuleBasedPropertiesPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("attributeMatchingModel","AttributeMatchingModel",properties.AttributeMatchingModel!=null?cfn_parse().FromCloudFormation.getString(properties.AttributeMatchingModel):void 0),ret.addPropertyResult("recordMatchingModel","RecordMatchingModel",properties.RecordMatchingModel!=null?cfn_parse().FromCloudFormation.getString(properties.RecordMatchingModel):void 0),ret.addPropertyResult("ruleDefinitionType","RuleDefinitionType",properties.RuleDefinitionType!=null?cfn_parse().FromCloudFormation.getString(properties.RuleDefinitionType):void 0),ret.addPropertyResult("rules","Rules",properties.Rules!=null?cfn_parse().FromCloudFormation.getArray(CfnIdMappingWorkflowRulePropertyFromCloudFormation)(properties.Rules):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingWorkflowIntermediateSourceConfigurationPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("intermediateS3Path",cdk().requiredValidator)(properties.intermediateS3Path)),errors.collect(cdk().propertyValidator("intermediateS3Path",cdk().validateString)(properties.intermediateS3Path)),errors.wrap('supplied properties not correct for "IntermediateSourceConfigurationProperty"')}function convertCfnIdMappingWorkflowIntermediateSourceConfigurationPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingWorkflowIntermediateSourceConfigurationPropertyValidator(properties).assertSuccess(),{IntermediateS3Path:cdk().stringToCloudFormation(properties.intermediateS3Path)}):properties}function CfnIdMappingWorkflowIntermediateSourceConfigurationPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("intermediateS3Path","IntermediateS3Path",properties.IntermediateS3Path!=null?cfn_parse().FromCloudFormation.getString(properties.IntermediateS3Path):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnIdMappingWorkflowProviderPropertiesPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("intermediateSourceConfiguration",CfnIdMappingWorkflowIntermediateSourceConfigurationPropertyValidator)(properties.intermediateSourceConfiguration)),errors.collect(cdk().propertyValidator("providerConfiguration",cdk().hashValidator(cdk().validateString))(properties.providerConfiguration)),errors.collect(cdk().propertyValidator("providerServiceArn",cdk().requiredValidator)(properties.providerServiceArn)),errors.collect(cdk().propertyValidator("providerServiceArn",cdk().validateString)(properties.providerServiceArn)),errors.wrap('supplied properties not correct for "ProviderPropertiesProperty"')}function convertCfnIdMappingWorkflowProviderPropertiesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnIdMappingWorkflowProviderPropertiesPropertyValidator(properties).assertSuccess(),{IntermediateSourceConfiguration:convertCfnIdMappingWorkflowIntermediateSourceConfigurati