Class: AWSCDK::QuickSight::CfnDashboard::BodySectionRepeatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::BodySectionRepeatConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
Describes the configurations that are required to declare a section as repeating.
Instance Attribute Summary collapse
-
#dimension_configurations ⇒ AWSCDK::IResolvable, ...
readonly
List of
BodySectionRepeatDimensionConfigurationvalues that describe the dataset column and constraints for the column used to repeat the contents of a section. -
#non_repeating_visuals ⇒ Array<String>?
readonly
List of visuals to exclude from repetition in repeating sections.
-
#page_break_configuration ⇒ AWSCDK::IResolvable, ...
readonly
Page break configuration to apply for each repeating instance.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(dimension_configurations: nil, non_repeating_visuals: nil, page_break_configuration: nil) ⇒ BodySectionRepeatConfigurationProperty
constructor
A new instance of BodySectionRepeatConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(dimension_configurations: nil, non_repeating_visuals: nil, page_break_configuration: nil) ⇒ BodySectionRepeatConfigurationProperty
Returns a new instance of BodySectionRepeatConfigurationProperty.
2561 2562 2563 2564 2565 2566 2567 2568 |
# File 'quick_sight/cfn_dashboard.rb', line 2561 def initialize(dimension_configurations: nil, non_repeating_visuals: nil, page_break_configuration: nil) @dimension_configurations = dimension_configurations Jsii::Type.check_type(@dimension_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuQm9keVNlY3Rpb25SZXBlYXREaW1lbnNpb25Db25maWd1cmF0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "dimensionConfigurations") unless @dimension_configurations.nil? @non_repeating_visuals = non_repeating_visuals Jsii::Type.check_type(@non_repeating_visuals, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "nonRepeatingVisuals") unless @non_repeating_visuals.nil? @page_break_configuration = page_break_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::BodySectionRepeatPageBreakConfigurationProperty.new(**page_break_configuration.transform_keys(&:to_sym)) : page_break_configuration Jsii::Type.check_type(@page_break_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Cb2R5U2VjdGlvblJlcGVhdFBhZ2VCcmVha0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "pageBreakConfiguration") unless @page_break_configuration.nil? end |
Instance Attribute Details
#dimension_configurations ⇒ AWSCDK::IResolvable, ... (readonly)
List of BodySectionRepeatDimensionConfiguration values that describe the dataset column and constraints for the column used to repeat the contents of a section.
2574 2575 2576 |
# File 'quick_sight/cfn_dashboard.rb', line 2574 def dimension_configurations @dimension_configurations end |
#non_repeating_visuals ⇒ Array<String>? (readonly)
List of visuals to exclude from repetition in repeating sections.
The visuals will render identically, and ignore the repeating configurations in all repeating instances.
2581 2582 2583 |
# File 'quick_sight/cfn_dashboard.rb', line 2581 def non_repeating_visuals @non_repeating_visuals end |
#page_break_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Page break configuration to apply for each repeating instance.
2586 2587 2588 |
# File 'quick_sight/cfn_dashboard.rb', line 2586 def page_break_configuration @page_break_configuration end |
Class Method Details
.jsii_properties ⇒ Object
2588 2589 2590 2591 2592 2593 2594 |
# File 'quick_sight/cfn_dashboard.rb', line 2588 def self.jsii_properties { :dimension_configurations => "dimensionConfigurations", :non_repeating_visuals => "nonRepeatingVisuals", :page_break_configuration => "pageBreakConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
2596 2597 2598 2599 2600 2601 2602 2603 2604 |
# File 'quick_sight/cfn_dashboard.rb', line 2596 def to_jsii result = {} result.merge!({ "dimensionConfigurations" => @dimension_configurations, "nonRepeatingVisuals" => @non_repeating_visuals, "pageBreakConfiguration" => @page_break_configuration, }) result.compact end |