Skip to content
v2.278.0

MultiSelectQuestionRuleCategoryAutomationProperty Struct ​

Automation rule for multi-select questions based on rule categories.

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 multiSelectQuestionRuleCategoryAutomationProperty: connect.CfnEvaluationForm.MultiSelectQuestionRuleCategoryAutomationProperty = {
  category: 'category',
  condition: 'condition',
  optionRefIds: ['optionRefIds'],
};
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

multi_select_question_rule_category_automation_property = connect.CfnEvaluationForm.MultiSelectQuestionRuleCategoryAutomationProperty(
    category="category",
    condition="condition",
    option_ref_ids=["optionRefIds"]
)
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.*;

MultiSelectQuestionRuleCategoryAutomationProperty multiSelectQuestionRuleCategoryAutomationProperty = MultiSelectQuestionRuleCategoryAutomationProperty.builder()
        .category("category")
        .condition("condition")
        .optionRefIds(List.of("optionRefIds"))
        .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 multiSelectQuestionRuleCategoryAutomationProperty = new MultiSelectQuestionRuleCategoryAutomationProperty {
    Category = "category",
    Condition = "condition",
    OptionRefIds = new [] { "optionRefIds" }
};
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"

multiSelectQuestionRuleCategoryAutomationProperty := &MultiSelectQuestionRuleCategoryAutomationProperty{
	Category: jsii.String("category"),
	Condition: jsii.String("condition"),
	OptionRefIds: []*string{
		jsii.String("optionRefIds"),
	},
}

Properties ​

categorystringcategorystrcategoryStringCategorystringCategory*string required #
The category name for this automation rule.
conditionstringconditionstrconditionStringConditionstringCondition*string required #
The condition for this automation rule.
optionRefIdsstring[]option_ref_idstyping.List[str]optionRefIdsList<String>OptionRefIdsstring[]OptionRefIds*[]*string required #
Reference IDs of options for this automation rule.