interface EvaluationFormQuestionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins.CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsconnect/mixins#CfnEvaluationFormPropsMixin_EvaluationFormQuestionProperty |
Java | software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty |
Python | aws_cdk.mixins_preview.aws_connect.mixins.CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_connect » mixins » CfnEvaluationFormPropsMixin » 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 { mixins as connect_mixins } from '@aws-cdk/mixins-preview/aws-connect';
const evaluationFormQuestionProperty: connect_mixins.CfnEvaluationFormPropsMixin.EvaluationFormQuestionProperty = {
enablement: {
action: 'action',
condition: {
operands: [{
expression: {
comparator: 'comparator',
source: {
refId: 'refId',
type: 'type',
},
values: [{
refId: 'refId',
type: 'type',
}],
},
}],
operator: 'operator',
},
defaultAction: 'defaultAction',
},
instructions: 'instructions',
notApplicableEnabled: false,
questionType: 'questionType',
questionTypeProperties: {
multiSelect: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefIds: ['defaultOptionRefIds'],
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefIds: ['optionRefIds'],
},
}],
},
displayAs: 'displayAs',
options: [{
refId: 'refId',
text: 'text',
}],
},
numeric: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
propertyValue: {
label: 'label',
},
},
maxValue: 123,
minValue: 123,
options: [{
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
maxValue: 123,
minValue: 123,
score: 123,
}],
},
singleSelect: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
},
displayAs: 'displayAs',
options: [{
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
refId: 'refId',
score: 123,
text: 'text',
}],
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
},
refId: 'refId',
title: 'title',
weight: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| enablement? | IResolvable | Evaluation | A question conditional enablement. |
| instructions? | string | The instructions of the section. |
| not | boolean | IResolvable | The flag to enable not applicable answers to the question. |
| question | string | The type of the question. |
| question | IResolvable | Evaluation | The properties of the type of question. |
| ref | string | The identifier of the question. An identifier must be unique within the evaluation form. |
| title? | string | The title of the question. |
| weight? | number | The scoring weight of the section. |
enablement?
Type:
IResolvable | Evaluation
(optional)
A question conditional enablement.
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.
questionType?
Type:
string
(optional)
The type of the question.
Allowed values : NUMERIC | SINGLESELECT | TEXT
questionTypeProperties?
Type:
IResolvable | Evaluation
(optional)
The properties of the type of question.
Text questions do not have to define question type properties.
refId?
Type:
string
(optional)
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
(optional)
The title of the question.
Length Constraints : Minimum length of 1. Maximum length of 350.
weight?
Type:
number
(optional)
The scoring weight of the section.
Minimum : 0
Maximum : 100

.NET
Go
Java
Python
TypeScript