Skip to main content

id_mapping_tables

Creates, updates, deletes or gets an id_mapping_table resource or lists id_mapping_tables in a region

Overview

Nameid_mapping_tables
TypeResource
DescriptionRepresents an association between an ID mapping workflow and a collaboration
Idaws.cleanrooms.id_mapping_tables

Fields

NameDatatypeDescription
id_mapping_table_identifierstring
arnstring
input_reference_configobject
membership_identifierstring
membership_arnstring
collaboration_identifierstring
collaboration_arnstring
descriptionstring
namestring
input_reference_propertiesobject
kms_key_arnstring
tagsarray
regionstringAWS region.

For more information, see AWS::CleanRooms::IdMappingTable.

Methods

NameAccessible byRequired Params
create_resourceINSERTMembershipIdentifier, Name, InputReferenceConfig, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all id_mapping_tables in a region.

SELECT
region,
id_mapping_table_identifier,
arn,
input_reference_config,
membership_identifier,
membership_arn,
collaboration_identifier,
collaboration_arn,
description,
name,
input_reference_properties,
kms_key_arn,
tags
FROM aws.cleanrooms.id_mapping_tables
WHERE region = 'us-east-1';

Gets all properties from an individual id_mapping_table.

SELECT
region,
id_mapping_table_identifier,
arn,
input_reference_config,
membership_identifier,
membership_arn,
collaboration_identifier,
collaboration_arn,
description,
name,
input_reference_properties,
kms_key_arn,
tags
FROM aws.cleanrooms.id_mapping_tables
WHERE region = 'us-east-1' AND data__Identifier = '<IdMappingTableIdentifier>|<MembershipIdentifier>';

INSERT example

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

/*+ create */
INSERT INTO aws.cleanrooms.id_mapping_tables (
InputReferenceConfig,
MembershipIdentifier,
Name,
region
)
SELECT
'{{ InputReferenceConfig }}',
'{{ MembershipIdentifier }}',
'{{ Name }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.cleanrooms.id_mapping_tables
WHERE data__Identifier = '<IdMappingTableIdentifier|MembershipIdentifier>'
AND region = 'us-east-1';

Permissions

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

Create

cleanrooms:CreateIdMappingTable,
cleanrooms:GetIdMappingTable,
cleanrooms:ListIdMappingTables,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration,
entityresolution:GetIdMappingWorkflow,
entityresolution:AddPolicyStatement

Read

cleanrooms:GetIdMappingTable,
cleanrooms:ListTagsForResource,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration

Update

cleanrooms:UpdateIdMappingTable,
cleanrooms:GetIdMappingTable,
cleanrooms:GetMembership,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:UntagResource,
entityresolution:GetIdMappingWorkflow,
entityresolution:AddPolicyStatement

Delete

cleanrooms:DeleteIdMappingTable,
cleanrooms:GetIdMappingTable,
cleanrooms:ListIdMappingTables,
cleanrooms:GetMembership,
cleanrooms:ListTagsForResource,
cleanrooms:UntagResource,
entityresolution:GetIdMappingWorkflow,
entityresolution:AddPolicyStatement,
entityresolution:DeletePolicyStatement

List

cleanrooms:ListIdMappingTables,
cleanrooms:GetMembership,
cleanrooms:GetCollaboration