interface EvaluationFormSingleSelectQuestionOptionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormSingleSelectQuestionOptionProperty |
Java | software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty |
Python | aws_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,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
score: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| ref | string | The identifier of the answer option. An identifier must be unique within the question. |
| text | string | The title of the answer option. |
| automatic | boolean | IResolvable | The flag to mark the option as automatic fail. |
| automatic | IResolvable | Automatic | |
| score? | number | The 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.
automaticFailConfiguration?
Type:
IResolvable | Automatic
(optional)
score?
Type:
number
(optional)
The score assigned to the answer option.
Minimum : 0
Maximum : 10

.NET
Go
Java
Python
TypeScript