aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty

interface EvaluationFormSingleSelectQuestionPropertiesProperty

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

Information about the options in single select questions.

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 evaluationFormSingleSelectQuestionPropertiesProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty = {
  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
optionsIResolvable | IResolvable | EvaluationFormSingleSelectQuestionOptionProperty[]The answer options of the single select question.
automation?IResolvable | EvaluationFormSingleSelectQuestionAutomationPropertyThe display mode of the single select question.
displayAs?stringThe display mode of the single select question.

options

Type: IResolvable | IResolvable | EvaluationFormSingleSelectQuestionOptionProperty[]

The answer options of the single select question.

Minimum : 2

Maximum : 256


automation?

Type: IResolvable | EvaluationFormSingleSelectQuestionAutomationProperty (optional)

The display mode of the single select question.


displayAs?

Type: string (optional)

The display mode of the single select question.

Allowed values : DROPDOWN | RADIO