Skip to content
v2.274.0

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 ​

Properties for multi-select question types.
The properties of the numeric question.