interface EvaluationFormSectionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsconnect/mixins#CfnEvaluationFormPropsMixin_EvaluationFormSectionProperty |
Java | software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty |
Python | aws_cdk.mixins_preview.aws_connect.mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_connect » mixins » CfnEvaluationFormPropsMixin » EvaluationFormSectionProperty |
Information about a section from an evaluation form.
A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
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';
declare const evaluationFormSectionProperty_: connect_mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty;
const evaluationFormSectionProperty: connect_mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty = {
instructions: 'instructions',
items: [{
question: {
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,
},
section: evaluationFormSectionProperty_,
}],
refId: 'refId',
title: 'title',
weight: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| instructions? | string | The instructions of the section. |
| items? | IResolvable | (IResolvable | Evaluation)[] | The items of the section. |
| ref | string | The identifier of the section. An identifier must be unique within the evaluation form. |
| title? | string | The title of the section. |
| weight? | number | The scoring weight of the section. |
instructions?
Type:
string
(optional)
The instructions of the section.
items?
Type:
IResolvable | (IResolvable | Evaluation)[]
(optional)
The items of the section.
Minimum : 1
refId?
Type:
string
(optional)
The identifier of the section. 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 section.
Length Constraints : Minimum length of 1. Maximum length of 128.
weight?
Type:
number
(optional)
The scoring weight of the section.
Minimum : 0
Maximum : 100

.NET
Go
Java
Python
TypeScript