aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormBaseItemProperty

interface EvaluationFormBaseItemProperty

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

An item at the root level.

All items must be sections.

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 evaluationFormBaseItemProperty: connect.CfnEvaluationForm.EvaluationFormBaseItemProperty = {
  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
sectionIResolvable | EvaluationFormSectionPropertyA subsection or inner section of an item.

section

Type: IResolvable | EvaluationFormSectionProperty

A subsection or inner section of an item.