aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormSectionProperty

interface EvaluationFormSectionProperty

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

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

// 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 evaluationFormItemProperty_: connect.CfnEvaluationForm.EvaluationFormItemProperty;
const evaluationFormSectionProperty: connect.CfnEvaluationForm.EvaluationFormSectionProperty = {
  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: {
      refId: 'refId',
      title: 'title',

      // the properties below are optional
      instructions: 'instructions',
      items: [evaluationFormItemProperty_],
      weight: 123,
    },
  }],
  weight: 123,
};

Properties

NameTypeDescription
refIdstringThe identifier of the section. An identifier must be unique within the evaluation form.
titlestringThe title of the section.
instructions?stringThe instructions of the section.
items?IResolvable | IResolvable | EvaluationFormItemProperty[]The items of the section.
weight?numberThe scoring weight of the section.

refId

Type: string

The identifier of the section. An identifier must be unique within the evaluation form.

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


title

Type: string

The title of the section.

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


instructions?

Type: string (optional)

The instructions of the section.


items?

Type: IResolvable | IResolvable | EvaluationFormItemProperty[] (optional)

The items of the section.

Minimum : 1


weight?

Type: number (optional)

The scoring weight of the section.

Minimum : 0

Maximum : 100