Skip to main content

configured_table_associations

Creates, updates, deletes or gets a configured_table_association resource or lists configured_table_associations in a region

Overview

Nameconfigured_table_associations
TypeResource
DescriptionRepresents a table that can be queried within a collaboration
Idaws.cleanrooms.configured_table_associations

Fields

NameDatatypeDescription
arnstring
tagsarrayAn arbitrary set of tags (key-value pairs) for this cleanrooms collaboration.
configured_table_association_identifierstring
configured_table_identifierstring
descriptionstring
membership_identifierstring
namestring
role_arnstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTConfiguredTableIdentifier, Name, RoleArn, MembershipIdentifier, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all configured_table_associations in a region.

SELECT
region,
arn,
tags,
configured_table_association_identifier,
configured_table_identifier,
description,
membership_identifier,
name,
role_arn
FROM aws.cleanrooms.configured_table_associations
WHERE region = 'us-east-1';

Gets all properties from an individual configured_table_association.

SELECT
region,
arn,
tags,
configured_table_association_identifier,
configured_table_identifier,
description,
membership_identifier,
name,
role_arn
FROM aws.cleanrooms.configured_table_associations
WHERE region = 'us-east-1' AND data__Identifier = '<ConfiguredTableAssociationIdentifier>|<MembershipIdentifier>';

INSERT example

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

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

DELETE example

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

Permissions

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

Create

cleanrooms:CreateConfiguredTableAssociation,
iam:PassRole,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:GetConfiguredTableAssociation,
cleanrooms:ListConfiguredTableAssociations

Read

cleanrooms:GetConfiguredTableAssociation,
cleanrooms:ListTagsForResource

Update

cleanrooms:UpdateConfiguredTableAssociation,
cleanrooms:GetConfiguredTableAssociation,
iam:PassRole,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:UntagResource

Delete

cleanrooms:DeleteConfiguredTableAssociation,
cleanrooms:GetConfiguredTableAssociation,
cleanrooms:ListConfiguredTableAssociations,
cleanrooms:ListTagsForResource,
cleanrooms:UntagResource

List

cleanrooms:ListConfiguredTableAssociations