Skip to content
v2.273.0

EvaluationFormSectionProperty Struct ​

Information about a section from an evaluation form.

A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).

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';

declare const evaluationFormSectionProperty_: connect.CfnEvaluationForm.EvaluationFormSectionProperty;
const evaluationFormSectionProperty: connect.CfnEvaluationForm.EvaluationFormSectionProperty = {
  refId: 'refId',
  title: 'title',

  // the properties below are optional
  instructions: 'instructions',
  isExcludedFromScoring: false,
  items: [{
    question: {
      questionType: 'questionType',
      refId: 'refId',
      title: 'title',

      // the properties below are optional
      enablement: {
        action: 'action',
        condition: {
          operands: [{
            expression: {
              comparator: 'comparator',
              source: {
                type: 'type',

                // the properties below are optional
                refId: 'refId',
              },
              values: [{
                refId: 'refId',
                type: 'type',
              }],
            },
          }],

          // the properties below are optional
          operator: 'operator',
        },

        // the properties below are optional
        defaultAction: 'defaultAction',
      },
      instructions: 'instructions',
      metricConfiguration: {
        metricName: 'metricName',
        metricType: 'metricType',
      },
      notApplicableEnabled: false,
      questionTypeProperties: {
        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',
            },
          },
        },
      },
      scoringConfiguration: {
        isExcludedFromScoring: false,
        pointsConfiguration: {
          isBonus: false,
          maxPointValue: 123,
          minPointValue: 123,
        },
        scoreThresholds: [{
          performanceCategory: 'performanceCategory',

          // the properties below are optional
          maxScorePercentage: 123,
          minScorePercentage: 123,
        }],
      },
      weight: 123,
    },
    section: evaluationFormSectionProperty_,
  }],
  scoreThresholds: [{
    performanceCategory: 'performanceCategory',

    // the properties below are optional
    maxScorePercentage: 123,
    minScorePercentage: 123,
  }],
  weight: 123,
};

Properties ​

instructionsstringinstructionsstrinstructionsStringInstructionsstringInstructions*string#
The instructions of the section.
isExcludedFromScoringboolean | IResolvableis_excluded_from_scoringtyping.Union[bool, IResolvable]isExcludedFromScoringBooleanIsExcludedFromScoringboolIsExcludedFromScoringinterface{}#
The flag to exclude the section from scoring.
The items of the section.

Minimum : 1

refIdstringref_idstrrefIdStringRefIdstringRefId*stringrequired#
The identifier of the section. An identifier must be unique within the evaluation form.

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

scoreThresholdsIResolvable | IResolvable | CfnEvaluationForm.EvaluationFormScoreThresholdProperty[]score_thresholdstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EvaluationFormScoreThresholdProperty]]]scoreThresholdsIResolvableScoreThresholdsIResolvableScoreThresholdsinterface{}#
The score thresholds for performance categories.
titlestringtitlestrtitleStringTitlestringTitle*stringrequired#
The title of the section.

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

weightnumberweightint | floatweightNumberWeightdoubleWeight*float64#
The scoring weight of the section.

Minimum : 0

Maximum : 100