Skip to content
v2.273.0

EvaluationFormSingleSelectQuestionPropertiesProperty Struct ​

Information about the options 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 evaluationFormSingleSelectQuestionPropertiesProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty = {
  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',
};

Properties ​

The display mode of the single select question.
displayAsstringdisplay_asstrdisplayAsStringDisplayAsstringDisplayAs*string#
The display mode of the single select question.

Allowed values : DROPDOWN | RADIO

The answer options of the single select question.

Minimum : 2

Maximum : 256