Class: AWSCDK::QuickSight::CfnDashboard::TableSideBorderOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The side border options for a table.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bottom: nil, inner_horizontal: nil, inner_vertical: nil, left: nil, right: nil, top: nil) ⇒ TableSideBorderOptionsProperty

Returns a new instance of TableSideBorderOptionsProperty.

Parameters:



29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
# File 'quick_sight/cfn_dashboard.rb', line 29775

def initialize(bottom: nil, inner_horizontal: nil, inner_vertical: nil, left: nil, right: nil, top: nil)
  @bottom = bottom.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**bottom.transform_keys(&:to_sym)) : bottom
  Jsii::Type.check_type(@bottom, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "bottom") unless @bottom.nil?
  @inner_horizontal = inner_horizontal.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**inner_horizontal.transform_keys(&:to_sym)) : inner_horizontal
  Jsii::Type.check_type(@inner_horizontal, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "innerHorizontal") unless @inner_horizontal.nil?
  @inner_vertical = inner_vertical.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**inner_vertical.transform_keys(&:to_sym)) : inner_vertical
  Jsii::Type.check_type(@inner_vertical, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "innerVertical") unless @inner_vertical.nil?
  @left = left.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**left.transform_keys(&:to_sym)) : left
  Jsii::Type.check_type(@left, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "left") unless @left.nil?
  @right = right.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**right.transform_keys(&:to_sym)) : right
  Jsii::Type.check_type(@right, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "right") unless @right.nil?
  @top = top.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableBorderOptionsProperty.new(**top.transform_keys(&:to_sym)) : top
  Jsii::Type.check_type(@top, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUJvcmRlck9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "top") unless @top.nil?
end

Instance Attribute Details

#bottomAWSCDK::IResolvable, ... (readonly)

The table border options of the bottom border.



29794
29795
29796
# File 'quick_sight/cfn_dashboard.rb', line 29794

def bottom
  @bottom
end

#inner_horizontalAWSCDK::IResolvable, ... (readonly)

The table border options of the inner horizontal border.



29799
29800
29801
# File 'quick_sight/cfn_dashboard.rb', line 29799

def inner_horizontal
  @inner_horizontal
end

#inner_verticalAWSCDK::IResolvable, ... (readonly)

The table border options of the inner vertical border.



29804
29805
29806
# File 'quick_sight/cfn_dashboard.rb', line 29804

def inner_vertical
  @inner_vertical
end

#leftAWSCDK::IResolvable, ... (readonly)

The table border options of the left border.



29809
29810
29811
# File 'quick_sight/cfn_dashboard.rb', line 29809

def left
  @left
end

#rightAWSCDK::IResolvable, ... (readonly)

The table border options of the right border.



29814
29815
29816
# File 'quick_sight/cfn_dashboard.rb', line 29814

def right
  @right
end

#topAWSCDK::IResolvable, ... (readonly)

The table border options of the top border.



29819
29820
29821
# File 'quick_sight/cfn_dashboard.rb', line 29819

def top
  @top
end

Class Method Details

.jsii_propertiesObject



29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
# File 'quick_sight/cfn_dashboard.rb', line 29821

def self.jsii_properties
  {
    :bottom => "bottom",
    :inner_horizontal => "innerHorizontal",
    :inner_vertical => "innerVertical",
    :left => "left",
    :right => "right",
    :top => "top",
  }
end

Instance Method Details

#to_jsiiObject



29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
# File 'quick_sight/cfn_dashboard.rb', line 29832

def to_jsii
  result = {}
  result.merge!({
    "bottom" => @bottom,
    "innerHorizontal" => @inner_horizontal,
    "innerVertical" => @inner_vertical,
    "left" => @left,
    "right" => @right,
    "top" => @top,
  })
  result.compact
end