Class: AWSCDK::QuickSight::CfnTemplate::BodySectionRepeatConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::BodySectionRepeatConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
2417 2418 2419 2420 2421 2422 2423 2424 |
# File 'quick_sight/cfn_template.rb', line 2417 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5UZW1wbGF0ZS5Cb2R5U2VjdGlvblJlcGVhdERpbWVuc2lvbkNvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "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::CfnTemplate::BodySectionRepeatPageBreakConfigurationProperty.new(**page_break_configuration.transform_keys(&:to_sym)) : page_break_configuration Jsii::Type.check_type(@page_break_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkJvZHlTZWN0aW9uUmVwZWF0UGFnZUJyZWFrQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.
2430 2431 2432 |
# File 'quick_sight/cfn_template.rb', line 2430 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.
2437 2438 2439 |
# File 'quick_sight/cfn_template.rb', line 2437 def non_repeating_visuals @non_repeating_visuals end |
#page_break_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
Page break configuration to apply for each repeating instance.
2442 2443 2444 |
# File 'quick_sight/cfn_template.rb', line 2442 def page_break_configuration @page_break_configuration end |
Class Method Details
.jsii_properties ⇒ Object
2444 2445 2446 2447 2448 2449 2450 |
# File 'quick_sight/cfn_template.rb', line 2444 def self.jsii_properties { :dimension_configurations => "dimensionConfigurations", :non_repeating_visuals => "nonRepeatingVisuals", :page_break_configuration => "pageBreakConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
2452 2453 2454 2455 2456 2457 2458 2459 2460 |
# File 'quick_sight/cfn_template.rb', line 2452 def to_jsii result = {} result.merge!({ "dimensionConfigurations" => @dimension_configurations, "nonRepeatingVisuals" => @non_repeating_visuals, "pageBreakConfiguration" => @page_break_configuration, }) result.compact end |