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
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:12:55.524Z")
@Stability(Stable)
public class CfnEvaluationForm
extends CfnResource
implements IInspectable, 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 .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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnEvaluationForm
.static interface
An item at the root level.static interface
Items that are part of the evaluation form.static interface
Information about the automation configuration in numeric questions.static interface
Information about the option range used for scoring in numeric questions.static interface
Information about properties for a numeric question in an evaluation form.static interface
Information about a question from an evaluation form.static interface
Information about properties for a question in an evaluation form.static interface
Information about a section from an evaluation form.static interface
The automation options of the single select question.static interface
Information about the automation configuration in single select questions.static interface
Information about the automation configuration in single select questions.static interface
Information about the options in single select questions.static interface
Information about the property value used in automation of a numeric questions.static interface
A scoring strategy of the evaluation form.static interface
Information 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnEvaluationForm
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnEvaluationForm
(software.amazon.jsii.JsiiObjectRef objRef) CfnEvaluationForm
(software.constructs.Construct scope, String id, CfnEvaluationFormProps props) -
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()
Tag Manager which manages the tags for this resource.The tags used to organize, track, or control access for this resource.getTitle()
A title of the evaluation form.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDescription
(String value) The description of the evaluation form.void
setInstanceArn
(String value) The identifier of the Amazon Connect instance.void
Items that are part of the evaluation form.void
setItems
(IResolvable value) Items that are part of the evaluation form.void
setScoringStrategy
(IResolvable value) A scoring strategy of the evaluation form.void
A scoring strategy of the evaluation form.void
The status of the evaluation form.void
setTagsRaw
(List<CfnTag> value) The tags used to organize, track, or control access for this resource.void
A 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrEvaluationFormArn
The Amazon Resource Name (ARN) of the evaluation form. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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. -
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. -
getDescription
The description of the evaluation form. -
setDescription
The description of the evaluation form. -
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. -
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.
-