Class: AWSCDK::QuickSight::CfnDashboard::LayoutProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::LayoutProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A Layout defines the placement of elements within a sheet.
For more information, see Types of layout in the Amazon Quick Suite User Guide .
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::LayoutConfigurationProperty
readonly
The configuration that determines what the type of layout for a sheet.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(configuration:) ⇒ LayoutProperty
constructor
A new instance of LayoutProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(configuration:) ⇒ LayoutProperty
Returns a new instance of LayoutProperty.
18403 18404 18405 18406 |
# File 'quick_sight/cfn_dashboard.rb', line 18403 def initialize(configuration:) @configuration = configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LayoutConfigurationProperty.new(**configuration.transform_keys(&:to_sym)) : configuration Jsii::Type.check_type(@configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MYXlvdXRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "configuration") end |
Instance Attribute Details
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::LayoutConfigurationProperty (readonly)
The configuration that determines what the type of layout for a sheet.
18412 18413 18414 |
# File 'quick_sight/cfn_dashboard.rb', line 18412 def configuration @configuration end |
Class Method Details
.jsii_properties ⇒ Object
18414 18415 18416 18417 18418 |
# File 'quick_sight/cfn_dashboard.rb', line 18414 def self.jsii_properties { :configuration => "configuration", } end |
Instance Method Details
#to_jsii ⇒ Object
18420 18421 18422 18423 18424 18425 18426 |
# File 'quick_sight/cfn_dashboard.rb', line 18420 def to_jsii result = {} result.merge!({ "configuration" => @configuration, }) result.compact end |