Class CfnEvaluationForm
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::Connect::EvaluationForm.
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
.instructions("instructions")
.notApplicableEnabled(false)
.questionTypeProperties(EvaluationFormQuestionTypePropertiesProperty.builder()
.numeric(EvaluationFormNumericQuestionPropertiesProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automation(EvaluationFormNumericQuestionAutomationProperty.builder()
.propertyValue(NumericQuestionPropertyValueAutomationProperty.builder()
.label("label")
.build())
.build())
.options(List.of(EvaluationFormNumericQuestionOptionProperty.builder()
.maxValue(123)
.minValue(123)
// the properties below are optional
.automaticFail(false)
.score(123)
.build()))
.build())
.singleSelect(EvaluationFormSingleSelectQuestionPropertiesProperty.builder()
.options(List.of(EvaluationFormSingleSelectQuestionOptionProperty.builder()
.refId("refId")
.text("text")
// the properties below are optional
.automaticFail(false)
.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
.defaultOptionRefId("defaultOptionRefId")
.build())
.displayAs("displayAs")
.build())
.build())
.weight(123)
.build())
.section(evaluationFormSectionProperty_)
.build()))
.weight(123)
.build())
.build()))
.status("status")
.title("title")
// the properties below are optional
.description("description")
.scoringStrategy(ScoringStrategyProperty.builder()
.mode("mode")
.status("status")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEvaluationForm.static interfaceAn item at the root level.static interfaceItems that are part of the 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 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 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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnEvaluationForm(Construct scope, String id, CfnEvaluationFormProps props) Create a newAWS::Connect::EvaluationForm.protectedCfnEvaluationForm(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEvaluationForm(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the evaluation form.The description of the evaluation form.The identifier of the Amazon Connect instance.getItems()Items that are part of the evaluation form.A 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.getTitle()A title of the evaluation form.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) 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.voidsetScoringStrategy(IResolvable value) A scoring strategy of the evaluation form.voidA scoring strategy of the evaluation form.voidThe status of the evaluation form.voidA title of the evaluation form.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnEvaluationFormProps props) Create a newAWS::Connect::EvaluationForm.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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
-
getTags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
-
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.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
-
setItems
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
-
setItems
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
-
getStatus
The status of the evaluation form.Allowed values :
DRAFT|ACTIVE -
setStatus
The status of the evaluation form.Allowed values :
DRAFT|ACTIVE -
getTitle
A title of the evaluation form. -
setTitle
A title of the evaluation form. -
getDescription
The description of the evaluation form.Length Constraints : Minimum length of 0. Maximum length of 1024.
-
setDescription
The description of the evaluation form.Length Constraints : Minimum length of 0. Maximum length of 1024.
-
getScoringStrategy
A scoring strategy of the evaluation form. -
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.
-