EvaluationFormNumericQuestionOptionProperty Struct
Information about the option range used for scoring in numeric questions.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
evaluation_form_numeric_question_option_property = connect.CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty(
max_value=123,
min_value=123,
# the properties below are optional
automatic_fail=False,
automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty(
target_section="targetSection"
),
points_configuration=connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty(
point_value=123,
# the properties below are optional
is_bonus=False
),
score=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
EvaluationFormNumericQuestionOptionProperty evaluationFormNumericQuestionOptionProperty = EvaluationFormNumericQuestionOptionProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.pointValue(123)
// the properties below are optional
.isBonus(false)
.build())
.score(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var evaluationFormNumericQuestionOptionProperty = new EvaluationFormNumericQuestionOptionProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
PointsConfiguration = new QuestionOptionPointsConfigurationProperty {
PointValue = 123,
// the properties below are optional
IsBonus = false
},
Score = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
evaluationFormNumericQuestionOptionProperty := &EvaluationFormNumericQuestionOptionProperty{
MaxValue: jsii.Number(123),
MinValue: jsii.Number(123),
// the properties below are optional
AutomaticFail: jsii.Boolean(false),
AutomaticFailConfiguration: &AutomaticFailConfigurationProperty{
TargetSection: jsii.String("targetSection"),
},
PointsConfiguration: &QuestionOptionPointsConfigurationProperty{
PointValue: jsii.Number(123),
// the properties below are optional
IsBonus: jsii.Boolean(false),
},
Score: jsii.Number(123),
}
Properties
automaticFailoptionalboolean | IResolvableautomatic_failoptionaltyping.Union[bool, IResolvable]automaticFailoptionalBooleanAutomaticFailoptionalboolAutomaticFailoptionalinterface{} #The flag to mark the option as automatic fail.
If an automatic fail answer is provided, the overall evaluation gets a score of 0.
automaticFailConfigurationoptionalIResolvable | CfnEvaluationForm.automatic_fail_configurationoptionaltyping.Union[IResolvable, AutomaticFailConfigurationProperty]automaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalinterface{} #A configuration for automatic fail.
The maximum answer value of the range option.
The minimum answer value of the range option.
pointsConfigurationoptionalIResolvable | CfnEvaluationForm.points_configurationoptionaltyping.Union[IResolvable, QuestionOptionPointsConfigurationProperty]pointsConfigurationoptionalIResolvablePointsConfigurationoptionalIResolvablePointsConfigurationoptionalinterface{} #Information about the points configuration for an answer option.
scoreoptionalnumberscoreoptionalint | floatscoreoptionalNumberScoreoptionaldoubleScoreoptional*float64 #The score assigned to answer values within the range option.
Minimum : 0
Maximum : 10