Class CfnEvaluationForm
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.connect.CfnEvaluationForm
- All Implemented Interfaces:
IInspectable,IEvaluationFormRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)",
date="2026-01-08T14:57:02.730Z")
@Stability(Stable)
public class CfnEvaluationForm
extends CfnResource
implements IInspectable, IEvaluationFormRef, ITaggable
Creates an evaluation form for the specified Amazon Connect instance.
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_;
CfnEvaluationForm cfnEvaluationForm = CfnEvaluationForm.Builder.create(this, "MyCfnEvaluationForm")
.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 TypeClassDescriptionstatic interfaceConfiguration information about automated evaluations.static interfaceInformation about automatic fail configuration for an evaluation form.static final classA fluent builder forCfnEvaluationForm.static interfaceAn item at the root level.static interfaceAn operand of the enablement condition.static interfaceA condition for item enablement.static interfaceAn item enablement configuration.static interfaceAn expression that defines a basic building block of conditional enablement.static interfaceAn enablement expression source item.static interfaceAn enablement expression source value.static interfaceItems that are part of the evaluation form.static interfaceLanguage configuration for an evaluation form.static interfaceAn automation option for a multi-select question.static interfaceAutomation configuration for multi-select questions.static interfaceAn option for a multi-select question in an evaluation form.static interfaceProperties for a multi-select question in an evaluation form.static interfaceInformation about the automation configuration in numeric questions.static interfaceInformation about the option range used for scoring in numeric questions.static interfaceInformation about properties for a numeric question in an evaluation form.static interfaceA question automation answer.static interfaceInformation about a question from an evaluation form.static interfaceInformation about properties for a question in an evaluation form.static interfaceInformation about a section from an evaluation form.static interfaceThe automation options of the single select question.static interfaceInformation about the automation configuration in single select questions.static interfaceInformation about the automation configuration in single select questions.static interfaceInformation about the options in single select questions.static interfaceConfiguration that specifies the target for an evaluation form.static interfaceInformation about the automation configuration in text questions.static interfaceInformation about properties for a text question in an evaluation form.static interfaceAutomation rule for multi-select questions based on rule categories.static interfaceInformation about the property value used in automation of a numeric questions.static interfaceA scoring strategy of the evaluation form.static interfaceInformation about the automation option based on a rule category for a single select question.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.connect.IEvaluationFormRef
IEvaluationFormRef.Jsii$Default, IEvaluationFormRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEvaluationForm(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEvaluationForm(software.amazon.jsii.JsiiObjectRef objRef) CfnEvaluationForm(software.constructs.Construct scope, String id, CfnEvaluationFormProps props) Create a newAWS::Connect::EvaluationForm. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForEvaluationForm(IEvaluationFormRef resource) The Amazon Resource Name (ARN) of the evaluation form.The automatic evaluation configuration of an evaluation form.The description of the evaluation form.A reference to a EvaluationForm resource.The identifier of the Amazon Connect instance.getItems()Items that are part of the evaluation form.Configuration for language settings of this evaluation form.A scoring strategy of the evaluation form.The status of the evaluation form.getTags()Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.Configuration that specifies the target for this evaluation form.getTitle()A title of the evaluation form.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnEvaluationForm.renderProperties(Map<String, Object> props) voidThe automatic evaluation configuration of an evaluation form.voidThe automatic evaluation configuration of an evaluation form.voidsetDescription(String value) The description of the evaluation form.voidsetInstanceArn(String value) The identifier of the Amazon Connect instance.voidItems that are part of the evaluation form.voidsetItems(IResolvable value) Items that are part of the evaluation form.voidConfiguration for language settings of this evaluation form.voidConfiguration for language settings of this evaluation form.voidsetScoringStrategy(IResolvable value) A scoring strategy of the evaluation form.voidA scoring strategy of the evaluation form.voidThe status of the evaluation form.voidsetTagsRaw(List<CfnTag> value) The tags used to organize, track, or control access for this resource.voidConfiguration that specifies the target for this evaluation form.voidConfiguration that specifies the target for this evaluation form.voidA title of the evaluation form.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnEvaluationForm
protected CfnEvaluationForm(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEvaluationForm
protected CfnEvaluationForm(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEvaluationForm
@Stability(Stable) public CfnEvaluationForm(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEvaluationFormProps props) Create a newAWS::Connect::EvaluationForm.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForEvaluationForm
@Stability(Stable) @NotNull public static String arnForEvaluationForm(@NotNull IEvaluationFormRef resource) - Parameters:
resource- This parameter is required.
-
isCfnEvaluationForm
Checks whether the given object is a CfnEvaluationForm.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrEvaluationFormArn
The Amazon Resource Name (ARN) of the evaluation form. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEvaluationFormRef
A reference to a EvaluationForm resource.- Specified by:
getEvaluationFormRefin interfaceIEvaluationFormRef
-
getTags
Tag Manager which manages the tags for this resource. -
getInstanceArn
The identifier of the Amazon Connect instance. -
setInstanceArn
The identifier of the Amazon Connect instance. -
getItems
Items that are part of the evaluation form.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEvaluationForm.EvaluationFormBaseItemProperty> -
setItems
Items that are part of the evaluation form. -
setItems
Items that are part of the evaluation form. -
getStatus
The status of the evaluation form. -
setStatus
The status of the evaluation form. -
getTitle
A title of the evaluation form. -
setTitle
A title of the evaluation form. -
getAutoEvaluationConfiguration
The automatic evaluation configuration of an evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.AutoEvaluationConfigurationProperty -
setAutoEvaluationConfiguration
The automatic evaluation configuration of an evaluation form. -
setAutoEvaluationConfiguration
@Stability(Stable) public void setAutoEvaluationConfiguration(@Nullable CfnEvaluationForm.AutoEvaluationConfigurationProperty value) The automatic evaluation configuration of an evaluation form. -
getDescription
The description of the evaluation form. -
setDescription
The description of the evaluation form. -
getLanguageConfiguration
Configuration for language settings of this evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.EvaluationFormLanguageConfigurationProperty -
setLanguageConfiguration
Configuration for language settings of this evaluation form. -
setLanguageConfiguration
@Stability(Stable) public void setLanguageConfiguration(@Nullable CfnEvaluationForm.EvaluationFormLanguageConfigurationProperty value) Configuration for language settings of this evaluation form. -
getScoringStrategy
A scoring strategy of the evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.ScoringStrategyProperty -
setScoringStrategy
A scoring strategy of the evaluation form. -
setScoringStrategy
@Stability(Stable) public void setScoringStrategy(@Nullable CfnEvaluationForm.ScoringStrategyProperty value) A scoring strategy of the evaluation form. -
getTagsRaw
The tags used to organize, track, or control access for this resource. -
setTagsRaw
The tags used to organize, track, or control access for this resource. -
getTargetConfiguration
Configuration that specifies the target for this evaluation form.Returns union: either
IResolvableorCfnEvaluationForm.EvaluationFormTargetConfigurationProperty -
setTargetConfiguration
Configuration that specifies the target for this evaluation form. -
setTargetConfiguration
@Stability(Stable) public void setTargetConfiguration(@Nullable CfnEvaluationForm.EvaluationFormTargetConfigurationProperty value) Configuration that specifies the target for this evaluation form.
-