Interface CfnEvaluationFormProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEvaluationFormProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:17.622Z")
@Stability(Stable)
public interface CfnEvaluationFormProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEvaluationForm.
Example:
// 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")
.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")
.notApplicableEnabled(false)
.questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
.multiSelect(EvaluationFormMultiSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormMultiSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
.build()))
// the properties below are optional
.automation(EvaluationFormMultiSelectQuestionAutomationProperty.builder()
.options(List.of(EvaluationFormMultiSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(MultiSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefIds(List.of("optionRefIds"))
.build())
.build()))
// the properties below are optional
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefIds(List.of("defaultOptionRefIds"))
.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())
.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())
.score(123)
.build()))
// the properties below are optional
.automation(EvaluationFormSingleSelectQuestionAutomationProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
.ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefId("optionRefId")
.build())
.build()))
// the properties below are optional
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.defaultOptionRefId("defaultOptionRefId")
.build())
.displayAs("displayAs")
.build())
.text(EvaluationFormTextQuestionPropertiesProperty.builder()
.automation(EvaluationFormTextQuestionAutomationProperty.builder()
.answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
.sourceType("sourceType")
.build())
.build())
.build())
.build())
.weight(123)
.build())
.section(evaluationFormSectionProperty_)
.build()))
.weight(123)
.build())
.build()))
.status("status")
.title("title")
// the properties below are optional
.autoEvaluationConfiguration(AutoEvaluationConfigurationProperty.builder()
.enabled(false)
.build())
.description("description")
.languageConfiguration(EvaluationFormLanguageConfigurationProperty.builder()
.formLanguage("formLanguage")
.build())
.scoringStrategy(ScoringStrategyProperty.builder()
.mode("mode")
.status("status")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.targetConfiguration(EvaluationFormTargetConfigurationProperty.builder()
.contactInteractionType("contactInteractionType")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEvaluationFormPropsstatic final classAn implementation forCfnEvaluationFormProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe automatic evaluation configuration of an evaluation form.default StringThe description of the evaluation form.The identifier of the Amazon Connect instance.getItems()Items that are part of the evaluation form.default ObjectReturns union: eitherIResolvableorCfnEvaluationForm.EvaluationFormLanguageConfigurationPropertydefault ObjectA scoring strategy of the evaluation form.The status of the evaluation form.getTags()The tags used to organize, track, or control access for this resource.default ObjectReturns union: eitherIResolvableorCfnEvaluationForm.EvaluationFormTargetConfigurationPropertygetTitle()A title of the evaluation form.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceArn
The identifier of the Amazon Connect instance.Returns union: either
StringorIInstanceRef- See Also:
-
getItems
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
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationForm.EvaluationFormBaseItemProperty>- See Also:
-
getStatus
The status of the evaluation form.Allowed values :
DRAFT|ACTIVEDefault: - "DRAFT"
- See Also:
-
getTitle
A title of the evaluation form.- See Also:
-
getAutoEvaluationConfiguration
The automatic evaluation configuration of an evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.AutoEvaluationConfigurationProperty- See Also:
-
getDescription
The description of the evaluation form.Length Constraints : Minimum length of 0. Maximum length of 1024.
- See Also:
-
getLanguageConfiguration
Returns union: eitherIResolvableorCfnEvaluationForm.EvaluationFormLanguageConfigurationProperty- See Also:
-
getScoringStrategy
A scoring strategy of the evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.ScoringStrategyProperty- See Also:
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- See Also:
-
getTargetConfiguration
Returns union: eitherIResolvableorCfnEvaluationForm.EvaluationFormTargetConfigurationProperty- See Also:
-
builder
- Returns:
- a
CfnEvaluationFormProps.BuilderofCfnEvaluationFormProps
-