Class: AWSCDK::QuickSight::CfnTemplate::TableSideBorderOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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:



26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
# File 'quick_sight/cfn_template.rb', line 26605

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

Instance Attribute Details

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

The table border options of the bottom border.



26624
26625
26626
# File 'quick_sight/cfn_template.rb', line 26624

def bottom
  @bottom
end

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

The table border options of the inner horizontal border.



26629
26630
26631
# File 'quick_sight/cfn_template.rb', line 26629

def inner_horizontal
  @inner_horizontal
end

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

The table border options of the inner vertical border.



26634
26635
26636
# File 'quick_sight/cfn_template.rb', line 26634

def inner_vertical
  @inner_vertical
end

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

The table border options of the left border.



26639
26640
26641
# File 'quick_sight/cfn_template.rb', line 26639

def left
  @left
end

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

The table border options of the right border.



26644
26645
26646
# File 'quick_sight/cfn_template.rb', line 26644

def right
  @right
end

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

The table border options of the top border.



26649
26650
26651
# File 'quick_sight/cfn_template.rb', line 26649

def top
  @top
end

Class Method Details

.jsii_propertiesObject



26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
# File 'quick_sight/cfn_template.rb', line 26651

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

Instance Method Details

#to_jsiiObject



26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
# File 'quick_sight/cfn_template.rb', line 26662

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