Class: AWSCDK::QuickSight::CfnTemplate::LayoutProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration:) ⇒ LayoutProperty

Returns a new instance of LayoutProperty.

Parameters:



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

#configurationAWSCDK::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_propertiesObject



15664
15665
15666
15667
15668
# File 'quick_sight/cfn_template.rb', line 15664

def self.jsii_properties
  {
    :configuration => "configuration",
  }
end

Instance Method Details

#to_jsiiObject



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