CfnIdMappingWorkflowPropsMixin
- class aws_cdk.mixins_preview.aws_entityresolution.mixins.CfnIdMappingWorkflowPropsMixin(props, *, strategy=None)
Bases:
MixinCreates an
IdMappingWorkflowobject which stores the configuration of the data processing job to be run.Each
IdMappingWorkflowmust have a unique workflow name. To modify an existing workflow, use the UpdateIdMappingWorkflow API. .. epigraph:Incremental processing is not supported for ID mapping workflows.
- See:
- CloudformationResource:
AWS::EntityResolution::IdMappingWorkflow
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins cfn_id_mapping_workflow_props_mixin = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin(entityresolution_mixins.CfnIdMappingWorkflowMixinProps( description="description", id_mapping_incremental_run_config=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingIncrementalRunConfigProperty( incremental_run_type="incrementalRunType" ), id_mapping_techniques=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingTechniquesProperty( id_mapping_type="idMappingType", normalization_version="normalizationVersion", provider_properties=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.ProviderPropertiesProperty( intermediate_source_configuration=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IntermediateSourceConfigurationProperty( intermediate_s3_path="intermediateS3Path" ), provider_configuration={ "provider_configuration_key": "providerConfiguration" }, provider_service_arn="providerServiceArn" ), rule_based_properties=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingRuleBasedPropertiesProperty( attribute_matching_model="attributeMatchingModel", record_matching_model="recordMatchingModel", rule_definition_type="ruleDefinitionType", rules=[entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.RuleProperty( matching_keys=["matchingKeys"], rule_name="ruleName" )] ) ), input_source_config=[entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowInputSourceProperty( input_source_arn="inputSourceArn", schema_arn="schemaArn", type="type" )], output_source_config=[entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowOutputSourceProperty( kms_arn="kmsArn", output_s3_path="outputS3Path" )], role_arn="roleArn", tags=[CfnTag( key="key", value="value" )], workflow_name="workflowName" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::EntityResolution::IdMappingWorkflow.- Parameters:
props (
Union[CfnIdMappingWorkflowMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['description', 'idMappingIncrementalRunConfig', 'idMappingTechniques', 'inputSourceConfig', 'outputSourceConfig', 'roleArn', 'tags', 'workflowName']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
IdMappingIncrementalRunConfigProperty
- class CfnIdMappingWorkflowPropsMixin.IdMappingIncrementalRunConfigProperty(*, incremental_run_type=None)
Bases:
object- Parameters:
incremental_run_type (
Optional[str])- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins id_mapping_incremental_run_config_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingIncrementalRunConfigProperty( incremental_run_type="incrementalRunType" )
Attributes
IdMappingRuleBasedPropertiesProperty
- class CfnIdMappingWorkflowPropsMixin.IdMappingRuleBasedPropertiesProperty(*, attribute_matching_model=None, record_matching_model=None, rule_definition_type=None, rules=None)
Bases:
objectAn object that defines the list of matching rules to run in an ID mapping workflow.
- Parameters:
attribute_matching_model (
Optional[str]) – The comparison type. You can either chooseONE_TO_ONEorMANY_TO_MANYas theattributeMatchingModel. If you chooseONE_TO_ONE, the system can only match attributes if the sub-types are an exact match. For example, for theEmailattribute type, the system will only consider it a match if the value of theEmailfield of Profile A matches the value of theEmailfield of Profile B. If you chooseMANY_TO_MANY, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmailfield of Profile A matches the value of theBusinessEmailfield of Profile B, the two profiles are matched on theEmailattribute type.record_matching_model (
Optional[str]) – The type of matching record that is allowed to be used in an ID mapping workflow. If the value is set toONE_SOURCE_TO_ONE_TARGET, only one record in the source can be matched to the same record in the target. If the value is set toMANY_SOURCE_TO_ONE_TARGET, multiple records in the source can be matched to one record in the target.rule_definition_type (
Optional[str]) – The set of rules you can use in an ID mapping workflow. The limitations specified for the source or target to define the match rules must be compatible.rules (
Union[IResolvable,Sequence[Union[IResolvable,RuleProperty,Dict[str,Any]]],None]) – The rules that can be used for ID mapping.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins id_mapping_rule_based_properties_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingRuleBasedPropertiesProperty( attribute_matching_model="attributeMatchingModel", record_matching_model="recordMatchingModel", rule_definition_type="ruleDefinitionType", rules=[entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.RuleProperty( matching_keys=["matchingKeys"], rule_name="ruleName" )] )
Attributes
- attribute_matching_model
The comparison type. You can either choose
ONE_TO_ONEorMANY_TO_MANYas theattributeMatchingModel.If you choose
ONE_TO_ONE, the system can only match attributes if the sub-types are an exact match. For example, for theEmailattribute type, the system will only consider it a match if the value of theEmailfield of Profile A matches the value of theEmailfield of Profile B.If you choose
MANY_TO_MANY, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmailfield of Profile A matches the value of theBusinessEmailfield of Profile B, the two profiles are matched on theEmailattribute type.
- record_matching_model
The type of matching record that is allowed to be used in an ID mapping workflow.
If the value is set to
ONE_SOURCE_TO_ONE_TARGET, only one record in the source can be matched to the same record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET, multiple records in the source can be matched to one record in the target.
- rule_definition_type
The set of rules you can use in an ID mapping workflow.
The limitations specified for the source or target to define the match rules must be compatible.
IdMappingTechniquesProperty
- class CfnIdMappingWorkflowPropsMixin.IdMappingTechniquesProperty(*, id_mapping_type=None, normalization_version=None, provider_properties=None, rule_based_properties=None)
Bases:
objectAn object which defines the ID mapping technique and any additional configurations.
- Parameters:
id_mapping_type (
Optional[str]) – The type of ID mapping.normalization_version (
Optional[str])provider_properties (
Union[IResolvable,ProviderPropertiesProperty,Dict[str,Any],None]) – An object which defines any additional configurations required by the provider service.rule_based_properties (
Union[IResolvable,IdMappingRuleBasedPropertiesProperty,Dict[str,Any],None]) – An object which defines any additional configurations required by rule-based matching.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins id_mapping_techniques_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingTechniquesProperty( id_mapping_type="idMappingType", normalization_version="normalizationVersion", provider_properties=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.ProviderPropertiesProperty( intermediate_source_configuration=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IntermediateSourceConfigurationProperty( intermediate_s3_path="intermediateS3Path" ), provider_configuration={ "provider_configuration_key": "providerConfiguration" }, provider_service_arn="providerServiceArn" ), rule_based_properties=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingRuleBasedPropertiesProperty( attribute_matching_model="attributeMatchingModel", record_matching_model="recordMatchingModel", rule_definition_type="ruleDefinitionType", rules=[entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.RuleProperty( matching_keys=["matchingKeys"], rule_name="ruleName" )] ) )
Attributes
- id_mapping_type
The type of ID mapping.
- normalization_version
-
- Type:
see
- provider_properties
An object which defines any additional configurations required by the provider service.
- rule_based_properties
An object which defines any additional configurations required by rule-based matching.
IdMappingWorkflowInputSourceProperty
- class CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowInputSourceProperty(*, input_source_arn=None, schema_arn=None, type=None)
Bases:
objectAn object containing
inputSourceARN,schemaName, andtype.- Parameters:
input_source_arn (
Optional[str]) – An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.schema_arn (
Optional[str]) – The ARN (Amazon Resource Name) that AWS Entity Resolution generated for theSchemaMapping.type (
Optional[str]) – The type of ID namespace. There are two types:SOURCEandTARGET. TheSOURCEcontains configurations forsourceIddata that will be processed in an ID mapping workflow. TheTARGETcontains a configuration oftargetIdwhich allsourceIdswill resolve to.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins id_mapping_workflow_input_source_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowInputSourceProperty( input_source_arn="inputSourceArn", schema_arn="schemaArn", type="type" )
Attributes
- input_source_arn
An AWS Glue table Amazon Resource Name (ARN) or a matching workflow ARN for the input source table.
- schema_arn
The ARN (Amazon Resource Name) that AWS Entity Resolution generated for the
SchemaMapping.
- type
SOURCEandTARGET.The
SOURCEcontains configurations forsourceIddata that will be processed in an ID mapping workflow.The
TARGETcontains a configuration oftargetIdwhich allsourceIdswill resolve to.- See:
- Type:
The type of ID namespace. There are two types
IdMappingWorkflowOutputSourceProperty
- class CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowOutputSourceProperty(*, kms_arn=None, output_s3_path=None)
Bases:
objectA list of
IdMappingWorkflowOutputSourceobjects, each of which contains fieldsoutputS3PathandKMSArn.- Parameters:
kms_arn (
Optional[str]) – Customer AWS ARN for encryption at rest. If not provided, system will use an AWS Entity Resolution managed KMS key.output_s3_path (
Optional[str]) – The S3 path to which AWS Entity Resolution will write the output table.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins id_mapping_workflow_output_source_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IdMappingWorkflowOutputSourceProperty( kms_arn="kmsArn", output_s3_path="outputS3Path" )
Attributes
- kms_arn
Customer AWS ARN for encryption at rest.
If not provided, system will use an AWS Entity Resolution managed KMS key.
- output_s3_path
The S3 path to which AWS Entity Resolution will write the output table.
IntermediateSourceConfigurationProperty
- class CfnIdMappingWorkflowPropsMixin.IntermediateSourceConfigurationProperty(*, intermediate_s3_path=None)
Bases:
objectThe Amazon S3 location that temporarily stores your data while it processes.
Your information won’t be saved permanently.
- Parameters:
intermediate_s3_path (
Optional[str]) – The Amazon S3 location (bucket and prefix). For example:s3://provider_bucket/DOC-EXAMPLE-BUCKET- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins intermediate_source_configuration_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IntermediateSourceConfigurationProperty( intermediate_s3_path="intermediateS3Path" )
Attributes
- intermediate_s3_path
The Amazon S3 location (bucket and prefix).
For example:
s3://provider_bucket/DOC-EXAMPLE-BUCKET
ProviderPropertiesProperty
- class CfnIdMappingWorkflowPropsMixin.ProviderPropertiesProperty(*, intermediate_source_configuration=None, provider_configuration=None, provider_service_arn=None)
Bases:
objectAn object containing the
providerServiceARN,intermediateSourceConfiguration, andproviderConfiguration.- Parameters:
intermediate_source_configuration (
Union[IResolvable,IntermediateSourceConfigurationProperty,Dict[str,Any],None]) – The Amazon S3 location that temporarily stores your data while it processes. Your information won’t be saved permanently.provider_configuration (
Union[Mapping[str,str],IResolvable,None]) – The required configuration fields to use with the provider service.provider_service_arn (
Optional[str]) – The ARN of the provider service.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins provider_properties_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.ProviderPropertiesProperty( intermediate_source_configuration=entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.IntermediateSourceConfigurationProperty( intermediate_s3_path="intermediateS3Path" ), provider_configuration={ "provider_configuration_key": "providerConfiguration" }, provider_service_arn="providerServiceArn" )
Attributes
- intermediate_source_configuration
The Amazon S3 location that temporarily stores your data while it processes.
Your information won’t be saved permanently.
- provider_configuration
The required configuration fields to use with the provider service.
- provider_service_arn
The ARN of the provider service.
RuleProperty
- class CfnIdMappingWorkflowPropsMixin.RuleProperty(*, matching_keys=None, rule_name=None)
Bases:
objectAn object containing the
ruleNameandmatchingKeys.- Parameters:
matching_keys (
Optional[Sequence[str]]) – A list ofMatchingKeys. TheMatchingKeysmust have been defined in theSchemaMapping. Two records are considered to match according to this rule if all of theMatchingKeysmatch.rule_name (
Optional[str]) – A name for the matching rule.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_entityresolution import mixins as entityresolution_mixins rule_property = entityresolution_mixins.CfnIdMappingWorkflowPropsMixin.RuleProperty( matching_keys=["matchingKeys"], rule_name="ruleName" )
Attributes
- matching_keys
A list of
MatchingKeys.The
MatchingKeysmust have been defined in theSchemaMapping. Two records are considered to match according to this rule if all of theMatchingKeysmatch.
- rule_name
A name for the matching rule.