aws-cdk-lib.aws_connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty

interface EvaluationFormSingleSelectQuestionAutomationProperty

LanguageType name
.NETAmazon.CDK.AWS.Connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsconnect#CfnEvaluationForm_EvaluationFormSingleSelectQuestionAutomationProperty
Javasoftware.amazon.awscdk.services.connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationProperty
Pythonaws_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
  defaultOptionRefId: 'defaultOptionRefId',
};

Properties

NameTypeDescription
optionsIResolvable | IResolvable | EvaluationFormSingleSelectQuestionAutomationOptionProperty[]The automation options of the single select question.
defaultOptionRefId?stringThe identifier of the default answer option, when none of the automation options match the criteria.

options

Type: IResolvable | IResolvable | EvaluationFormSingleSelectQuestionAutomationOptionProperty[]

The automation options of the single select question.

Minimum : 1

Maximum : 20


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.