Class: AWSCDK::QuickSight::CfnTemplate::DefaultNewSheetConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::DefaultNewSheetConfigurationProperty
- Defined in:
- quick_sight/cfn_template.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.
7904 7905 7906 7907 7908 7909 7910 7911 |
# File 'quick_sight/cfn_template.rb', line 7904 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::CfnTemplate::DefaultInteractiveLayoutConfigurationProperty.new(**interactive_layout_configuration.transform_keys(&:to_sym)) : interactive_layout_configuration Jsii::Type.check_type(@interactive_layout_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRlZmF1bHRJbnRlcmFjdGl2ZUxheW91dENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "interactiveLayoutConfiguration") unless @interactive_layout_configuration.nil? @paginated_layout_configuration = paginated_layout_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DefaultPaginatedLayoutConfigurationProperty.new(**paginated_layout_configuration.transform_keys(&:to_sym)) : paginated_layout_configuration Jsii::Type.check_type(@paginated_layout_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRlZmF1bHRQYWdpbmF0ZWRMYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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.
7917 7918 7919 |
# File 'quick_sight/cfn_template.rb', line 7917 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.
7922 7923 7924 |
# File 'quick_sight/cfn_template.rb', line 7922 def paginated_layout_configuration @paginated_layout_configuration end |
#sheet_content_type ⇒ String? (readonly)
The option that determines the sheet content type.
7927 7928 7929 |
# File 'quick_sight/cfn_template.rb', line 7927 def sheet_content_type @sheet_content_type end |
Class Method Details
.jsii_properties ⇒ Object
7929 7930 7931 7932 7933 7934 7935 |
# File 'quick_sight/cfn_template.rb', line 7929 def self.jsii_properties { :interactive_layout_configuration => "interactiveLayoutConfiguration", :paginated_layout_configuration => "paginatedLayoutConfiguration", :sheet_content_type => "sheetContentType", } end |
Instance Method Details
#to_jsii ⇒ Object
7937 7938 7939 7940 7941 7942 7943 7944 7945 |
# File 'quick_sight/cfn_template.rb', line 7937 def to_jsii result = {} result.merge!({ "interactiveLayoutConfiguration" => @interactive_layout_configuration, "paginatedLayoutConfiguration" => @paginated_layout_configuration, "sheetContentType" => @sheet_content_type, }) result.compact end |