interface CfnEvaluationFormProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Connect.CfnEvaluationFormProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationFormProps |
![]() | software.amazon.awscdk.services.connect.CfnEvaluationFormProps |
![]() | aws_cdk.aws_connect.CfnEvaluationFormProps |
![]() | 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
instructions: 'instructions',
notApplicableEnabled: false,
questionTypeProperties: {
numeric: {
maxValue: 123,
minValue: 123,
// the properties below are optional
automation: {
propertyValue: {
label: 'label',
},
},
options: [{
maxValue: 123,
minValue: 123,
// the properties below are optional
automaticFail: false,
score: 123,
}],
},
singleSelect: {
options: [{
refId: 'refId',
text: 'text',
// the properties below are optional
automaticFail: false,
score: 123,
}],
// the properties below are optional
automation: {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
// the properties below are optional
defaultOptionRefId: 'defaultOptionRefId',
},
displayAs: 'displayAs',
},
},
weight: 123,
},
section: evaluationFormSectionProperty_,
}],
weight: 123,
},
}],
status: 'status',
title: 'title',
// the properties below are optional
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. |
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.
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"} }.