aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty

interface EvaluationFormQuestionTypePropertiesProperty

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

Information about properties for a question in an evaluation form.

The question type properties must be either for a numeric question or a single select question.

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';
const evaluationFormQuestionTypePropertiesProperty: connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty = {
  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',
  },
};

Properties

NameTypeDescription
numeric?IResolvable | EvaluationFormNumericQuestionPropertiesPropertyThe properties of the numeric question.
singleSelect?IResolvable | EvaluationFormSingleSelectQuestionPropertiesPropertyThe properties of the numeric question.

numeric?

Type: IResolvable | EvaluationFormNumericQuestionPropertiesProperty (optional)

The properties of the numeric question.


singleSelect?

Type: IResolvable | EvaluationFormSingleSelectQuestionPropertiesProperty (optional)

The properties of the numeric question.