quick_connects
Creates, updates, deletes or gets a quick_connect resource or lists quick_connects in a region
Overview
| Name | quick_connects |
| Type | Resource |
| Description | Resource Type definition for AWS::Connect::QuickConnect |
| Id | awscc.connect.quick_connects |
Fields
- get (all properties)
- list (identifiers only)
| Name | Datatype | Description |
|---|---|---|
instance_arn | string | The identifier of the Amazon Connect instance. |
name | string | The name of the quick connect. |
description | string | The description of the quick connect. |
quick_connect_config | object | Configuration settings for the quick connect. |
quick_connect_arn | string | The Amazon Resource Name (ARN) for the quick connect. |
tags | array | One or more tags. |
quick_connect_type | string | The type of quick connect. In the Amazon Connect console, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE). |
region | string | AWS region. |
| Name | Datatype | Description |
|---|---|---|
quick_connect_arn | string | The Amazon Resource Name (ARN) for the quick connect. |
region | string | AWS region. |
For more information, see AWS::Connect::QuickConnect.
Methods
| Name | Resource | Accessible by | Required Params |
|---|---|---|---|
create_resource | quick_connects | INSERT | Name, InstanceArn, QuickConnectConfig, region |
delete_resource | quick_connects | DELETE | Identifier, region |
update_resource | quick_connects | UPDATE | Identifier, PatchDocument, region |
list_resources | quick_connects_list_only | SELECT | region |
get_resource | quick_connects | SELECT | Identifier, region |
SELECT examples
- get (all properties)
- list (identifiers only)
Gets all properties from an individual quick_connect.
SELECT
region,
instance_arn,
name,
description,
quick_connect_config,
quick_connect_arn,
tags,
quick_connect_type
FROM awscc.connect.quick_connects
WHERE
region = 'us-east-1' AND
Identifier = '{{ quick_connect_arn }}';
Lists all quick_connects in a region.
SELECT
region,
quick_connect_arn
FROM awscc.connect.quick_connects_list_only
WHERE
region = 'us-east-1';
INSERT example
Use the following StackQL query and manifest file to create a new quick_connect resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.connect.quick_connects (
InstanceArn,
Name,
QuickConnectConfig,
region
)
SELECT
'{{ instance_arn }}',
'{{ name }}',
'{{ quick_connect_config }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.connect.quick_connects (
InstanceArn,
Name,
Description,
QuickConnectConfig,
Tags,
region
)
SELECT
'{{ instance_arn }}',
'{{ name }}',
'{{ description }}',
'{{ quick_connect_config }}',
'{{ tags }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: quick_connect
props:
- name: instance_arn
value: '{{ instance_arn }}'
- name: name
value: '{{ name }}'
- name: description
value: '{{ description }}'
- name: quick_connect_config
value:
quick_connect_type: '{{ quick_connect_type }}'
phone_config:
phone_number: '{{ phone_number }}'
queue_config:
contact_flow_arn: '{{ contact_flow_arn }}'
queue_arn: '{{ queue_arn }}'
user_config:
contact_flow_arn: null
user_arn: '{{ user_arn }}'
- name: tags
value:
- key: '{{ key }}'
value: '{{ value }}'
UPDATE example
Use the following StackQL query and manifest file to update a quick_connect resource, using stack-deploy.
/*+ update */
UPDATE awscc.connect.quick_connects
SET PatchDocument = string('{{ {
"InstanceArn": instance_arn,
"Name": name,
"Description": description,
"QuickConnectConfig": quick_connect_config,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ quick_connect_arn }}';
DELETE example
/*+ delete */
DELETE FROM awscc.connect.quick_connects
WHERE
Identifier = '{{ quick_connect_arn }}' AND
region = 'us-east-1';
Permissions
To operate on the quick_connects resource, the following permissions are required:
- Create
- Read
- Delete
- Update
- List
connect:CreateQuickConnect,
connect:TagResource
connect:DescribeQuickConnect
connect:DeleteQuickConnect,
connect:UntagResource
connect:UpdateQuickConnectName,
connect:UpdateQuickConnectConfig,
connect:TagResource,
connect:UntagResource
connect:ListQuickConnects