Class: AWSCDK::QuickSight::CfnAnalysis::HeaderFooterSectionConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::HeaderFooterSectionConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The configuration of a header or footer section.
Instance Attribute Summary collapse
-
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::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.
14953 14954 14955 14956 14957 14958 14959 14960 |
# File 'quick_sight/cfn_analysis.rb', line 14953 def initialize(layout:, section_id:, style: nil) @layout = layout.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::SectionLayoutConfigurationProperty.new(**layout.transform_keys(&:to_sym)) : layout Jsii::Type.check_type(@layout, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNlY3Rpb25MYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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::CfnAnalysis::SectionStyleProperty.new(**style.transform_keys(&:to_sym)) : style Jsii::Type.check_type(@style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlNlY3Rpb25TdHlsZVByb3BlcnR5In1dfX0=")), "style") unless @style.nil? end |
Instance Attribute Details
#layout ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::SectionLayoutConfigurationProperty (readonly)
The layout configuration of the header or footer section.
14966 14967 14968 |
# File 'quick_sight/cfn_analysis.rb', line 14966 def layout @layout end |
#section_id ⇒ String (readonly)
The unique identifier of the header or footer section.
14971 14972 14973 |
# File 'quick_sight/cfn_analysis.rb', line 14971 def section_id @section_id end |
#style ⇒ AWSCDK::IResolvable, ... (readonly)
The style options of a header or footer section.
14976 14977 14978 |
# File 'quick_sight/cfn_analysis.rb', line 14976 def style @style end |
Class Method Details
.jsii_properties ⇒ Object
14978 14979 14980 14981 14982 14983 14984 |
# File 'quick_sight/cfn_analysis.rb', line 14978 def self.jsii_properties { :layout => "layout", :section_id => "sectionId", :style => "style", } end |
Instance Method Details
#to_jsii ⇒ Object
14986 14987 14988 14989 14990 14991 14992 14993 14994 |
# File 'quick_sight/cfn_analysis.rb', line 14986 def to_jsii result = {} result.merge!({ "layout" => @layout, "sectionId" => @section_id, "style" => @style, }) result.compact end |