CfnEvaluationFormProps Struct
Properties for defining a CfnEvaluationForm.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as connect } from 'aws-cdk-lib';
declare const evaluationFormSectionProperty_: connect.CfnEvaluationForm.EvaluationFormSectionProperty;
const cfnEvaluationFormProps: connect.CfnEvaluationFormProps = {
instanceArn: 'instanceArn',
items: [{
section: {
refId: 'refId',
title: 'title',
// the properties below are optional
instructions: 'instructions',
isExcludedFromScoring: false,
items: [{
question: {
questionType: 'questionType',
refId: 'refId',
title: 'title',
// the properties below are optional
enablement: {
action: 'action',
condition: {
operands: [{
expression: {
comparator: 'comparator',
source: {
type: 'type',
// the properties below are optional
refId: 'refId',
},
values: [{
refId: 'refId',
type: 'type',
}],
},
}],
// the properties below are optional
operator: 'operator',
},
// the properties below are optional
defaultAction: 'defaultAction',
},
instructions: 'instructions',
metricConfiguration: {
metricName: 'metricName',
metricType: 'metricType',
},
notApplicableEnabled: false,
questionTypeProperties: {
multiSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefIds: ['defaultOptionRefIds'],
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefIds: ['optionRefIds'],
},
}],
},
displayAs: 'displayAs',
},
numeric: {
maxValue: 123,
minValue: 123,
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
propertyValue: {
label: 'label',
},
},
options: [{
maxValue: 123,
minValue: 123,
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
},
displayAs: 'displayAs',
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
},
scoringConfiguration: {
isExcludedFromScoring: false,
pointsConfiguration: {
isBonus: false,
maxPointValue: 123,
minPointValue: 123,
},
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
},
weight: 123,
},
section: evaluationFormSectionProperty_,
}],
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
weight: 123,
},
}],
status: 'status',
title: 'title',
// the properties below are optional
aiVersion: 'aiVersion',
autoEvaluationConfiguration: {
enabled: false,
},
description: 'description',
languageConfiguration: {
formLanguage: 'formLanguage',
},
reviewConfiguration: {
reviewNotificationRecipients: [{
type: 'type',
value: {
userId: 'userId',
},
}],
// the properties below are optional
eligibilityDays: 123,
},
scoringStrategy: {
mode: 'mode',
status: 'status',
// the properties below are optional
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
},
tags: [{
key: 'key',
value: 'value',
}],
targetConfiguration: {
contactInteractionType: 'contactInteractionType',
},
};
Properties
aiVersionoptionalstringai_versionoptionalstraiVersionoptionalStringAiVersionoptionalstringAiVersionoptional*string#The AI version to use for the evaluation form.
This specifies which AI model version is used for automated evaluations.
autoEvaluationConfigurationoptionalIResolvable | CfnEvaluationForm.AutoEvaluationConfigurationPropertyauto_evaluation_configurationoptionaltyping.Union[IResolvable, AutoEvaluationConfigurationProperty]autoEvaluationConfigurationoptionalIResolvableAutoEvaluationConfigurationoptionalIResolvableAutoEvaluationConfigurationoptionalinterface{}#The automatic evaluation configuration of an evaluation form.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The description of the evaluation form.
Length Constraints : Minimum length of 0. Maximum length of 1024.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{}required#The identifier of the Amazon Connect instance.
itemsIResolvable | IResolvable | CfnEvaluationForm.EvaluationFormBaseItemProperty[]itemstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EvaluationFormBaseItemProperty]]]itemsIResolvableItemsIResolvableItemsinterface{}required#Items 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
languageConfigurationoptionalIResolvable | CfnEvaluationForm.EvaluationFormLanguageConfigurationPropertylanguage_configurationoptionaltyping.Union[IResolvable, EvaluationFormLanguageConfigurationProperty]languageConfigurationoptionalIResolvableLanguageConfigurationoptionalIResolvableLanguageConfigurationoptionalinterface{}#Configuration for language settings of this evaluation form.
reviewConfigurationoptionalIResolvable | CfnEvaluationForm.EvaluationReviewConfigurationPropertyreview_configurationoptionaltyping.Union[IResolvable, EvaluationReviewConfigurationProperty]reviewConfigurationoptionalIResolvableReviewConfigurationoptionalIResolvableReviewConfigurationoptionalinterface{}#Configuration settings for evaluation reviews.
scoringStrategyoptionalIResolvable | CfnEvaluationForm.ScoringStrategyPropertyscoring_strategyoptionaltyping.Union[IResolvable, ScoringStrategyProperty]scoringStrategyoptionalIResolvableScoringStrategyoptionalIResolvableScoringStrategyoptionalinterface{}#A scoring strategy of the evaluation form.
The status of the evaluation form.
Allowed values : DRAFT | ACTIVE
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
targetConfigurationoptionalIResolvable | CfnEvaluationForm.EvaluationFormTargetConfigurationPropertytarget_configurationoptionaltyping.Union[IResolvable, EvaluationFormTargetConfigurationProperty]targetConfigurationoptionalIResolvableTargetConfigurationoptionalIResolvableTargetConfigurationoptionalinterface{}#Configuration that specifies the target for this evaluation form.
A title of the evaluation form.