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
- get (all properties)
- list (identifiers only)
| 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. |
| Name | Datatype | Description |
|---|---|---|
contact_flow_version_arn | string | The identifier of the contact flow version (ARN). |
version | integer | The version number of this revision |
region | string | AWS region. |
For more information, see AWS::Connect::ContactFlowVersion.
Methods
| Name | Resource | Accessible by | Required Params |
|---|---|---|---|
create_resource | contact_flow_versions | INSERT | ContactFlowId, region |
delete_resource | contact_flow_versions | DELETE | Identifier, region |
update_resource | contact_flow_versions | UPDATE | Identifier, PatchDocument, region |
list_resources | contact_flow_versions_list_only | SELECT | region |
get_resource | contact_flow_versions | SELECT | Identifier, region |
SELECT examples
- get (all properties)
- list (identifiers only)
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
Identifier = '{{ contact_flow_version_arn }}';
Lists all contact_flow_versions in a region.
SELECT
region,
contact_flow_version_arn
FROM awscc.connect.contact_flow_versions_list_only
WHERE
region = 'us-east-1';
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
'{{ contact_flow_id }}',
'{{ region }}';
/*+ create */
INSERT INTO awscc.connect.contact_flow_versions (
ContactFlowId,
Description,
region
)
SELECT
'{{ contact_flow_id }}',
'{{ 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: contact_flow_id
value: '{{ contact_flow_id }}'
- name: description
value: '{{ description }}'
DELETE example
/*+ delete */
DELETE FROM awscc.connect.contact_flow_versions
WHERE
Identifier = '{{ contact_flow_version_arn }}' AND
region = 'us-east-1';
Permissions
To operate on the contact_flow_versions resource, the following permissions are required:
- Create
- Read
- Delete
- List
- Update
connect:CreateContactFlowVersion,
connect:DescribeContactFlow
connect:DescribeContactFlow
connect:DeleteContactFlowVersion
connect:ListContactFlowVersions
connect:DescribeContactFlow