EvaluationFormQuestionProperty Struct
Information about a question from an evaluation form.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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
enablement: {
action: 'action',
condition: {
operands: [{
expression: {
comparator: 'comparator',
source: {
type: 'type',
// the properties below are optional
refId: 'refId',
},
values: [{
refId: 'refId',
type: 'type',
}],
},
}],
// the properties below are optional
operator: 'operator',
},
// the properties below are optional
defaultAction: 'defaultAction',
},
instructions: 'instructions',
metricConfiguration: {
metricName: 'metricName',
metricType: 'metricType',
},
notApplicableEnabled: false,
questionTypeProperties: {
multiSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefIds: ['defaultOptionRefIds'],
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefIds: ['optionRefIds'],
},
}],
},
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',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
pointsConfiguration: {
pointValue: 123,
// the properties below are optional
isBonus: false,
},
score: 123,
}],
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
},
displayAs: 'displayAs',
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
},
scoringConfiguration: {
isExcludedFromScoring: false,
pointsConfiguration: {
isBonus: false,
maxPointValue: 123,
minPointValue: 123,
},
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
},
weight: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect
evaluation_form_question_property = connect.CfnEvaluationForm.EvaluationFormQuestionProperty(
question_type="questionType",
ref_id="refId",
title="title",
# the properties below are optional
enablement=connect.CfnEvaluationForm.EvaluationFormItemEnablementConfigurationProperty(
action="action",
condition=connect.CfnEvaluationForm.EvaluationFormItemEnablementConditionProperty(
operands=[connect.CfnEvaluationForm.EvaluationFormItemEnablementConditionOperandProperty(
expression=connect.CfnEvaluationForm.EvaluationFormItemEnablementExpressionProperty(
comparator="comparator",
source=connect.CfnEvaluationForm.EvaluationFormItemEnablementSourceProperty(
type="type",
# the properties below are optional
ref_id="refId"
),
values=[connect.CfnEvaluationForm.EvaluationFormItemEnablementSourceValueProperty(
ref_id="refId",
type="type"
)]
)
)],
# the properties below are optional
operator="operator"
),
# the properties below are optional
default_action="defaultAction"
),
instructions="instructions",
metric_configuration=connect.CfnEvaluationForm.EvaluationFormMetricConfigurationProperty(
metric_name="metricName",
metric_type="metricType"
),
not_applicable_enabled=False,
question_type_properties=connect.CfnEvaluationForm.EvaluationFormQuestionTypePropertiesProperty(
multi_select=connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionPropertiesProperty(
options=[connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionOptionProperty(
ref_id="refId",
text="text",
# the properties below are optional
automatic_fail=False,
automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty(
target_section="targetSection"
),
points_configuration=connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty(
point_value=123,
# the properties below are optional
is_bonus=False
),
score=123
)],
# the properties below are optional
automation=connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationProperty(
answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty(
source_type="sourceType"
),
default_option_ref_ids=["defaultOptionRefIds"],
options=[connect.CfnEvaluationForm.EvaluationFormMultiSelectQuestionAutomationOptionProperty(
rule_category=connect.CfnEvaluationForm.MultiSelectQuestionRuleCategoryAutomationProperty(
category="category",
condition="condition",
option_ref_ids=["optionRefIds"]
)
)]
),
display_as="displayAs"
),
numeric=connect.CfnEvaluationForm.EvaluationFormNumericQuestionPropertiesProperty(
max_value=123,
min_value=123,
# the properties below are optional
automation=connect.CfnEvaluationForm.EvaluationFormNumericQuestionAutomationProperty(
answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty(
source_type="sourceType"
),
property_value=connect.CfnEvaluationForm.NumericQuestionPropertyValueAutomationProperty(
label="label"
)
),
options=[connect.CfnEvaluationForm.EvaluationFormNumericQuestionOptionProperty(
max_value=123,
min_value=123,
# the properties below are optional
automatic_fail=False,
automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty(
target_section="targetSection"
),
points_configuration=connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty(
point_value=123,
# the properties below are optional
is_bonus=False
),
score=123
)]
),
single_select=connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionPropertiesProperty(
options=[connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionOptionProperty(
ref_id="refId",
text="text",
# the properties below are optional
automatic_fail=False,
automatic_fail_configuration=connect.CfnEvaluationForm.AutomaticFailConfigurationProperty(
target_section="targetSection"
),
points_configuration=connect.CfnEvaluationForm.QuestionOptionPointsConfigurationProperty(
point_value=123,
# the properties below are optional
is_bonus=False
),
score=123
)],
# the properties below are optional
automation=connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty(
answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty(
source_type="sourceType"
),
default_option_ref_id="defaultOptionRefId",
options=[connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty(
rule_category=connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty(
category="category",
condition="condition",
option_ref_id="optionRefId"
)
)]
),
display_as="displayAs"
),
text=connect.CfnEvaluationForm.EvaluationFormTextQuestionPropertiesProperty(
automation=connect.CfnEvaluationForm.EvaluationFormTextQuestionAutomationProperty(
answer_source=connect.CfnEvaluationForm.EvaluationFormQuestionAutomationAnswerSourceProperty(
source_type="sourceType"
)
)
)
),
scoring_configuration=connect.CfnEvaluationForm.EvaluationFormQuestionScoringConfigurationProperty(
is_excluded_from_scoring=False,
points_configuration=connect.CfnEvaluationForm.QuestionPointsConfigurationProperty(
is_bonus=False,
max_point_value=123,
min_point_value=123
),
score_thresholds=[connect.CfnEvaluationForm.EvaluationFormScoreThresholdProperty(
performance_category="performanceCategory",
# the properties below are optional
max_score_percentage=123,
min_score_percentage=123
)]
),
weight=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;
EvaluationFormQuestionProperty evaluationFormQuestionProperty = EvaluationFormQuestionProperty.builder()
.questionType("questionType")
.refId("refId")
.title("title")
// the properties below are optional
.enablement(EvaluationFormItemEnablementConfigurationProperty.builder()
.action("action")
.condition(EvaluationFormItemEnablementConditionProperty.builder()
.operands(List.of(EvaluationFormItemEnablementConditionOperandProperty.builder()
.expression(EvaluationFormItemEnablementExpressionProperty.builder()
.comparator("comparator")
.source(EvaluationFormItemEnablementSourceProperty.builder()
.type("type")
// the properties below are optional
.refId("refId")
.build())
.values(List.of(EvaluationFormItemEnablementSourceValueProperty.builder()
.refId("refId")
.type("type")
.build()))
.build())
.build()))
// the properties below are optional
.operator("operator")
.build())
// the properties below are optional
.defaultAction("defaultAction")
.build())
.instructions("instructions")
.metricConfiguration(EvaluationFormMetricConfigurationProperty.builder()
.metricName("metricName")
.metricType("metricType")
.build())
.notApplicableEnabled(false)
.questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
.multiSelect(EvaluationFormMultiSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormMultiSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.pointValue(123)
// the properties below are optional
.isBonus(false)
.build())
.score(123)
.build()))
// the properties below are optional
.automation(EvaluationFormMultiSelectQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefIds(List.of("defaultOptionRefIds"))
.options(List.of(EvaluationFormMultiSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(MultiSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefIds(List.of("optionRefIds"))
.build())
.build()))
.build())
.displayAs("displayAs")
.build())
.numeric(EvaluationFormNumericQuestionPropertiesProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automation(EvaluationFormNumericQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
.label("label")
.build())
.build())
.options(List.of(EvaluationFormNumericQuestionOptionProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.pointValue(123)
// the properties below are optional
.isBonus(false)
.build())
.score(123)
.build()))
.build())
.singleSelect(EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// the properties below are optional
.automaticFail(false)
.automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
.targetSection("targetSection")
.build())
.pointsConfiguration(QuestionOptionPointsConfigurationProperty.builder()
.pointValue(123)
// the properties below are optional
.isBonus(false)
.build())
.score(123)
.build()))
// the properties below are optional
.automation(EvaluationFormSingleSelectQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefId("defaultOptionRefId")
.options(List.of(EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefId("optionRefId")
.build())
.build()))
.build())
.displayAs("displayAs")
.build())
.text(EvaluationFormTextQuestionPropertiesProperty.builder()
.automation(EvaluationFormTextQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.build())
.build())
.build())
.scoringConfiguration(EvaluationFormQuestionScoringConfigurationProperty.builder()
.isExcludedFromScoring(false)
.pointsConfiguration(QuestionPointsConfigurationProperty.builder()
.isBonus(false)
.maxPointValue(123)
.minPointValue(123)
.build())
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.build())
.weight(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var evaluationFormQuestionProperty = new EvaluationFormQuestionProperty {
QuestionType = "questionType",
RefId = "refId",
Title = "title",
// the properties below are optional
Enablement = new EvaluationFormItemEnablementConfigurationProperty {
Action = "action",
Condition = new EvaluationFormItemEnablementConditionProperty {
Operands = new [] { new EvaluationFormItemEnablementConditionOperandProperty {
Expression = new EvaluationFormItemEnablementExpressionProperty {
Comparator = "comparator",
Source = new EvaluationFormItemEnablementSourceProperty {
Type = "type",
// the properties below are optional
RefId = "refId"
},
Values = new [] { new EvaluationFormItemEnablementSourceValueProperty {
RefId = "refId",
Type = "type"
} }
}
} },
// the properties below are optional
Operator = "operator"
},
// the properties below are optional
DefaultAction = "defaultAction"
},
Instructions = "instructions",
MetricConfiguration = new EvaluationFormMetricConfigurationProperty {
MetricName = "metricName",
MetricType = "metricType"
},
NotApplicableEnabled = false,
QuestionTypeProperties = new EvaluationFormQuestionTypePropertiesProperty {
MultiSelect = new EvaluationFormMultiSelectQuestionPropertiesProperty {
Options = new [] { new EvaluationFormMultiSelectQuestionOptionProperty {
RefId = "refId",
Text = "text",
// the properties below are optional
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
PointsConfiguration = new QuestionOptionPointsConfigurationProperty {
PointValue = 123,
// the properties below are optional
IsBonus = false
},
Score = 123
} },
// the properties below are optional
Automation = new EvaluationFormMultiSelectQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
DefaultOptionRefIds = new [] { "defaultOptionRefIds" },
Options = new [] { new EvaluationFormMultiSelectQuestionAutomationOptionProperty {
RuleCategory = new MultiSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefIds = new [] { "optionRefIds" }
}
} }
},
DisplayAs = "displayAs"
},
Numeric = new EvaluationFormNumericQuestionPropertiesProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
Automation = new EvaluationFormNumericQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
PropertyValue = new NumericQuestionPropertyValueAutomationProperty {
Label = "label"
}
},
Options = new [] { new EvaluationFormNumericQuestionOptionProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
PointsConfiguration = new QuestionOptionPointsConfigurationProperty {
PointValue = 123,
// the properties below are optional
IsBonus = false
},
Score = 123
} }
},
SingleSelect = new EvaluationFormSingleSelectQuestionPropertiesProperty {
Options = new [] { new EvaluationFormSingleSelectQuestionOptionProperty {
RefId = "refId",
Text = "text",
// the properties below are optional
AutomaticFail = false,
AutomaticFailConfiguration = new AutomaticFailConfigurationProperty {
TargetSection = "targetSection"
},
PointsConfiguration = new QuestionOptionPointsConfigurationProperty {
PointValue = 123,
// the properties below are optional
IsBonus = false
},
Score = 123
} },
// the properties below are optional
Automation = new EvaluationFormSingleSelectQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
},
DefaultOptionRefId = "defaultOptionRefId",
Options = new [] { new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefId = "optionRefId"
}
} }
},
DisplayAs = "displayAs"
},
Text = new EvaluationFormTextQuestionPropertiesProperty {
Automation = new EvaluationFormTextQuestionAutomationProperty {
AnswerSource = new EvaluationFormQuestionAutomationAnswerSourceProperty {
SourceType = "sourceType"
}
}
}
},
ScoringConfiguration = new EvaluationFormQuestionScoringConfigurationProperty {
IsExcludedFromScoring = false,
PointsConfiguration = new QuestionPointsConfigurationProperty {
IsBonus = false,
MaxPointValue = 123,
MinPointValue = 123
},
ScoreThresholds = new [] { new EvaluationFormScoreThresholdProperty {
PerformanceCategory = "performanceCategory",
// the properties below are optional
MaxScorePercentage = 123,
MinScorePercentage = 123
} }
},
Weight = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
evaluationFormQuestionProperty := &EvaluationFormQuestionProperty{
QuestionType: jsii.String("questionType"),
RefId: jsii.String("refId"),
Title: jsii.String("title"),
// the properties below are optional
Enablement: &EvaluationFormItemEnablementConfigurationProperty{
Action: jsii.String("action"),
Condition: &EvaluationFormItemEnablementConditionProperty{
Operands: []interface{}{
&EvaluationFormItemEnablementConditionOperandProperty{
Expression: &EvaluationFormItemEnablementExpressionProperty{
Comparator: jsii.String("comparator"),
Source: &EvaluationFormItemEnablementSourceProperty{
Type: jsii.String("type"),
// the properties below are optional
RefId: jsii.String("refId"),
},
Values: []interface{}{
&EvaluationFormItemEnablementSourceValueProperty{
RefId: jsii.String("refId"),
Type: jsii.String("type"),
},
},
},
},
},
// the properties below are optional
Operator: jsii.String("operator"),
},
// the properties below are optional
DefaultAction: jsii.String("defaultAction"),
},
Instructions: jsii.String("instructions"),
MetricConfiguration: &EvaluationFormMetricConfigurationProperty{
MetricName: jsii.String("metricName"),
MetricType: jsii.String("metricType"),
},
NotApplicableEnabled: jsii.Boolean(false),
QuestionTypeProperties: &EvaluationFormQuestionTypePropertiesProperty{
MultiSelect: &EvaluationFormMultiSelectQuestionPropertiesProperty{
Options: []interface{}{
&EvaluationFormMultiSelectQuestionOptionProperty{
RefId: jsii.String("refId"),
Text: jsii.String("text"),
// the properties below are optional
AutomaticFail: jsii.Boolean(false),
AutomaticFailConfiguration: &AutomaticFailConfigurationProperty{
TargetSection: jsii.String("targetSection"),
},
PointsConfiguration: &QuestionOptionPointsConfigurationProperty{
PointValue: jsii.Number(123),
// the properties below are optional
IsBonus: jsii.Boolean(false),
},
Score: jsii.Number(123),
},
},
// the properties below are optional
Automation: &EvaluationFormMultiSelectQuestionAutomationProperty{
AnswerSource: &EvaluationFormQuestionAutomationAnswerSourceProperty{
SourceType: jsii.String("sourceType"),
},
DefaultOptionRefIds: []*string{
jsii.String("defaultOptionRefIds"),
},
Options: []interface{}{
&EvaluationFormMultiSelectQuestionAutomationOptionProperty{
RuleCategory: &MultiSelectQuestionRuleCategoryAutomationProperty{
Category: jsii.String("category"),
Condition: jsii.String("condition"),
OptionRefIds: []*string{
jsii.String("optionRefIds"),
},
},
},
},
},
DisplayAs: jsii.String("displayAs"),
},
Numeric: &EvaluationFormNumericQuestionPropertiesProperty{
MaxValue: jsii.Number(123),
MinValue: jsii.Number(123),
// the properties below are optional
Automation: &EvaluationFormNumericQuestionAutomationProperty{
AnswerSource: &EvaluationFormQuestionAutomationAnswerSourceProperty{
SourceType: jsii.String("sourceType"),
},
PropertyValue: &NumericQuestionPropertyValueAutomationProperty{
Label: jsii.String("label"),
},
},
Options: []interface{}{
&EvaluationFormNumericQuestionOptionProperty{
MaxValue: jsii.Number(123),
MinValue: jsii.Number(123),
// the properties below are optional
AutomaticFail: jsii.Boolean(false),
AutomaticFailConfiguration: &AutomaticFailConfigurationProperty{
TargetSection: jsii.String("targetSection"),
},
PointsConfiguration: &QuestionOptionPointsConfigurationProperty{
PointValue: jsii.Number(123),
// the properties below are optional
IsBonus: jsii.Boolean(false),
},
Score: jsii.Number(123),
},
},
},
SingleSelect: &EvaluationFormSingleSelectQuestionPropertiesProperty{
Options: []interface{}{
&EvaluationFormSingleSelectQuestionOptionProperty{
RefId: jsii.String("refId"),
Text: jsii.String("text"),
// the properties below are optional
AutomaticFail: jsii.Boolean(false),
AutomaticFailConfiguration: &AutomaticFailConfigurationProperty{
TargetSection: jsii.String("targetSection"),
},
PointsConfiguration: &QuestionOptionPointsConfigurationProperty{
PointValue: jsii.Number(123),
// the properties below are optional
IsBonus: jsii.Boolean(false),
},
Score: jsii.Number(123),
},
},
// the properties below are optional
Automation: &EvaluationFormSingleSelectQuestionAutomationProperty{
AnswerSource: &EvaluationFormQuestionAutomationAnswerSourceProperty{
SourceType: jsii.String("sourceType"),
},
DefaultOptionRefId: jsii.String("defaultOptionRefId"),
Options: []interface{}{
&EvaluationFormSingleSelectQuestionAutomationOptionProperty{
RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{
Category: jsii.String("category"),
Condition: jsii.String("condition"),
OptionRefId: jsii.String("optionRefId"),
},
},
},
},
DisplayAs: jsii.String("displayAs"),
},
Text: &EvaluationFormTextQuestionPropertiesProperty{
Automation: &EvaluationFormTextQuestionAutomationProperty{
AnswerSource: &EvaluationFormQuestionAutomationAnswerSourceProperty{
SourceType: jsii.String("sourceType"),
},
},
},
},
ScoringConfiguration: &EvaluationFormQuestionScoringConfigurationProperty{
IsExcludedFromScoring: jsii.Boolean(false),
PointsConfiguration: &QuestionPointsConfigurationProperty{
IsBonus: jsii.Boolean(false),
MaxPointValue: jsii.Number(123),
MinPointValue: jsii.Number(123),
},
ScoreThresholds: []interface{}{
&EvaluationFormScoreThresholdProperty{
PerformanceCategory: jsii.String("performanceCategory"),
// the properties below are optional
MaxScorePercentage: jsii.Number(123),
MinScorePercentage: jsii.Number(123),
},
},
},
Weight: jsii.Number(123),
}
Properties
enablementoptionalIResolvable | CfnEvaluationForm.enablementoptionaltyping.Union[IResolvable, EvaluationFormItemEnablementConfigurationProperty]enablementoptionalIResolvableEnablementoptionalIResolvableEnablementoptionalinterface{} #A question conditional enablement.
instructionsoptionalstringinstructionsoptionalstrinstructionsoptionalStringInstructionsoptionalstringInstructionsoptional*string #The instructions of the section.
Length Constraints : Minimum length of 0. Maximum length of 1024.
metricConfigurationoptionalIResolvable | CfnEvaluationForm.metric_configurationoptionaltyping.Union[IResolvable, EvaluationFormMetricConfigurationProperty]metricConfigurationoptionalIResolvableMetricConfigurationoptionalIResolvableMetricConfigurationoptionalinterface{} #Information about the metric configuration for an evaluation form question.
Use this to associate a business outcome metric with a question.
notApplicableEnabledoptionalboolean | IResolvablenot_applicable_enabledoptionaltyping.Union[bool, IResolvable]notApplicableEnabledoptionalBooleanNotApplicableEnabledoptionalboolNotApplicableEnabledoptionalinterface{} #The flag to enable not applicable answers to the question.
questionTypestringquestion_typestrquestionTypeStringQuestionTypestringQuestionType*string required #The type of the question.
Allowed values : NUMERIC | SINGLESELECT | TEXT
questionTypePropertiesoptionalIResolvable | CfnEvaluationForm.question_type_propertiesoptionaltyping.Union[IResolvable, EvaluationFormQuestionTypePropertiesProperty]questionTypePropertiesoptionalIResolvableQuestionTypePropertiesoptionalIResolvableQuestionTypePropertiesoptionalinterface{} #The properties of the type of question.
Text questions do not have to define question type properties.
The identifier of the question. An identifier must be unique within the evaluation form.
Length Constraints : Minimum length of 1. Maximum length of 40.
scoringConfigurationoptionalIResolvable | CfnEvaluationForm.scoring_configurationoptionaltyping.Union[IResolvable, EvaluationFormQuestionScoringConfigurationProperty]scoringConfigurationoptionalIResolvableScoringConfigurationoptionalIResolvableScoringConfigurationoptionalinterface{} #Scoring configuration for a question in an evaluation form.
The title of the question.
Length Constraints : Minimum length of 1. Maximum length of 350.
weightoptionalnumberweightoptionalint | floatweightoptionalNumberWeightoptionaldoubleWeightoptional*float64 #The scoring weight of the section.
Minimum : 0
Maximum : 100