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.
Idaws.connect.evaluation_forms

Fields

NameDatatypeDescription
titlestringA title of the evaluation form.
descriptionstringThe description of the evaluation form.
*Length Constraints*: Minimum length of 0. Maximum length of 1024.
evaluation_form_arnstring
instance_arnstringThe identifier of the Amazon Connect instance.
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.
*Minimum size*: 1
*Maximum size*: 100
scoring_strategyobjectA scoring strategy of the evaluation form.
statusstringThe status of the evaluation form.
*Allowed values*: DRAFT | ACTIVE
tagsarrayThe tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
regionstringAWS region.

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

Methods

NameAccessible byRequired Params
create_resourceINSERTTitle, InstanceArn, Items, Status, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all evaluation_forms in a region.

SELECT
region,
title,
description,
evaluation_form_arn,
instance_arn,
items,
scoring_strategy,
status,
tags
FROM aws.connect.evaluation_forms
WHERE region = 'us-east-1';

Gets all properties from an individual evaluation_form.

SELECT
region,
title,
description,
evaluation_form_arn,
instance_arn,
items,
scoring_strategy,
status,
tags
FROM aws.connect.evaluation_forms
WHERE region = 'us-east-1' AND data__Identifier = '<EvaluationFormArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.connect.evaluation_forms (
Title,
InstanceArn,
Items,
Status,
region
)
SELECT
'{{ Title }}',
'{{ InstanceArn }}',
'{{ Items }}',
'{{ Status }}',
'{{ region }}';

DELETE example

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

Permissions

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

Create

connect:CreateEvaluationForm,
connect:ActivateEvaluationForm,
connect:TagResource

Read

connect:DescribeEvaluationForm,
connect:ListEvaluationFormVersions

List

connect:ListEvaluationForms

Update

connect:UpdateEvaluationForm,
connect:ListEvaluationFormVersions,
connect:ActivateEvaluationForm,
connect:DeactivateEvaluationForm,
connect:TagResource,
connect:UntagResource

Delete

connect:DeleteEvaluationForm,
connect:UntagResource