Skip to main content

integration_associations

Creates, updates, deletes or gets an integration_association resource or lists integration_associations in a region

Overview

Nameintegration_associations
TypeResource
DescriptionResource Type definition for AWS::Connect::IntegrationAssociation
Idaws.connect.integration_associations

Fields

NameDatatypeDescription
integration_association_idstringIdentifier of the association with Connect Instance
instance_idstringAmazon Connect instance identifier
integration_arnstringARN of Integration being associated with the instance
integration_typestringSpecifies the integration type to be associated with the instance
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTInstanceId, IntegrationType, IntegrationArn, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all integration_associations in a region.

SELECT
region,
integration_association_id,
instance_id,
integration_arn,
integration_type
FROM aws.connect.integration_associations
WHERE region = 'us-east-1';

Gets all properties from an individual integration_association.

SELECT
region,
integration_association_id,
instance_id,
integration_arn,
integration_type
FROM aws.connect.integration_associations
WHERE region = 'us-east-1' AND data__Identifier = '<InstanceId>|<IntegrationType>|<IntegrationArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.connect.integration_associations (
InstanceId,
IntegrationArn,
IntegrationType,
region
)
SELECT
'{{ InstanceId }}',
'{{ IntegrationArn }}',
'{{ IntegrationType }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.connect.integration_associations
WHERE data__Identifier = '<InstanceId|IntegrationType|IntegrationArn>'
AND region = 'us-east-1';

Permissions

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

Create

connect:DescribeInstance,
ds:DescribeDirectories,
app-integrations:CreateEventIntegrationAssociation,
mobiletargeting:GetApp,
cases:GetDomain,
wisdom:GetAssistant,
wisdom:GetKnowledgeBase,
wisdom:TagResource,
voiceid:DescribeDomain,
events:PutTargets,
events:PutRule,
connect:AssociateBot,
connect:AssociateLambdaFunction,
connect:CreateIntegrationAssociation,
connect:ListBots,
connect:ListLambdaFunctions,
connect:ListIntegrationAssociations,
lambda:addPermission,
lex:GetBot,
lex:DescribeBotAlias,
lex:CreateResourcePolicy,
lex:UpdateResourcePolicy,
lex:CreateResourcePolicyStatement,
lambda:AddPermission,
app-integrations:GetApplication,
app-integrations:CreateApplicationAssociation,
iam:AttachRolePolicy,
iam:CreateServiceLinkedRole,
iam:GetRolePolicy,
iam:PutRolePolicy

Read

connect:ListBots,
connect:ListLambdaFunctions,
connect:ListIntegrationAssociations

Delete

connect:DescribeInstance,
ds:DescribeDirectories,
app-integrations:DeleteEventIntegrationAssociation,
app-integrations:DeleteApplicationAssociation,
events:ListTargetsByRule,
events:RemoveTargets,
events:DeleteRule,
connect:DisassociateBot,
connect:DisassociateLambdaFunction,
connect:DeleteIntegrationAssociation,
connect:ListBots,
connect:ListLambdaFunctions,
connect:ListIntegrationAssociations,
lex:DeleteResourcePolicy,
lex:DeleteResourcePolicyStatement,
lambda:RemovePermission,
iam:GetRolePolicy,
iam:DeleteRolePolicy,
iam:PutRolePolicy

List

connect:ListBots,
connect:ListLambdaFunctions,
connect:ListIntegrationAssociations