Class: AWSCDK::QuickSight::CfnDashboard::HeaderFooterSectionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::HeaderFooterSectionConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of a header or footer section.
Instance Attribute Summary collapse
-
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::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.
15892 15893 15894 15895 15896 15897 15898 15899 |
# File 'quick_sight/cfn_dashboard.rb', line 15892 def initialize(layout:, section_id:, style: nil) @layout = layout.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::SectionLayoutConfigurationProperty.new(**layout.transform_keys(&:to_sym)) : layout Jsii::Type.check_type(@layout, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TZWN0aW9uTGF5b3V0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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::CfnDashboard::SectionStyleProperty.new(**style.transform_keys(&:to_sym)) : style Jsii::Type.check_type(@style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TZWN0aW9uU3R5bGVQcm9wZXJ0eSJ9XX19")), "style") unless @style.nil? end |
Instance Attribute Details
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::SectionLayoutConfigurationProperty (readonly)
The layout configuration of the header or footer section.
15905 15906 15907 |
# File 'quick_sight/cfn_dashboard.rb', line 15905 def layout @layout end |
#section_id ⇒ String (readonly)
The unique identifier of the header or footer section.
15910 15911 15912 |
# File 'quick_sight/cfn_dashboard.rb', line 15910 def section_id @section_id end |
#style ⇒ AWSCDK::IResolvable, ... (readonly)
The style options of a header or footer section.
15915 15916 15917 |
# File 'quick_sight/cfn_dashboard.rb', line 15915 def style @style end |
Class Method Details
.jsii_properties ⇒ Object
15917 15918 15919 15920 15921 15922 15923 |
# File 'quick_sight/cfn_dashboard.rb', line 15917 def self.jsii_properties { :layout => "layout", :section_id => "sectionId", :style => "style", } end |
Instance Method Details
#to_jsii ⇒ Object
15925 15926 15927 15928 15929 15930 15931 15932 15933 |
# File 'quick_sight/cfn_dashboard.rb', line 15925 def to_jsii result = {} result.merge!({ "layout" => @layout, "sectionId" => @section_id, "style" => @style, }) result.compact end |