Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSingleSelectQuestionAutomationOptionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_evaluation_form.rb

Overview

The automation options of the single select question.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rule_category:) ⇒ EvaluationFormSingleSelectQuestionAutomationOptionProperty

Returns a new instance of EvaluationFormSingleSelectQuestionAutomationOptionProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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