Skip to main content

matching_workflows

Creates, updates, deletes or gets a matching_workflow resource or lists matching_workflows in a region

Overview

Namematching_workflows
TypeResource
DescriptionMatchingWorkflow defined in AWS Entity Resolution service
Idawscc.entityresolution.matching_workflows

Fields

NameDatatypeDescription
workflow_namestringThe name of the MatchingWorkflow
descriptionstringThe description of the MatchingWorkflow
input_source_configarray
output_source_configarray
resolution_techniquesobject
role_arnstring
tagsarray
workflow_arnstringThe default MatchingWorkflow arn
created_atstringThe time of this SchemaMapping got created
updated_atstringThe time of this SchemaMapping got last updated at
incremental_run_configobject
regionstringAWS region.

For more information, see AWS::EntityResolution::MatchingWorkflow.

Methods

NameResourceAccessible byRequired Params
create_resourcematching_workflowsINSERTWorkflowName, InputSourceConfig, OutputSourceConfig, ResolutionTechniques, RoleArn, region
delete_resourcematching_workflowsDELETEIdentifier, region
update_resourcematching_workflowsUPDATEIdentifier, PatchDocument, region
list_resourcesmatching_workflows_list_onlySELECTregion
get_resourcematching_workflowsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual matching_workflow.

SELECT
region,
workflow_name,
description,
input_source_config,
output_source_config,
resolution_techniques,
role_arn,
tags,
workflow_arn,
created_at,
updated_at,
incremental_run_config
FROM awscc.entityresolution.matching_workflows
WHERE
region = 'us-east-1' AND
Identifier = '{{ workflow_name }}';

INSERT example

Use the following StackQL query and manifest file to create a new matching_workflow resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.entityresolution.matching_workflows (
WorkflowName,
InputSourceConfig,
OutputSourceConfig,
ResolutionTechniques,
RoleArn,
region
)
SELECT
'{{ workflow_name }}',
'{{ input_source_config }}',
'{{ output_source_config }}',
'{{ resolution_techniques }}',
'{{ role_arn }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a matching_workflow resource, using stack-deploy.

/*+ update */
UPDATE awscc.entityresolution.matching_workflows
SET PatchDocument = string('{{ {
"Description": description,
"InputSourceConfig": input_source_config,
"OutputSourceConfig": output_source_config,
"ResolutionTechniques": resolution_techniques,
"RoleArn": role_arn,
"Tags": tags,
"IncrementalRunConfig": incremental_run_config
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ workflow_name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.entityresolution.matching_workflows
WHERE
Identifier = '{{ workflow_name }}' AND
region = 'us-east-1';

Permissions

To operate on the matching_workflows resource, the following permissions are required:

entityresolution:CreateMatchingWorkflow,
entityresolution:GetMatchingWorkflow,
entityresolution:TagResource,
kms:CreateGrant,
kms:DescribeKey,
iam:PassRole,
events:PutRule,
events:DeleteRule,
events:PutTargets,
events:ListTargetsByRule