Skip to content
v2.273.0

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 ​

automaticFailboolean | IResolvableautomatic_failtyping.Union[bool, IResolvable]automaticFailBooleanAutomaticFailboolAutomaticFailinterface{}#
The flag to mark the option as automatic fail.

If an automatic fail answer is provided, the overall evaluation gets a score of 0.

automaticFailConfigurationIResolvable | CfnEvaluationForm.AutomaticFailConfigurationPropertyautomatic_fail_configurationtyping.Union[IResolvable, AutomaticFailConfigurationProperty]automaticFailConfigurationIResolvableAutomaticFailConfigurationIResolvableAutomaticFailConfigurationinterface{}#
Whether automatic fail is configured on a single select question.
pointsConfigurationIResolvable | CfnEvaluationForm.QuestionOptionPointsConfigurationPropertypoints_configurationtyping.Union[IResolvable, QuestionOptionPointsConfigurationProperty]pointsConfigurationIResolvablePointsConfigurationIResolvablePointsConfigurationinterface{}#
Information about the points configuration for an answer option.
refIdstringref_idstrrefIdStringRefIdstringRefId*stringrequired#
The identifier of the answer option. An identifier must be unique within the question.

Length Constraints : Minimum length of 1. Maximum length of 40.

scorenumberscoreint | floatscoreNumberScoredoubleScore*float64#
The score assigned to the answer option.

Minimum : 0

Maximum : 10

textstringtextstrtextStringTextstringText*stringrequired#
The title of the answer option.

Length Constraints : Minimum length of 1. Maximum length of 128.