interface EvaluationFormSingleSelectQuestionAutomationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty |
Java | software.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty |
Python | aws_cdk.aws_connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty |
TypeScript | aws-cdk-lib » aws_connect » CfnEvaluationForm » EvaluationFormSingleSelectQuestionAutomationProperty |
Information about the automation configuration in single select questions.
Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
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';
const evaluationFormSingleSelectQuestionAutomationProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty = {
options: [{
ruleCategory: {
category: 'category',
condition: 'condition',
optionRefId: 'optionRefId',
},
}],
// the properties below are optional
answerSource: {
sourceType: 'sourceType',
},
defaultOptionRefId: 'defaultOptionRefId',
};
Properties
| Name | Type | Description |
|---|---|---|
| options | IResolvable | (IResolvable | Evaluation)[] | The automation options of the single select question. |
| answer | IResolvable | Evaluation | |
| default | string | The identifier of the default answer option, when none of the automation options match the criteria. |
options
Type:
IResolvable | (IResolvable | Evaluation)[]
The automation options of the single select question.
Minimum : 1
Maximum : 20
answerSource?
Type:
IResolvable | Evaluation
(optional)
defaultOptionRefId?
Type:
string
(optional)
The identifier of the default answer option, when none of the automation options match the criteria.
Length Constraints : Minimum length of 1. Maximum length of 40.

.NET
Go
Java
Python
TypeScript