CfnEvaluationFormProps
Struct External
Properties for defining a CfnEvaluationForm.
| 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';
declare const evaluationFormSectionProperty_: connect.CfnEvaluationForm.EvaluationFormSectionProperty;
const cfnEvaluationFormProps: connect.CfnEvaluationFormProps = {
instanceArn: 'instanceArn',
items: [{
section: {
refId: 'refId',
title: 'title',
// the properties below are optional
instructions: 'instructions',
isExcludedFromScoring: false,
items: [{
question: {
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,
},
section: evaluationFormSectionProperty_,
}],
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
weight: 123,
},
}],
status: 'status',
title: 'title',
// the properties below are optional
aiVersion: 'aiVersion',
autoEvaluationConfiguration: {
enabled: false,
},
description: 'description',
languageConfiguration: {
formLanguage: 'formLanguage',
},
reviewConfiguration: {
reviewNotificationRecipients: [{
type: 'type',
value: {
userId: 'userId',
},
}],
// the properties below are optional
eligibilityDays: 123,
},
scoringStrategy: {
mode: 'mode',
status: 'status',
// the properties below are optional
scoreThresholds: [{
performanceCategory: 'performanceCategory',
// the properties below are optional
maxScorePercentage: 123,
minScorePercentage: 123,
}],
},
tags: [{
key: 'key',
value: 'value',
}],
targetConfiguration: {
contactInteractionType: 'contactInteractionType',
},
};
python
from aws_cdk import CfnTag
# 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_section_property_: connect.CfnEvaluationForm.EvaluationFormSectionProperty
cfn_evaluation_form_props = connect.CfnEvaluationFormProps(
instance_arn="instanceArn",
items=[connect.CfnEvaluationForm.EvaluationFormBaseItemProperty(
section=connect.CfnEvaluationForm.EvaluationFormSectionProperty(
ref_id="refId",
title="title",
# the properties below are optional
instructions="instructions",
is_excluded_from_scoring=False,
items=[connect.CfnEvaluationForm.EvaluationFormItemProperty(
question=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
),
section=evaluation_form_section_property_
)],
score_thresholds=[connect.CfnEvaluationForm.EvaluationFormScoreThresholdProperty(
performance_category="performanceCategory",
# the properties below are optional
max_score_percentage=123,
min_score_percentage=123
)],
weight=123
)
)],
status="status",
title="title",
# the properties below are optional
ai_version="aiVersion",
auto_evaluation_configuration=connect.CfnEvaluationForm.AutoEvaluationConfigurationProperty(
enabled=False
),
description="description",
language_configuration=connect.CfnEvaluationForm.EvaluationFormLanguageConfigurationProperty(
form_language="formLanguage"
),
review_configuration=connect.CfnEvaluationForm.EvaluationReviewConfigurationProperty(
review_notification_recipients=[connect.CfnEvaluationForm.EvaluationReviewNotificationRecipientProperty(
type="type",
value=connect.CfnEvaluationForm.EvaluationReviewNotificationRecipientValueProperty(
user_id="userId"
)
)],
# the properties below are optional
eligibility_days=123
),
scoring_strategy=connect.CfnEvaluationForm.ScoringStrategyProperty(
mode="mode",
status="status",
# the properties below are optional
score_thresholds=[connect.CfnEvaluationForm.EvaluationFormScoreThresholdProperty(
performance_category="performanceCategory",
# the properties below are optional
max_score_percentage=123,
min_score_percentage=123
)]
),
tags=[CfnTag(
key="key",
value="value"
)],
target_configuration=connect.CfnEvaluationForm.EvaluationFormTargetConfigurationProperty(
contact_interaction_type="contactInteractionType"
)
)
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.*;
EvaluationFormSectionProperty evaluationFormSectionProperty_;
CfnEvaluationFormProps cfnEvaluationFormProps = CfnEvaluationFormProps.builder()
.instanceArn("instanceArn")
.items(List.of(EvaluationFormBaseItemProperty.builder()
.section(EvaluationFormSectionProperty.builder()
.refId("refId")
.title("title")
// the properties below are optional
.instructions("instructions")
.isExcludedFromScoring(false)
.items(List.of(EvaluationFormItemProperty.builder()
.question(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())
.section(evaluationFormSectionProperty_)
.build()))
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.weight(123)
.build())
.build()))
.status("status")
.title("title")
// the properties below are optional
.aiVersion("aiVersion")
.autoEvaluationConfiguration(AutoEvaluationConfigurationProperty.builder()
.enabled(false)
.build())
.description("description")
.languageConfiguration(EvaluationFormLanguageConfigurationProperty.builder()
.formLanguage("formLanguage")
.build())
.reviewConfiguration(EvaluationReviewConfigurationProperty.builder()
.reviewNotificationRecipients(List.of(EvaluationReviewNotificationRecipientProperty.builder()
.type("type")
.value(EvaluationReviewNotificationRecipientValueProperty.builder()
.userId("userId")
.build())
.build()))
// the properties below are optional
.eligibilityDays(123)
.build())
.scoringStrategy(ScoringStrategyProperty.builder()
.mode("mode")
.status("status")
// the properties below are optional
.scoreThresholds(List.of(EvaluationFormScoreThresholdProperty.builder()
.performanceCategory("performanceCategory")
// the properties below are optional
.maxScorePercentage(123)
.minScorePercentage(123)
.build()))
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetConfiguration(EvaluationFormTargetConfigurationProperty.builder()
.contactInteractionType("contactInteractionType")
.build())
.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;
EvaluationFormSectionProperty evaluationFormSectionProperty_;
var cfnEvaluationFormProps = new CfnEvaluationFormProps {
InstanceArn = "instanceArn",
Items = new [] { new EvaluationFormBaseItemProperty {
Section = new EvaluationFormSectionProperty {
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
IsExcludedFromScoring = false,
Items = new [] { new EvaluationFormItemProperty {
Question = 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
},
Section = evaluationFormSectionProperty_
} },
ScoreThresholds = new [] { new EvaluationFormScoreThresholdProperty {
PerformanceCategory = "performanceCategory",
// the properties below are optional
MaxScorePercentage = 123,
MinScorePercentage = 123
} },
Weight = 123
}
} },
Status = "status",
Title = "title",
// the properties below are optional
AiVersion = "aiVersion",
AutoEvaluationConfiguration = new AutoEvaluationConfigurationProperty {
Enabled = false
},
Description = "description",
LanguageConfiguration = new EvaluationFormLanguageConfigurationProperty {
FormLanguage = "formLanguage"
},
ReviewConfiguration = new EvaluationReviewConfigurationProperty {
ReviewNotificationRecipients = new [] { new EvaluationReviewNotificationRecipientProperty {
Type = "type",
Value = new EvaluationReviewNotificationRecipientValueProperty {
UserId = "userId"
}
} },
// the properties below are optional
EligibilityDays = 123
},
ScoringStrategy = new ScoringStrategyProperty {
Mode = "mode",
Status = "status",
// the properties below are optional
ScoreThresholds = new [] { new EvaluationFormScoreThresholdProperty {
PerformanceCategory = "performanceCategory",
// the properties below are optional
MaxScorePercentage = 123,
MinScorePercentage = 123
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TargetConfiguration = new EvaluationFormTargetConfigurationProperty {
ContactInteractionType = "contactInteractionType"
}
};
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"
var evaluationFormSectionProperty_ EvaluationFormSectionProperty
cfnEvaluationFormProps := &CfnEvaluationFormProps{
InstanceArn: jsii.String("instanceArn"),
Items: []interface{}{
&EvaluationFormBaseItemProperty{
Section: &EvaluationFormSectionProperty{
RefId: jsii.String("refId"),
Title: jsii.String("title"),
// the properties below are optional
Instructions: jsii.String("instructions"),
IsExcludedFromScoring: jsii.Boolean(false),
Items: []interface{}{
&EvaluationFormItemProperty{
Question: &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),
},
Section: evaluationFormSectionProperty_,
},
},
ScoreThresholds: []interface{}{
&EvaluationFormScoreThresholdProperty{
PerformanceCategory: jsii.String("performanceCategory"),
// the properties below are optional
MaxScorePercentage: jsii.Number(123),
MinScorePercentage: jsii.Number(123),
},
},
Weight: jsii.Number(123),
},
},
},
Status: jsii.String("status"),
Title: jsii.String("title"),
// the properties below are optional
AiVersion: jsii.String("aiVersion"),
AutoEvaluationConfiguration: &AutoEvaluationConfigurationProperty{
Enabled: jsii.Boolean(false),
},
Description: jsii.String("description"),
LanguageConfiguration: &EvaluationFormLanguageConfigurationProperty{
FormLanguage: jsii.String("formLanguage"),
},
ReviewConfiguration: &EvaluationReviewConfigurationProperty{
ReviewNotificationRecipients: []interface{}{
&EvaluationReviewNotificationRecipientProperty{
Type: jsii.String("type"),
Value: &EvaluationReviewNotificationRecipientValueProperty{
UserId: jsii.String("userId"),
},
},
},
// the properties below are optional
EligibilityDays: jsii.Number(123),
},
ScoringStrategy: &ScoringStrategyProperty{
Mode: jsii.String("mode"),
Status: jsii.String("status"),
// the properties below are optional
ScoreThresholds: []interface{}{
&EvaluationFormScoreThresholdProperty{
PerformanceCategory: jsii.String("performanceCategory"),
// the properties below are optional
MaxScorePercentage: jsii.Number(123),
MinScorePercentage: jsii.Number(123),
},
},
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TargetConfiguration: &EvaluationFormTargetConfigurationProperty{
ContactInteractionType: jsii.String("contactInteractionType"),
},
}
Properties
aiVersionoptionalstringai_versionoptionalstraiVersionoptionalStringAiVersionoptionalstringAiVersionoptional*string #The AI version to use for the evaluation form.
This specifies which AI model version is used for automated evaluations.
autoEvaluationConfigurationoptionalIResolvable | CfnEvaluationForm.auto_evaluation_configurationoptionaltyping.Union[IResolvable, AutoEvaluationConfigurationProperty]autoEvaluationConfigurationoptionalIResolvableAutoEvaluationConfigurationoptionalIResolvableAutoEvaluationConfigurationoptionalinterface{} #The automatic evaluation configuration of an evaluation form.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the evaluation form.
Length Constraints : Minimum length of 0. Maximum length of 1024.
instanceArnstring | IInstanceRefinstance_arntyping.Union[str, IInstanceRef]instanceArnStringInstanceArnstringInstanceArninterface{} required #The identifier of the Amazon Connect instance.
itemsIResolvable | IResolvable | CfnEvaluationForm.itemstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, EvaluationFormBaseItemProperty]]]itemsIResolvableItemsIResolvableItemsinterface{} required #Items that are part of the evaluation form.
The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Minimum size : 1
Maximum size : 100
languageConfigurationoptionalIResolvable | CfnEvaluationForm.language_configurationoptionaltyping.Union[IResolvable, EvaluationFormLanguageConfigurationProperty]languageConfigurationoptionalIResolvableLanguageConfigurationoptionalIResolvableLanguageConfigurationoptionalinterface{} #Configuration for language settings of this evaluation form.
reviewConfigurationoptionalIResolvable | CfnEvaluationForm.review_configurationoptionaltyping.Union[IResolvable, EvaluationReviewConfigurationProperty]reviewConfigurationoptionalIResolvableReviewConfigurationoptionalIResolvableReviewConfigurationoptionalinterface{} #Configuration settings for evaluation reviews.
scoringStrategyoptionalIResolvable | CfnEvaluationForm.scoring_strategyoptionaltyping.Union[IResolvable, ScoringStrategyProperty]scoringStrategyoptionalIResolvableScoringStrategyoptionalIResolvableScoringStrategyoptionalinterface{} #A scoring strategy of the evaluation form.
The status of the evaluation form.
Allowed values : DRAFT | ACTIVE
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
targetConfigurationoptionalIResolvable | CfnEvaluationForm.target_configurationoptionaltyping.Union[IResolvable, EvaluationFormTargetConfigurationProperty]targetConfigurationoptionalIResolvableTargetConfigurationoptionalIResolvableTargetConfigurationoptionalinterface{} #Configuration that specifies the target for this evaluation form.
A title of the evaluation form.