SingleSelectQuestionRuleCategoryAutomationProperty Struct
Information about the automation option based on a rule category for a single select question.
Length Constraints : Minimum length of 1. Maximum length of 50.
| Source | |
|---|---|
| Type last changed |
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 singleSelectQuestionRuleCategoryAutomationProperty: connect.CfnEvaluationForm.SingleSelectQuestionRuleCategoryAutomationProperty = {
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
single_select_question_rule_category_automation_property = 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.*;
SingleSelectQuestionRuleCategoryAutomationProperty singleSelectQuestionRuleCategoryAutomationProperty = SingleSelectQuestionRuleCategoryAutomationProperty.builder()
.category("category")
.condition("condition")
.optionRefId("optionRefId")
.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 singleSelectQuestionRuleCategoryAutomationProperty = 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"
singleSelectQuestionRuleCategoryAutomationProperty := &SingleSelectQuestionRuleCategoryAutomationProperty{
Category: jsii.String("category"),
Condition: jsii.String("condition"),
OptionRefId: jsii.String("optionRefId"),
}
Properties
The category name, as defined in Rules.
Minimum : 1
Maximum : 50
The condition to apply for the automation option.
notes
If the condition is PRESENT, then the option is applied when the contact data includes the category. Similarly, if the condition is NOT_PRESENT, then the option is applied when the contact data does not include the category.
Allowed values : PRESENT | NOT_PRESENT
Maximum : 50
The identifier of the answer option. An identifier must be unique within the question.
Length Constraints : Minimum length of 1. Maximum length of 40.