Skip to content
v2.278.0

EvaluationFormSingleSelectQuestionAutomationOptionProperty Struct ​

The automation options of the single select question.

Example ​

ts
// 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 evaluationFormSingleSelectQuestionAutomationOptionProperty: connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty = {
  ruleCategory: {
    category: 'category',
    condition: 'condition',
    optionRefId: 'optionRefId',
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_connect as connect

evaluation_form_single_select_question_automation_option_property = connect.CfnEvaluationForm.EvaluationFormSingleSelectQuestionAutomationOptionProperty(
    rule_category=connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty(
        category="category",
        condition="condition",
        option_ref_id="optionRefId"
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.connect.*;

EvaluationFormSingleSelectQuestionAutomationOptionProperty evaluationFormSingleSelectQuestionAutomationOptionProperty = EvaluationFormSingleSelectQuestionAutomationOptionProperty.builder()
        .ruleCategory(SingleSelectQuestionRuleCategoryAutomationProperty.builder()
                .category("category")
                .condition("condition")
                .optionRefId("optionRefId")
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;

var evaluationFormSingleSelectQuestionAutomationOptionProperty = new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
    RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
        Category = "category",
        Condition = "condition",
        OptionRefId = "optionRefId"
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

evaluationFormSingleSelectQuestionAutomationOptionProperty := &EvaluationFormSingleSelectQuestionAutomationOptionProperty{
	RuleCategory: &SingleSelectQuestionRuleCategoryAutomationProperty{
		Category: jsii.String("category"),
		Condition: jsii.String("condition"),
		OptionRefId: jsii.String("optionRefId"),
	},
}

Properties ​

The automation option based on a rule category for the single select question.