aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormItemProperty

interface EvaluationFormItemProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormItemProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormItemProperty
Javasoftware.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormItemProperty
Pythonaws_cdk.aws_connect.CfnEvaluationForm.EvaluationFormItemProperty
TypeScript aws-cdk-lib » aws_connect » CfnEvaluationForm » EvaluationFormItemProperty

Items that are part of the evaluation form.

The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.

Example

// 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 evaluationFormItemProperty: connect.CfnEvaluationForm.EvaluationFormItemProperty = {
  question: {
    questionType: 'questionType',
    refId: 'refId',
    title: 'title',

    // the properties below are optional
    instructions: 'instructions',
    notApplicableEnabled: false,
    questionTypeProperties: {
      numeric: {
        maxValue: 123,
        minValue: 123,

        // the properties below are optional
        automation: {
          propertyValue: {
            label: 'label',
          },
        },
        options: [{
          maxValue: 123,
          minValue: 123,

          // the properties below are optional
          automaticFail: false,
          score: 123,
        }],
      },
      singleSelect: {
        options: [{
          refId: 'refId',
          text: 'text',

          // the properties below are optional
          automaticFail: false,
          score: 123,
        }],

        // the properties below are optional
        automation: {
          options: [{
            ruleCategory: {
              category: 'category',
              condition: 'condition',
              optionRefId: 'optionRefId',
            },
          }],

          // the properties below are optional
          defaultOptionRefId: 'defaultOptionRefId',
        },
        displayAs: 'displayAs',
      },
    },
    weight: 123,
  },
  section: {
    refId: 'refId',
    title: 'title',

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

        // the properties below are optional
        instructions: 'instructions',
        notApplicableEnabled: false,
        questionTypeProperties: {
          numeric: {
            maxValue: 123,
            minValue: 123,

            // the properties below are optional
            automation: {
              propertyValue: {
                label: 'label',
              },
            },
            options: [{
              maxValue: 123,
              minValue: 123,

              // the properties below are optional
              automaticFail: false,
              score: 123,
            }],
          },
          singleSelect: {
            options: [{
              refId: 'refId',
              text: 'text',

              // the properties below are optional
              automaticFail: false,
              score: 123,
            }],

            // the properties below are optional
            automation: {
              options: [{
                ruleCategory: {
                  category: 'category',
                  condition: 'condition',
                  optionRefId: 'optionRefId',
                },
              }],

              // the properties below are optional
              defaultOptionRefId: 'defaultOptionRefId',
            },
            displayAs: 'displayAs',
          },
        },
        weight: 123,
      },
      section: evaluationFormSectionProperty_,
    }],
    weight: 123,
  },
};

Properties

NameTypeDescription
question?IResolvable | EvaluationFormQuestionPropertyThe information of the question.
section?IResolvable | EvaluationFormSectionPropertyThe information of the section.

question?

Type: IResolvable | EvaluationFormQuestionProperty (optional)

The information of the question.


section?

Type: IResolvable | EvaluationFormSectionProperty (optional)

The information of the section.