Skip to main content

contact_flow_versions

Creates, updates, deletes or gets a contact_flow_version resource or lists contact_flow_versions in a region

Overview

Namecontact_flow_versions
TypeResource
DescriptionResource Type Definition for ContactFlowVersion
Idawscc.connect.contact_flow_versions

Fields

NameDatatypeDescription
contact_flow_version_arnstringThe identifier of the contact flow version (ARN).
contact_flow_idstringThe ARN of the contact flow this version is tied to.
versionintegerThe version number of this revision
descriptionstringThe description of the version.
flow_content_sha256stringIndicates the checksum value of the latest published flow content
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourcecontact_flow_versionsINSERTContactFlowId, region
delete_resourcecontact_flow_versionsDELETEIdentifier, region
update_resourcecontact_flow_versionsUPDATEIdentifier, PatchDocument, region
list_resourcescontact_flow_versions_list_onlySELECTregion
get_resourcecontact_flow_versionsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual contact_flow_version.

SELECT
region,
contact_flow_version_arn,
contact_flow_id,
version,
description,
flow_content_sha256
FROM awscc.connect.contact_flow_versions
WHERE
region = '{{ region }}' AND
Identifier = '{{ contact_flow_version_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.connect.contact_flow_versions (
ContactFlowId,
region
)
SELECT
'{{ contact_flow_id }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.connect.contact_flow_versions
WHERE
Identifier = '{{ contact_flow_version_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 contact_flow_versions resource, the following permissions are required:

connect:CreateContactFlowVersion,
connect:DescribeContactFlow