EvaluationFormSingleSelectQuestionOptionProperty Struct
Information about the automation configuration in single select questions.
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 evaluationFormSingleSelectQuestionOptionProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty = {
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,
};
Properties
automaticFailoptionalboolean | IResolvableautomatic_failoptionaltyping.Union[bool, IResolvable]automaticFailoptionalBooleanAutomaticFailoptionalboolAutomaticFailoptionalinterface{}#The flag to mark the option as automatic fail.
If an automatic fail answer is provided, the overall evaluation gets a score of 0.
automaticFailConfigurationoptionalIResolvable | CfnEvaluationForm.AutomaticFailConfigurationPropertyautomatic_fail_configurationoptionaltyping.Union[IResolvable, AutomaticFailConfigurationProperty]automaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalinterface{}#Whether automatic fail is configured on a single select question.
pointsConfigurationoptionalIResolvable | CfnEvaluationForm.QuestionOptionPointsConfigurationPropertypoints_configurationoptionaltyping.Union[IResolvable, QuestionOptionPointsConfigurationProperty]pointsConfigurationoptionalIResolvablePointsConfigurationoptionalIResolvablePointsConfigurationoptionalinterface{}#Information about the points configuration for an answer option.
The identifier of the answer option. An identifier must be unique within the question.
Length Constraints : Minimum length of 1. Maximum length of 40.
scoreoptionalnumberscoreoptionalint | floatscoreoptionalNumberScoreoptionaldoubleScoreoptional*float64#The score assigned to the answer option.
Minimum : 0
Maximum : 10
The title of the answer option.
Length Constraints : Minimum length of 1. Maximum length of 128.