Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormBaseItemProperty

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

Overview

An item at the root level.

All items must be sections.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(section:) ⇒ EvaluationFormBaseItemProperty

Returns a new instance of EvaluationFormBaseItemProperty.

Parameters:



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

Class Method Details

.jsii_propertiesObject



729
730
731
732
733
# File 'connect/cfn_evaluation_form.rb', line 729

def self.jsii_properties
  {
    :section => "section",
  }
end

Instance Method Details

#to_jsiiObject



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