Skip to main content

evaluation_forms

Creates, updates, deletes or gets an evaluation_form resource or lists evaluation_forms in a region

Overview

Nameevaluation_forms
TypeResource
DescriptionCreates an evaluation form for the specified CON instance.
Idawscc.connect.evaluation_forms

Fields

NameDatatypeDescription
scoring_strategyobjectA scoring strategy of the evaluation form.
statusstringThe status of the evaluation form.<br />&#42;Allowed values&#42;: &#96;&#96;DRAFT&#96;&#96; &#124; &#96;&#96;ACTIVE&#96;&#96;
auto_evaluation_configurationobject
descriptionstringThe description of the evaluation form.<br />&#42;Length Constraints&#42;: Minimum length of 0. Maximum length of 1024.
instance_arnstringThe identifier of the Amazon Connect instance.
titlestringA title of the evaluation form.
itemsarrayItems that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.<br />&#42;Minimum size&#42;: 1<br />&#42;Maximum size&#42;: 100
evaluation_form_arnstring
tagsarrayThe tags used to organize, track, or control access for this resource. For example, &#123; "tags": &#123;"key1":"value1", "key2":"value2"&#125; &#125;.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceevaluation_formsINSERTTitle, InstanceArn, Items, Status, region
delete_resourceevaluation_formsDELETEIdentifier, region
update_resourceevaluation_formsUPDATEIdentifier, PatchDocument, region
list_resourcesevaluation_forms_list_onlySELECTregion
get_resourceevaluation_formsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual evaluation_form.

SELECT
region,
scoring_strategy,
status,
auto_evaluation_configuration,
description,
instance_arn,
title,
items,
evaluation_form_arn,
tags
FROM awscc.connect.evaluation_forms
WHERE
region = 'us-east-1' AND
Identifier = '{{ evaluation_form_arn }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.connect.evaluation_forms (
Status,
InstanceArn,
Title,
Items,
region
)
SELECT
'{{ status }}',
'{{ instance_arn }}',
'{{ title }}',
'{{ items }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a evaluation_form resource, using stack-deploy.

/*+ update */
UPDATE awscc.connect.evaluation_forms
SET PatchDocument = string('{{ {
"ScoringStrategy": scoring_strategy,
"Status": status,
"AutoEvaluationConfiguration": auto_evaluation_configuration,
"Description": description,
"InstanceArn": instance_arn,
"Title": title,
"Items": items,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ evaluation_form_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.connect.evaluation_forms
WHERE
Identifier = '{{ evaluation_form_arn }}' AND
region = 'us-east-1';

Permissions

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

connect:DescribeEvaluationForm,
connect:ListEvaluationFormVersions