class CfnEvaluationFormPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Connect.Mixins.CfnEvaluationFormPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsconnect/mixins#CfnEvaluationFormPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.connect.mixins.CfnEvaluationFormPropsMixin |
Python | aws_cdk.mixins_preview.aws_connect.mixins.CfnEvaluationFormPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_connect » mixins » CfnEvaluationFormPropsMixin |
Implements
IMixin
Extends
Mixin
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 { mixins } from '@aws-cdk/mixins-preview';
import { mixins as connect_mixins } from '@aws-cdk/mixins-preview/aws-connect';
declare const evaluationFormSectionProperty_: connect_mixins.CfnEvaluationFormPropsMixin.EvaluationFormSectionProperty;
const cfnEvaluationFormPropsMixin = new connect_mixins.CfnEvaluationFormPropsMixin({
autoEvaluationConfiguration: {
enabled: false,
},
description: 'description',
instanceArn: 'instanceArn',
items: [{
section: {
instructions: 'instructions',
items: [{
question: {
enablement: {
action: 'action',
condition: {
operands: [{
expression: {
comparator: 'comparator',
source: {
refId: 'refId',
type: 'type',
},
values: [{
refId: 'refId',
type: 'type',
}],
},
}],
operator: 'operator',
},
defaultAction: 'defaultAction',
},
instructions: 'instructions',
notApplicableEnabled: false,
questionType: 'questionType',
questionTypeProperties: {
multiSelect: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefIds: ['defaultOptionRefIds'],
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefIds: ['optionRefIds'],
},
}],
},
displayAs: 'displayAs',
options: [{
refId: 'refId',
text: 'text',
}],
},
numeric: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
propertyValue: {
label: 'label',
},
},
maxValue: 123,
minValue: 123,
options: [{
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
maxValue: 123,
minValue: 123,
score: 123,
}],
},
singleSelect: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
},
displayAs: 'displayAs',
options: [{
automaticFail: false,
automaticFailConfiguration: {
targetSection: 'targetSection',
},
refId: 'refId',
score: 123,
text: 'text',
}],
},
text: {
automation: {
answerSource: {
sourceType: 'sourceType',
},
},
},
},
refId: 'refId',
title: 'title',
weight: 123,
},
section: evaluationFormSectionProperty_,
}],
refId: 'refId',
title: 'title',
weight: 123,
},
}],
languageConfiguration: {
formLanguage: 'formLanguage',
},
scoringStrategy: {
mode: 'mode',
status: 'status',
},
status: 'status',
tags: [{
key: 'key',
value: 'value',
}],
targetConfiguration: {
contactInteractionType: 'contactInteractionType',
},
title: 'title',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnEvaluationFormPropsMixin(props: CfnEvaluationFormMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Evaluation Form Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::Connect::EvaluationForm.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript