Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormQuestionAutomationAnswerSourceProperty

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

Overview

A question automation answer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_type:) ⇒ EvaluationFormQuestionAutomationAnswerSourceProperty

Returns a new instance of EvaluationFormQuestionAutomationAnswerSourceProperty.

Parameters:

  • source_type (String)

    The automation answer source type.



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_typeString (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_propertiesObject



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_jsiiObject



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