EvaluationFormQuestionTypePropertiesProperty Struct
Information about properties for a question in an evaluation form.
The question type properties must be either for a numeric question or a single select question.
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';
const evaluationFormQuestionTypePropertiesProperty: connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty = {
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',
},
},
},
};
Properties
multiSelectIResolvable | CfnEvaluationForm.EvaluationFormMultiSelectQuestionPropertiesPropertymulti_selecttyping.Union[IResolvable, EvaluationFormMultiSelectQuestionPropertiesProperty]multiSelectIResolvableMultiSelectIResolvableMultiSelectinterface{}#Properties for multi-select question types.
numericIResolvable | CfnEvaluationForm.EvaluationFormNumericQuestionPropertiesPropertynumerictyping.Union[IResolvable, EvaluationFormNumericQuestionPropertiesProperty]numericIResolvableNumericIResolvableNumericinterface{}#The properties of the numeric question.
singleSelectIResolvable | CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesPropertysingle_selecttyping.Union[IResolvable, EvaluationFormSingleSelectQuestionPropertiesProperty]singleSelectIResolvableSingleSelectIResolvableSingleSelectinterface{}#The properties of the numeric question.
textIResolvable | CfnEvaluationForm.EvaluationFormTextQuestionPropertiesPropertytexttyping.Union[IResolvable, EvaluationFormTextQuestionPropertiesProperty]textIResolvableTextIResolvableTextinterface{}#The properties of the text question.