Skip to main content

id_mapping_workflows

Creates, updates, deletes or gets an id_mapping_workflow resource or lists id_mapping_workflows in a region

Overview

Nameid_mapping_workflows
TypeResource
DescriptionIdMappingWorkflow defined in AWS Entity Resolution service
Idaws.entityresolution.id_mapping_workflows

Fields

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

Methods

NameAccessible byRequired Params
create_resourceINSERTWorkflowName, InputSourceConfig, IdMappingTechniques, RoleArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all id_mapping_workflows in a region.

SELECT
region,
workflow_name,
description,
input_source_config,
output_source_config,
id_mapping_techniques,
role_arn,
tags,
workflow_arn,
created_at,
updated_at
FROM aws.entityresolution.id_mapping_workflows
WHERE region = 'us-east-1';

Gets all properties from an individual id_mapping_workflow.

SELECT
region,
workflow_name,
description,
input_source_config,
output_source_config,
id_mapping_techniques,
role_arn,
tags,
workflow_arn,
created_at,
updated_at
FROM aws.entityresolution.id_mapping_workflows
WHERE region = 'us-east-1' AND data__Identifier = '<WorkflowName>';

INSERT example

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

/*+ create */
INSERT INTO aws.entityresolution.id_mapping_workflows (
WorkflowName,
InputSourceConfig,
IdMappingTechniques,
RoleArn,
region
)
SELECT
'{{ WorkflowName }}',
'{{ InputSourceConfig }}',
'{{ IdMappingTechniques }}',
'{{ RoleArn }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.entityresolution.id_mapping_workflows
WHERE data__Identifier = '<WorkflowName>'
AND region = 'us-east-1';

Permissions

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

Create

entityresolution:CreateIdMappingWorkflow,
entityresolution:GetIdMappingWorkflow,
entityresolution:TagResource,
kms:CreateGrant,
kms:DescribeKey,
iam:PassRole

Update

entityresolution:GetIdMappingWorkflow,
entityresolution:UpdateIdMappingWorkflow,
entityresolution:ListTagsForResource,
entityresolution:TagResource,
entityresolution:UntagResource,
iam:PassRole,
kms:CreateGrant,
kms:DescribeKey

Read

entityresolution:GetIdMappingWorkflow,
entityresolution:ListTagsForResource

Delete

entityresolution:DeleteIdMappingWorkflow,
entityresolution:GetIdMappingWorkflow,
entityresolution:UntagResource

List

entityresolution:ListIdMappingWorkflows