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
Idawscc.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
configured_table_association_analysis_rulesarray
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceconfigured_table_associationsINSERTConfiguredTableIdentifier, Name, RoleArn, MembershipIdentifier, region
delete_resourceconfigured_table_associationsDELETEIdentifier, region
update_resourceconfigured_table_associationsUPDATEIdentifier, PatchDocument, region
list_resourcesconfigured_table_associations_list_onlySELECTregion
get_resourceconfigured_table_associationsSELECTIdentifier, region

SELECT examples

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,
configured_table_association_analysis_rules
FROM awscc.cleanrooms.configured_table_associations
WHERE
region = 'us-east-1' AND
Identifier = '{{ configured_table_association_identifier }}|{{ membership_identifier }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.cleanrooms.configured_table_associations (
ConfiguredTableIdentifier,
MembershipIdentifier,
Name,
RoleArn,
region
)
SELECT
'{{ configured_table_identifier }}',
'{{ membership_identifier }}',
'{{ name }}',
'{{ role_arn }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.cleanrooms.configured_table_associations
SET PatchDocument = string('{{ {
"Tags": tags,
"Description": description,
"RoleArn": role_arn,
"ConfiguredTableAssociationAnalysisRules": configured_table_association_analysis_rules
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ configured_table_association_identifier }}|{{ membership_identifier }}';

DELETE example

/*+ delete */
DELETE FROM awscc.cleanrooms.configured_table_associations
WHERE
Identifier = '{{ configured_table_association_identifier }}|{{ membership_identifier }}' AND
region = 'us-east-1';

Permissions

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

cleanrooms:CreateConfiguredTableAssociation,
iam:PassRole,
cleanrooms:ListTagsForResource,
cleanrooms:TagResource,
cleanrooms:GetConfiguredTableAssociation,
cleanrooms:ListConfiguredTableAssociations,
cleanrooms:DeleteConfiguredTableAssociation,
cleanrooms:DeleteConfiguredTableAssociationAnalysisRule,
cleanrooms:CreateConfiguredTableAssociationAnalysisRule,
cleanrooms:GetConfiguredTableAssociationAnalysisRule