Class: AWSCDK::QuickSight::CfnDashboard::DefaultNewSheetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::DefaultNewSheetConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration for default new sheet settings.
Instance Attribute Summary collapse
-
#interactive_layout_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the default settings for interactive layout configuration.
-
#paginated_layout_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the default settings for a paginated layout configuration.
-
#sheet_content_type ⇒ String?
readonly
The option that determines the sheet content type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(interactive_layout_configuration: nil, paginated_layout_configuration: nil, sheet_content_type: nil) ⇒ DefaultNewSheetConfigurationProperty
constructor
A new instance of DefaultNewSheetConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(interactive_layout_configuration: nil, paginated_layout_configuration: nil, sheet_content_type: nil) ⇒ DefaultNewSheetConfigurationProperty
Returns a new instance of DefaultNewSheetConfigurationProperty.
8717 8718 8719 8720 8721 8722 8723 8724 |
# File 'quick_sight/cfn_dashboard.rb', line 8717 def initialize(interactive_layout_configuration: nil, paginated_layout_configuration: nil, sheet_content_type: nil) @interactive_layout_configuration = interactive_layout_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DefaultInteractiveLayoutConfigurationProperty.new(**interactive_layout_configuration.transform_keys(&:to_sym)) : interactive_layout_configuration Jsii::Type.check_type(@interactive_layout_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWZhdWx0SW50ZXJhY3RpdmVMYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "interactiveLayoutConfiguration") unless @interactive_layout_configuration.nil? @paginated_layout_configuration = paginated_layout_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::DefaultPaginatedLayoutConfigurationProperty.new(**paginated_layout_configuration.transform_keys(&:to_sym)) : paginated_layout_configuration Jsii::Type.check_type(@paginated_layout_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5EZWZhdWx0UGFnaW5hdGVkTGF5b3V0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "paginatedLayoutConfiguration") unless @paginated_layout_configuration.nil? @sheet_content_type = sheet_content_type Jsii::Type.check_type(@sheet_content_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sheetContentType") unless @sheet_content_type.nil? end |
Instance Attribute Details
#interactive_layout_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings for interactive layout configuration.
8730 8731 8732 |
# File 'quick_sight/cfn_dashboard.rb', line 8730 def interactive_layout_configuration @interactive_layout_configuration end |
#paginated_layout_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the default settings for a paginated layout configuration.
8735 8736 8737 |
# File 'quick_sight/cfn_dashboard.rb', line 8735 def paginated_layout_configuration @paginated_layout_configuration end |
#sheet_content_type ⇒ String? (readonly)
The option that determines the sheet content type.
8740 8741 8742 |
# File 'quick_sight/cfn_dashboard.rb', line 8740 def sheet_content_type @sheet_content_type end |
Class Method Details
.jsii_properties ⇒ Object
8742 8743 8744 8745 8746 8747 8748 |
# File 'quick_sight/cfn_dashboard.rb', line 8742 def self.jsii_properties { :interactive_layout_configuration => "interactiveLayoutConfiguration", :paginated_layout_configuration => "paginatedLayoutConfiguration", :sheet_content_type => "sheetContentType", } end |
Instance Method Details
#to_jsii ⇒ Object
8750 8751 8752 8753 8754 8755 8756 8757 8758 |
# File 'quick_sight/cfn_dashboard.rb', line 8750 def to_jsii result = {} result.merge!({ "interactiveLayoutConfiguration" => @interactive_layout_configuration, "paginatedLayoutConfiguration" => @paginated_layout_configuration, "sheetContentType" => @sheet_content_type, }) result.compact end |