Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormQuestionAutomationAnswerSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormQuestionAutomationAnswerSourceProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
A question automation answer.
Instance Attribute Summary collapse
-
#source_type ⇒ String
readonly
The automation answer source type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_type:) ⇒ EvaluationFormQuestionAutomationAnswerSourceProperty
constructor
A new instance of EvaluationFormQuestionAutomationAnswerSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_type:) ⇒ EvaluationFormQuestionAutomationAnswerSourceProperty
Returns a new instance of EvaluationFormQuestionAutomationAnswerSourceProperty.
1464 1465 1466 1467 |
# File 'connect/cfn_evaluation_form.rb', line 1464 def initialize(source_type:) @source_type = source_type Jsii::Type.check_type(@source_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceType") end |
Instance Attribute Details
#source_type ⇒ String (readonly)
The automation answer source type.
1473 1474 1475 |
# File 'connect/cfn_evaluation_form.rb', line 1473 def source_type @source_type end |
Class Method Details
.jsii_properties ⇒ Object
1475 1476 1477 1478 1479 |
# File 'connect/cfn_evaluation_form.rb', line 1475 def self.jsii_properties { :source_type => "sourceType", } end |
Instance Method Details
#to_jsii ⇒ Object
1481 1482 1483 1484 1485 1486 1487 |
# File 'connect/cfn_evaluation_form.rb', line 1481 def to_jsii result = {} result.merge!({ "sourceType" => @source_type, }) result.compact end |