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
DescriptionResource Type definition for AWS::Connect::EvaluationForm
Idaws.connect.evaluation_forms

Fields

NameDatatypeDescription
titlestringThe title of the evaluation form.
descriptionstringThe description of the evaluation form.
evaluation_form_arnstringThe Amazon Resource Name (ARN) for the evaluation form.
instance_arnstringThe Amazon Resource Name (ARN) of the instance.
itemsarrayThe list of evaluation form items.
scoring_strategyobjectThe scoring strategy.
statusstringThe status of the evaluation form.
tagsarrayOne or more tags.
regionstringAWS region.

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