aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty

interface EvaluationFormSingleSelectQuestionOptionProperty

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

Information about the automation configuration 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 evaluationFormSingleSelectQuestionOptionProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty = {
  refId: 'refId',
  text: 'text',

  // the properties below are optional
  automaticFail: false,
  score: 123,
};

Properties

NameTypeDescription
refIdstringThe identifier of the answer option. An identifier must be unique within the question.
textstringThe title of the answer option.
automaticFail?boolean | IResolvableThe flag to mark the option as automatic fail.
score?numberThe score assigned to the answer option.

refId

Type: string

The identifier of the answer option. An identifier must be unique within the question.

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


text

Type: string

The title of the answer option.

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


automaticFail?

Type: boolean | IResolvable (optional)

The flag to mark the option as automatic fail.

If an automatic fail answer is provided, the overall evaluation gets a score of 0.


score?

Type: number (optional)

The score assigned to the answer option.

Minimum : 0

Maximum : 10