Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormTextQuestionAutomationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormTextQuestionAutomationProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
Information about the automation configuration in text questions.
Instance Attribute Summary collapse
-
#answer_source ⇒ AWSCDK::IResolvable, ...
readonly
Automation answer source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(answer_source: nil) ⇒ EvaluationFormTextQuestionAutomationProperty
constructor
A new instance of EvaluationFormTextQuestionAutomationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(answer_source: nil) ⇒ EvaluationFormTextQuestionAutomationProperty
Returns a new instance of EvaluationFormTextQuestionAutomationProperty.
2033 2034 2035 2036 |
# File 'connect/cfn_evaluation_form.rb', line 2033 def initialize(answer_source: nil) @answer_source = answer_source.is_a?(Hash) ? ::AWSCDK::Connect::CfnEvaluationForm::EvaluationFormQuestionAutomationAnswerSourceProperty.new(**answer_source.transform_keys(&:to_sym)) : answer_source Jsii::Type.check_type(@answer_source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkV2YWx1YXRpb25Gb3JtLkV2YWx1YXRpb25Gb3JtUXVlc3Rpb25BdXRvbWF0aW9uQW5zd2VyU291cmNlUHJvcGVydHkifV19fQ==")), "answerSource") unless @answer_source.nil? end |
Instance Attribute Details
#answer_source ⇒ AWSCDK::IResolvable, ... (readonly)
Automation answer source.
2042 2043 2044 |
# File 'connect/cfn_evaluation_form.rb', line 2042 def answer_source @answer_source end |
Class Method Details
.jsii_properties ⇒ Object
2044 2045 2046 2047 2048 |
# File 'connect/cfn_evaluation_form.rb', line 2044 def self.jsii_properties { :answer_source => "answerSource", } end |
Instance Method Details
#to_jsii ⇒ Object
2050 2051 2052 2053 2054 2055 2056 |
# File 'connect/cfn_evaluation_form.rb', line 2050 def to_jsii result = {} result.merge!({ "answerSource" => @answer_source, }) result.compact end |