Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSingleSelectQuestionAutomationOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSingleSelectQuestionAutomationOptionProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
The automation options of the single select question.
Instance Attribute Summary collapse
-
#rule_category ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::SingleSelectQuestionRuleCategoryAutomationProperty
readonly
The automation option based on a rule category for the single select question.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(rule_category:) ⇒ EvaluationFormSingleSelectQuestionAutomationOptionProperty
constructor
A new instance of EvaluationFormSingleSelectQuestionAutomationOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(rule_category:) ⇒ EvaluationFormSingleSelectQuestionAutomationOptionProperty
Returns a new instance of EvaluationFormSingleSelectQuestionAutomationOptionProperty.
1764 1765 1766 1767 |
# File 'connect/cfn_evaluation_form.rb', line 1764 def initialize(rule_category:) @rule_category = rule_category.is_a?(Hash) ? ::AWSCDK::Connect::CfnEvaluationForm::SingleSelectQuestionRuleCategoryAutomationProperty.new(**rule_category.transform_keys(&:to_sym)) : rule_category Jsii::Type.check_type(@rule_category, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkV2YWx1YXRpb25Gb3JtLlNpbmdsZVNlbGVjdFF1ZXN0aW9uUnVsZUNhdGVnb3J5QXV0b21hdGlvblByb3BlcnR5In1dfX0=")), "ruleCategory") end |
Instance Attribute Details
#rule_category ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::SingleSelectQuestionRuleCategoryAutomationProperty (readonly)
The automation option based on a rule category for the single select question.
1773 1774 1775 |
# File 'connect/cfn_evaluation_form.rb', line 1773 def rule_category @rule_category end |
Class Method Details
.jsii_properties ⇒ Object
1775 1776 1777 1778 1779 |
# File 'connect/cfn_evaluation_form.rb', line 1775 def self.jsii_properties { :rule_category => "ruleCategory", } end |
Instance Method Details
#to_jsii ⇒ Object
1781 1782 1783 1784 1785 1786 1787 |
# File 'connect/cfn_evaluation_form.rb', line 1781 def to_jsii result = {} result.merge!({ "ruleCategory" => @rule_category, }) result.compact end |