interface EvaluationFormQuestionTypePropertiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormQuestionTypePropertiesProperty |
Java | software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty |
Python | aws_cdk.aws_connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnEvaluationForm » EvaluationFormQuestionTypePropertiesProperty |
Information about properties for a question in an evaluation form.
The question type properties must be either for a numeric question or a single select question.
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 evaluationFormQuestionTypePropertiesProperty: connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty = {
multiSelect: {
options: [{
refId: 'refId',
text: 'text',
}],
// the properties below are optional
automation: {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefIds: ['optionRefIds'],
},
}],
// the properties below are optional
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefIds: ['defaultOptionRefIds'],
},
displayAs: 'displayAs',
},
numeric: {
maxValue: 123,
minValue: 123,
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
propertyValue: {
label: 'label',
},
},
options: [{
maxValue: 123,
minValue: 123,
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
score: 123,
}],
// the properties below are optional
automation: {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
// the properties below are optional
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
},
displayAs: 'displayAs',
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| multi | IResolvable | Evaluation | |
| numeric? | IResolvable | Evaluation | The properties of the numeric question. |
| single | IResolvable | Evaluation | The properties of the numeric question. |
| text? | IResolvable | Evaluation | The properties of the text question. |
multiSelect?
Type:
IResolvable | Evaluation
(optional)
numeric?
Type:
IResolvable | Evaluation
(optional)
The properties of the numeric question.
singleSelect?
Type:
IResolvable | Evaluation
(optional)
The properties of the numeric question.
text?
Type:
IResolvable | Evaluation
(optional)
The properties of the text question.

.NET
Go
Java
Python
TypeScript