Class: AWSCDK::QuickSight::CfnTemplate::LayoutProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::LayoutProperty
- Defined in:
- quick_sight/cfn_template.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::CfnTemplate::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.
15653 15654 15655 15656 |
# File 'quick_sight/cfn_template.rb', line 15653 def initialize(configuration:) @configuration = configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LayoutConfigurationProperty.new(**configuration.transform_keys(&:to_sym)) : configuration Jsii::Type.check_type(@configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxheW91dENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "configuration") end |
Instance Attribute Details
#configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::LayoutConfigurationProperty (readonly)
The configuration that determines what the type of layout for a sheet.
15662 15663 15664 |
# File 'quick_sight/cfn_template.rb', line 15662 def configuration @configuration end |
Class Method Details
.jsii_properties ⇒ Object
15664 15665 15666 15667 15668 |
# File 'quick_sight/cfn_template.rb', line 15664 def self.jsii_properties { :configuration => "configuration", } end |
Instance Method Details
#to_jsii ⇒ Object
15670 15671 15672 15673 15674 15675 15676 |
# File 'quick_sight/cfn_template.rb', line 15670 def to_jsii result = {} result.merge!({ "configuration" => @configuration, }) result.compact end |