interface CfnEvaluationFormProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnEvaluationFormProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationFormProps |
Java | software.amazon.awscdk.services.connect.CfnEvaluationFormProps |
Python | aws_cdk.aws_connect.CfnEvaluationFormProps |
TypeScript | aws-cdk-lib » aws_connect » CfnEvaluationFormProps |
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 { aws_connect as connect } from 'aws-cdk-lib';
declare const evaluationFormSectionProperty_: connect.CfnEvaluationForm.EvaluationFormSectionProperty;
const cfnEvaluationFormProps: connect.CfnEvaluationFormProps = {
instanceArn: 'instanceArn',
items: [{
section: {
refId: 'refId',
title: 'title',
// the properties below are optional
instructions: 'instructions',
items: [{
question: {
questionType: 'questionType',
refId: 'refId',
title: 'title',
// the properties below are optional
enablement: {
action: 'action',
condition: {
operands: [{
expression: {
comparator: 'comparator',
source: {
type: 'type',
// the properties below are optional
refId: 'refId',
},
values: [{
refId: 'refId',
type: 'type',
}],
},
}],
// the properties below are optional
operator: 'operator',
},
// the properties below are optional
defaultAction: 'defaultAction',
},
instructions: 'instructions',
notApplicableEnabled: false,
questionTypeProperties: {
numeric: {
maxValue: 123,
minValue: 123,
// the properties below are optional
automation: {
answerSource: {
sourceType: 'sourceType',
},
propertyValue: {
label: 'label',
},
},
options: [{
maxValue: 123,
minValue: 123,
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
score: 123,
}],
// the properties below are optional
automation: {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
// the properties below are optional
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
},
displayAs: 'displayAs',
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
},
weight: 123,
},
section: evaluationFormSectionProperty_,
}],
weight: 123,
},
}],
status: 'status',
title: 'title',
// the properties below are optional
autoEvaluationConfiguration: {
enabled: false,
},
description: 'description',
scoringStrategy: {
mode: 'mode',
status: 'status',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| instance | string | The identifier of the Amazon Connect instance. |
| items | IResolvable | (IResolvable | Evaluation)[] | Items that are part of the evaluation form. |
| status | string | The status of the evaluation form. |
| title | string | A title of the evaluation form. |
| auto | IResolvable | Auto | |
| description? | string | The description of the evaluation form. |
| scoring | IResolvable | Scoring | A scoring strategy of the evaluation form. |
| tags? | Cfn[] | The tags used to organize, track, or control access for this resource. |
instanceArn
Type:
string
The identifier of the Amazon Connect instance.
items
Type:
IResolvable | (IResolvable | Evaluation)[]
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
status
Type:
string
The status of the evaluation form.
Allowed values : DRAFT | ACTIVE
title
Type:
string
A title of the evaluation form.
autoEvaluationConfiguration?
Type:
IResolvable | Auto
(optional)
description?
Type:
string
(optional)
The description of the evaluation form.
Length Constraints : Minimum length of 0. Maximum length of 1024.
scoringStrategy?
Type:
IResolvable | Scoring
(optional)
A scoring strategy of the evaluation form.
tags?
Type:
Cfn[]
(optional)
The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.

.NET
Go
Java
Python
TypeScript