integration_associations
Creates, updates, deletes or gets an integration_association
resource or lists integration_associations
in a region
Overview
Name | integration_associations |
Type | Resource |
Description | Resource Type definition for AWS::Connect::IntegrationAssociation |
Id | aws.connect.integration_associations |
Fields
Name | Datatype | Description |
---|---|---|
integration_association_id | string | Identifier of the association with Connect Instance |
instance_id | string | Amazon Connect instance identifier |
integration_arn | string | ARN of Integration being associated with the instance |
integration_type | string | Specifies the integration type to be associated with the instance |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | InstanceId, IntegrationType, IntegrationArn, region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__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
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.connect.integration_associations (
InstanceId,
IntegrationArn,
IntegrationType,
region
)
SELECT
'{{ InstanceId }}',
'{{ IntegrationArn }}',
'{{ IntegrationType }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.connect.integration_associations (
InstanceId,
IntegrationArn,
IntegrationType,
region
)
SELECT
'{{ InstanceId }}',
'{{ IntegrationArn }}',
'{{ IntegrationType }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: integration_association
props:
- name: InstanceId
value: '{{ InstanceId }}'
- name: IntegrationArn
value: '{{ IntegrationArn }}'
- name: IntegrationType
value: '{{ IntegrationType }}'
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