aws-cdk-lib.aws_connect.CfnEvaluationFormProps

interface CfnEvaluationFormProps

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

Properties for defining a CfnEvaluationForm.

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 cfnEvaluationFormProps: connect.CfnEvaluationFormProps = {
  instanceArn: 'instanceArn',
  items: [{
    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,
    },
  }],
  status: 'status',
  title: 'title',

  // the properties below are optional
  description: 'description',
  scoringStrategy: {
    mode: 'mode',
    status: 'status',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties

NameTypeDescription
instanceArnstringThe identifier of the Amazon Connect instance.
itemsIResolvable | IResolvable | EvaluationFormBaseItemProperty[]Items that are part of the evaluation form.
statusstringThe status of the evaluation form.
titlestringA title of the evaluation form.
description?stringThe description of the evaluation form.
scoringStrategy?IResolvable | ScoringStrategyPropertyA scoring strategy of the evaluation form.
tags?CfnTag[]The tags used to organize, track, or control access for this resource.

instanceArn

Type: string

The identifier of the Amazon Connect instance.


items

Type: IResolvable | IResolvable | EvaluationFormBaseItemProperty[]

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.

Minimum size : 1

Maximum size : 100


status

Type: string

The status of the evaluation form.

Allowed values : DRAFT | ACTIVE


title

Type: string

A title of the evaluation form.


description?

Type: string (optional)

The description of the evaluation form.

Length Constraints : Minimum length of 0. Maximum length of 1024.


scoringStrategy?

Type: IResolvable | ScoringStrategyProperty (optional)

A scoring strategy of the evaluation form.


tags?

Type: CfnTag[] (optional)

The tags used to organize, track, or control access for this resource.

For example, { "tags": {"key1":"value1", "key2":"value2"} }.