Skip to content
v2.278.0

EvaluationFormMultiSelectQuestionOptionProperty Struct ​

An option for a multi-select question in an evaluation form.

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 evaluationFormMultiSelectQuestionOptionProperty: connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty = {
  refId: 'refId',
  text: 'text',

  // 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_multi_select_question_option_property = connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty(
    ref_id="refId",
    text="text",

    # 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.*;

EvaluationFormMultiSelectQuestionOptionProperty evaluationFormMultiSelectQuestionOptionProperty = EvaluationFormMultiSelectQuestionOptionProperty.builder()
        .refId("refId")
        .text("text")

        // 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 evaluationFormMultiSelectQuestionOptionProperty = new EvaluationFormMultiSelectQuestionOptionProperty {
    RefId = "refId",
    Text = "text",

    // 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"

evaluationFormMultiSelectQuestionOptionProperty := &EvaluationFormMultiSelectQuestionOptionProperty{
	RefId: jsii.String("refId"),
	Text: jsii.String("text"),

	// 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.AutomaticFailConfigurationPropertyautomatic_fail_configurationoptionaltyping.Union[IResolvable, AutomaticFailConfigurationProperty]automaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalIResolvableAutomaticFailConfigurationoptionalinterface{} #
Information about automatic fail configuration for an evaluation form.
pointsConfigurationoptionalIResolvable | CfnEvaluationForm.QuestionOptionPointsConfigurationPropertypoints_configurationoptionaltyping.Union[IResolvable, QuestionOptionPointsConfigurationProperty]pointsConfigurationoptionalIResolvablePointsConfigurationoptionalIResolvablePointsConfigurationoptionalinterface{} #
Information about the points configuration for an answer option.
refIdstringref_idstrrefIdStringRefIdstringRefId*string required #
Reference identifier for this option.
scoreoptionalnumberscoreoptionalint | floatscoreoptionalNumberScoreoptionaldoubleScoreoptional*float64 #
The score of an answer option.
textstringtextstrtextStringTextstringText*string required #
Display text for this option.