Skip to main content

quick_connects

Creates, updates, deletes or gets a quick_connect resource or lists quick_connects in a region

Overview

Namequick_connects
TypeResource
DescriptionResource Type definition for AWS::Connect::QuickConnect
Idawscc.connect.quick_connects

Fields

NameDatatypeDescription
instance_arnstringThe identifier of the Amazon Connect instance.
namestringThe name of the quick connect.
descriptionstringThe description of the quick connect.
quick_connect_configobjectConfiguration settings for the quick connect.
quick_connect_arnstringThe Amazon Resource Name (ARN) for the quick connect.
tagsarrayOne or more tags.
quick_connect_typestringThe 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).
regionstringAWS region.

For more information, see AWS::Connect::QuickConnect.

Methods

NameResourceAccessible byRequired Params
create_resourcequick_connectsINSERTName, InstanceArn, QuickConnectConfig, region
delete_resourcequick_connectsDELETEIdentifier, region
update_resourcequick_connectsUPDATEIdentifier, PatchDocument, region
list_resourcesquick_connects_list_onlySELECTregion
get_resourcequick_connectsSELECTIdentifier, region

SELECT examples

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 = '{{ region }}' AND
Identifier = '{{ quick_connect_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.connect.quick_connects (
InstanceArn,
Name,
QuickConnectConfig,
region
)
SELECT
'{{ instance_arn }}',
'{{ name }}',
'{{ quick_connect_config }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

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 }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.connect.quick_connects
WHERE
Identifier = '{{ quick_connect_arn }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

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

connect:CreateQuickConnect,
connect:TagResource