Skip to main content

contact_flow_modules

Creates, updates, deletes or gets a contact_flow_module resource or lists contact_flow_modules in a region

Overview

Namecontact_flow_modules
TypeResource
DescriptionResource Type definition for AWS::Connect::ContactFlowModule.
Idaws.connect.contact_flow_modules

Fields

NameDatatypeDescription
instance_arnstringThe identifier of the Amazon Connect instance (ARN).
contact_flow_module_arnstringThe identifier of the contact flow module (ARN).
namestringThe name of the contact flow module.
contentstringThe content of the contact flow module in JSON format.
descriptionstringThe description of the contact flow module.
statestringThe state of the contact flow module.
statusstringThe status of the contact flow module.
tagsarrayOne or more tags.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTInstanceArn, Name, Content, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all contact_flow_modules in a region.

SELECT
region,
instance_arn,
contact_flow_module_arn,
name,
content,
description,
state,
status,
tags
FROM aws.connect.contact_flow_modules
WHERE region = 'us-east-1';

Gets all properties from an individual contact_flow_module.

SELECT
region,
instance_arn,
contact_flow_module_arn,
name,
content,
description,
state,
status,
tags
FROM aws.connect.contact_flow_modules
WHERE region = 'us-east-1' AND data__Identifier = '<ContactFlowModuleArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.connect.contact_flow_modules (
InstanceArn,
Name,
Content,
region
)
SELECT
'{{ InstanceArn }}',
'{{ Name }}',
'{{ Content }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.connect.contact_flow_modules
WHERE data__Identifier = '<ContactFlowModuleArn>'
AND region = 'us-east-1';

Permissions

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

Create

connect:CreateContactFlowModule,
connect:TagResource

Read

connect:DescribeContactFlowModule

Delete

connect:DeleteContactFlowModule,
connect:UntagResource

Update

connect:UpdateContactFlowModuleMetadata,
connect:UpdateContactFlowModuleContent,
connect:TagResource,
connect:UntagResource

List

connect:ListContactFlowModules