Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormBaseItemProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormBaseItemProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
An item at the root level.
All items must be sections.
Instance Attribute Summary collapse
-
#section ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSectionProperty
readonly
A subsection or inner section of an item.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(section:) ⇒ EvaluationFormBaseItemProperty
constructor
A new instance of EvaluationFormBaseItemProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(section:) ⇒ EvaluationFormBaseItemProperty
Returns a new instance of EvaluationFormBaseItemProperty.
718 719 720 721 |
# File 'connect/cfn_evaluation_form.rb', line 718 def initialize(section:) @section = section.is_a?(Hash) ? ::AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSectionProperty.new(**section.transform_keys(&:to_sym)) : section Jsii::Type.check_type(@section, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb25uZWN0LkNmbkV2YWx1YXRpb25Gb3JtLkV2YWx1YXRpb25Gb3JtU2VjdGlvblByb3BlcnR5In1dfX0=")), "section") end |
Instance Attribute Details
#section ⇒ AWSCDK::IResolvable, AWSCDK::Connect::CfnEvaluationForm::EvaluationFormSectionProperty (readonly)
A subsection or inner section of an item.
727 728 729 |
# File 'connect/cfn_evaluation_form.rb', line 727 def section @section end |
Class Method Details
.jsii_properties ⇒ Object
729 730 731 732 733 |
# File 'connect/cfn_evaluation_form.rb', line 729 def self.jsii_properties { :section => "section", } end |
Instance Method Details
#to_jsii ⇒ Object
735 736 737 738 739 740 741 |
# File 'connect/cfn_evaluation_form.rb', line 735 def to_jsii result = {} result.merge!({ "section" => @section, }) result.compact end |