Class: AWSCDK::QuickSight::CfnTemplate::HeaderFooterSectionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::HeaderFooterSectionConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The configuration of a header or footer section.
Instance Attribute Summary collapse
-
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::SectionLayoutConfigurationProperty
readonly
The layout configuration of the header or footer section.
-
#section_id ⇒ String
readonly
The unique identifier of the header or footer section.
-
#style ⇒ AWSCDK::IResolvable, ...
readonly
The style options of a header or footer section.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(layout:, section_id:, style: nil) ⇒ HeaderFooterSectionConfigurationProperty
constructor
A new instance of HeaderFooterSectionConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(layout:, section_id:, style: nil) ⇒ HeaderFooterSectionConfigurationProperty
Returns a new instance of HeaderFooterSectionConfigurationProperty.
13446 13447 13448 13449 13450 13451 13452 13453 |
# File 'quick_sight/cfn_template.rb', line 13446 def initialize(layout:, section_id:, style: nil) @layout = layout.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::SectionLayoutConfigurationProperty.new(**layout.transform_keys(&:to_sym)) : layout Jsii::Type.check_type(@layout, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNlY3Rpb25MYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "layout") @section_id = section_id Jsii::Type.check_type(@section_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sectionId") @style = style.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::SectionStyleProperty.new(**style.transform_keys(&:to_sym)) : style Jsii::Type.check_type(@style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNlY3Rpb25TdHlsZVByb3BlcnR5In1dfX0=")), "style") unless @style.nil? end |
Instance Attribute Details
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::SectionLayoutConfigurationProperty (readonly)
The layout configuration of the header or footer section.
13459 13460 13461 |
# File 'quick_sight/cfn_template.rb', line 13459 def layout @layout end |
#section_id ⇒ String (readonly)
The unique identifier of the header or footer section.
13464 13465 13466 |
# File 'quick_sight/cfn_template.rb', line 13464 def section_id @section_id end |
#style ⇒ AWSCDK::IResolvable, ... (readonly)
The style options of a header or footer section.
13469 13470 13471 |
# File 'quick_sight/cfn_template.rb', line 13469 def style @style end |
Class Method Details
.jsii_properties ⇒ Object
13471 13472 13473 13474 13475 13476 13477 |
# File 'quick_sight/cfn_template.rb', line 13471 def self.jsii_properties { :layout => "layout", :section_id => "sectionId", :style => "style", } end |
Instance Method Details
#to_jsii ⇒ Object
13479 13480 13481 13482 13483 13484 13485 13486 13487 |
# File 'quick_sight/cfn_template.rb', line 13479 def to_jsii result = {} result.merge!({ "layout" => @layout, "sectionId" => @section_id, "style" => @style, }) result.compact end |