contact_flow_versions
Creates, updates, deletes or gets a contact_flow_version resource or lists contact_flow_versions in a region
Overview
| Name | contact_flow_versions |
| Type | Resource |
| Description | Resource Type Definition for ContactFlowVersion |
| Id | awscc.connect.contact_flow_versions |
Fields
| Name | Datatype | Description |
|---|---|---|
contact_flow_version_arn | string | The identifier of the contact flow version (ARN). |
contact_flow_id | string | The ARN of the contact flow this version is tied to. |
version | integer | The version number of this revision |
description | string | The description of the version. |
flow_content_sha256 | string | Indicates the checksum value of the latest published flow content |
region | string | AWS region. |
For more information, see AWS::Connect::ContactFlowVersion.
Methods
| Name | Accessible by | Required Params |
|---|---|---|
create_resource | INSERT | ContactFlowId, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, 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 = 'us-east-1' AND data__Identifier = '<ContactFlowVersionARN>';
INSERT example
Use the following StackQL query and manifest file to create a new contact_flow_version resource, using stack-deploy.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO awscc.connect.contact_flow_versions (
ContactFlowId,
region
)
SELECT
'{{ ContactFlowId }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.connect.contact_flow_versions (
ContactFlowId,
Description,
region
)
SELECT
'{{ ContactFlowId }}',
'{{ Description }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: contact_flow_version
props:
- name: ContactFlowId
value: '{{ ContactFlowId }}'
- name: Description
value: '{{ Description }}'
DELETE example
/*+ delete */
DELETE FROM awscc.connect.contact_flow_versions
WHERE data__Identifier = '<ContactFlowVersionARN>'
AND region = 'us-east-1';
Permissions
To operate on the contact_flow_versions resource, the following permissions are required:
Create
connect:CreateContactFlowVersion,
connect:DescribeContactFlow
Read
connect:DescribeContactFlow
Delete
connect:DeleteContactFlowVersion
List
connect:ListContactFlowVersions
Update
connect:DescribeContactFlow