id_mapping_workflows
Creates, updates, deletes or gets an id_mapping_workflow
resource or lists id_mapping_workflows
in a region
Overview
Name | id_mapping_workflows |
Type | Resource |
Description | IdMappingWorkflow defined in AWS Entity Resolution service |
Id | aws.entityresolution.id_mapping_workflows |
Fields
Name | Datatype | Description |
---|---|---|
workflow_name | string | The name of the IdMappingWorkflow |
description | string | The description of the IdMappingWorkflow |
input_source_config | array | |
output_source_config | array | |
id_mapping_techniques | object | |
role_arn | string | |
tags | array | |
workflow_arn | string | The default IdMappingWorkflow arn |
created_at | string | The time of this SchemaMapping got created |
updated_at | string | The time of this SchemaMapping got last updated at |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | WorkflowName, InputSourceConfig, IdMappingTechniques, RoleArn, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.entityresolution.id_mapping_workflows (
WorkflowName,
InputSourceConfig,
IdMappingTechniques,
RoleArn,
region
)
SELECT
'{{ WorkflowName }}',
'{{ InputSourceConfig }}',
'{{ IdMappingTechniques }}',
'{{ RoleArn }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.entityresolution.id_mapping_workflows (
WorkflowName,
Description,
InputSourceConfig,
OutputSourceConfig,
IdMappingTechniques,
RoleArn,
Tags,
region
)
SELECT
'{{ WorkflowName }}',
'{{ Description }}',
'{{ InputSourceConfig }}',
'{{ OutputSourceConfig }}',
'{{ IdMappingTechniques }}',
'{{ RoleArn }}',
'{{ Tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: id_mapping_workflow
props:
- name: WorkflowName
value: '{{ WorkflowName }}'
- name: Description
value: '{{ Description }}'
- name: InputSourceConfig
value:
- InputSourceARN: '{{ InputSourceARN }}'
SchemaArn: '{{ SchemaArn }}'
Type: '{{ Type }}'
- name: OutputSourceConfig
value:
- OutputS3Path: '{{ OutputS3Path }}'
KMSArn: '{{ KMSArn }}'
- name: IdMappingTechniques
value:
IdMappingType: '{{ IdMappingType }}'
ProviderProperties:
ProviderServiceArn: '{{ ProviderServiceArn }}'
ProviderConfiguration: {}
IntermediateSourceConfiguration:
IntermediateS3Path: '{{ IntermediateS3Path }}'
- name: RoleArn
value: '{{ RoleArn }}'
- name: Tags
value:
- Key: '{{ Key }}'
Value: '{{ Value }}'
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