Class CfnEvaluationFormPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-03-11T13:19:57.550Z") @Stability(Stable) public class CfnEvaluationFormPropsMixin extends Mixin implements software.constructs.IMixin
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.cfnpropertymixins.services.connect.*;
 import software.amazon.awscdk.*;
 EvaluationFormSectionProperty evaluationFormSectionProperty_;
 IMergeStrategy mergeStrategy;
 CfnEvaluationFormPropsMixin cfnEvaluationFormPropsMixin = CfnEvaluationFormPropsMixin.Builder.create(CfnEvaluationFormMixinProps.builder()
         .autoEvaluationConfiguration(AutoEvaluationConfigurationProperty.builder()
                 .enabled(false)
                 .build())
         .description("description")
         .instanceArn("instanceArn")
         .items(List.of(EvaluationFormBaseItemProperty.builder()
                 .section(EvaluationFormSectionProperty.builder()
                         .instructions("instructions")
                         .items(List.of(EvaluationFormItemProperty.builder()
                                 .question(EvaluationFormQuestionProperty.builder()
                                         .enablement(EvaluationFormItemEnablementConfigurationProperty.builder()
                                                 .action("action")
                                                 .condition(EvaluationFormItemEnablementConditionProperty.builder()
                                                         .operands(List.of(EvaluationFormItemEnablementConditionOperandProperty.builder()
                                                                 .expression(EvaluationFormItemEnablementExpressionProperty.builder()
                                                                         .comparator("comparator")
                                                                         .source(EvaluationFormItemEnablementSourceProperty.builder()
                                                                                 .refId("refId")
                                                                                 .type("type")
                                                                                 .build())
                                                                         .values(List.of(EvaluationFormItemEnablementSourceValueProperty.builder()
                                                                                 .refId("refId")
                                                                                 .type("type")
                                                                                 .build()))
                                                                         .build())
                                                                 .build()))
                                                         .operator("operator")
                                                         .build())
                                                 .defaultAction("defaultAction")
                                                 .build())
                                         .instructions("instructions")
                                         .notApplicableEnabled(false)
                                         .questionType("questionType")
                                         .questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
                                                 .multiSelect(EvaluationFormMultiSelectQuestionPropertiesProperty.builder()
                                                         .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")
                                                         .options(List.of(EvaluationFormMultiSelectQuestionOptionProperty.builder()
                                                                 .refId("refId")
                                                                 .text("text")
                                                                 .build()))
                                                         .build())
                                                 .numeric(EvaluationFormNumericQuestionPropertiesProperty.builder()
                                                         .automation(EvaluationFormNumericQuestionAutomationProperty.builder()
                                                                 .answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
                                                                         .sourceType("sourceType")
                                                                         .build())
                                                                 .propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
                                                                         .label("label")
                                                                         .build())
                                                                 .build())
                                                         .maxValue(123)
                                                         .minValue(123)
                                                         .options(List.of(EvaluationFormNumericQuestionOptionProperty.builder()
                                                                 .automaticFail(false)
                                                                 .automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
                                                                         .targetSection("targetSection")
                                                                         .build())
                                                                 .maxValue(123)
                                                                 .minValue(123)
                                                                 .score(123)
                                                                 .build()))
                                                         .build())
                                                 .singleSelect(EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
                                                         .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")
                                                         .options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.builder()
                                                                 .automaticFail(false)
                                                                 .automaticFailConfiguration(AutomaticFailConfigurationProperty.builder()
                                                                         .targetSection("targetSection")
                                                                         .build())
                                                                 .refId("refId")
                                                                 .score(123)
                                                                 .text("text")
                                                                 .build()))
                                                         .build())
                                                 .text(EvaluationFormTextQuestionPropertiesProperty.builder()
                                                         .automation(EvaluationFormTextQuestionAutomationProperty.builder()
                                                                 .answerSource(EvaluationFormQuestionAutomationAnswerSourceProperty.builder()
                                                                         .sourceType("sourceType")
                                                                         .build())
                                                                 .build())
                                                         .build())
                                                 .build())
                                         .refId("refId")
                                         .title("title")
                                         .weight(123)
                                         .build())
                                 .section(evaluationFormSectionProperty_)
                                 .build()))
                         .refId("refId")
                         .title("title")
                         .weight(123)
                         .build())
                 .build()))
         .languageConfiguration(EvaluationFormLanguageConfigurationProperty.builder()
                 .formLanguage("formLanguage")
                 .build())
         .reviewConfiguration(EvaluationReviewConfigurationProperty.builder()
                 .eligibilityDays(123)
                 .reviewNotificationRecipients(List.of(EvaluationReviewNotificationRecipientProperty.builder()
                         .type("type")
                         .value(EvaluationReviewNotificationRecipientValueProperty.builder()
                                 .userId("userId")
                                 .build())
                         .build()))
                 .build())
         .scoringStrategy(ScoringStrategyProperty.builder()
                 .mode("mode")
                 .status("status")
                 .build())
         .status("status")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetConfiguration(EvaluationFormTargetConfigurationProperty.builder()
                 .contactInteractionType("contactInteractionType")
                 .build())
         .title("title")
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnEvaluationFormPropsMixin

      protected CfnEvaluationFormPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnEvaluationFormPropsMixin

      protected CfnEvaluationFormPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnEvaluationFormPropsMixin

      @Stability(Stable) public CfnEvaluationFormPropsMixin(@NotNull CfnEvaluationFormMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::Connect::EvaluationForm.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnEvaluationFormPropsMixin

      @Stability(Stable) public CfnEvaluationFormPropsMixin(@NotNull CfnEvaluationFormMixinProps props)
      Create a mixin to apply properties to AWS::Connect::EvaluationForm.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnEvaluationFormMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()