interface EvaluationFormQuestionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormQuestionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormQuestionProperty |
![]() | software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormQuestionProperty |
![]() | aws_cdk.aws_connect.CfnEvaluationForm.EvaluationFormQuestionProperty |
![]() | aws-cdk-lib » aws_connect » CfnEvaluationForm » EvaluationFormQuestionProperty |
Information about a question from an evaluation form.
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 evaluationFormQuestionProperty: connect.CfnEvaluationForm.EvaluationFormQuestionProperty = {
questionType: 'questionType',
refId: 'refId',
title: 'title',
// the properties below are optional
instructions: 'instructions',
notApplicableEnabled: false,
questionTypeProperties: {
numeric: {
maxValue: 123,
minValue: 123,
// the properties below are optional
automation: {
propertyValue: {
label: 'label',
},
},
options: [{
maxValue: 123,
minValue: 123,
// the properties below are optional
automaticFail: false,
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
score: 123,
}],
// the properties below are optional
automation: {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
// the properties below are optional
defaultOptionRefId: 'defaultOptionRefId',
},
displayAs: 'displayAs',
},
},
weight: 123,
};
Properties
Name | Type | Description |
---|---|---|
question | string | The type of the question. |
ref | string | The identifier of the question. An identifier must be unique within the evaluation form. |
title | string | The title of the question. |
instructions? | string | The instructions of the section. |
not | boolean | IResolvable | The flag to enable not applicable answers to the question. |
question | IResolvable | Evaluation | The properties of the type of question. |
weight? | number | The scoring weight of the section. |
questionType
Type:
string
The type of the question.
Allowed values : NUMERIC
| SINGLESELECT
| TEXT
refId
Type:
string
The identifier of the question. An identifier must be unique within the evaluation form.
Length Constraints : Minimum length of 1. Maximum length of 40.
title
Type:
string
The title of the question.
Length Constraints : Minimum length of 1. Maximum length of 350.
instructions?
Type:
string
(optional)
The instructions of the section.
Length Constraints : Minimum length of 0. Maximum length of 1024.
notApplicableEnabled?
Type:
boolean |
IResolvable
(optional)
The flag to enable not applicable answers to the question.
questionTypeProperties?
Type:
IResolvable
|
Evaluation
(optional)
The properties of the type of question.
Text questions do not have to define question type properties.
weight?
Type:
number
(optional)
The scoring weight of the section.
Minimum : 0
Maximum : 100