aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty

interface EvaluationFormNumericQuestionOptionProperty

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

Information about the option range used for scoring in numeric 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 evaluationFormNumericQuestionOptionProperty: connect.CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty = {
  maxValue: 123,
  minValue: 123,

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

Properties

NameTypeDescription
maxValuenumberThe maximum answer value of the range option.
minValuenumberThe minimum answer value of the range option.
automaticFail?boolean | IResolvableThe flag to mark the option as automatic fail.
score?numberThe score assigned to answer values within the range option.

maxValue

Type: number

The maximum answer value of the range option.


minValue

Type: number

The minimum answer value of the range option.


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 answer values within the range option.

Minimum : 0

Maximum : 10