Class: AWSCDK::QuickSight::CfnDashboard::SingleAxisOptionsProperty

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

Overview

The settings of a chart's single axis configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(y_axis_options: nil) ⇒ SingleAxisOptionsProperty

Returns a new instance of SingleAxisOptionsProperty.

Parameters:



27847
27848
27849
27850
# File 'quick_sight/cfn_dashboard.rb', line 27847

def initialize(y_axis_options: nil)
  @y_axis_options = y_axis_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::YAxisOptionsProperty.new(**y_axis_options.transform_keys(&:to_sym)) : y_axis_options
  Jsii::Type.check_type(@y_axis_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5ZQXhpc09wdGlvbnNQcm9wZXJ0eSJ9XX19")), "yAxisOptions") unless @y_axis_options.nil?
end

Instance Attribute Details

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

The Y axis options of a single axis configuration.



27856
27857
27858
# File 'quick_sight/cfn_dashboard.rb', line 27856

def y_axis_options
  @y_axis_options
end

Class Method Details

.jsii_propertiesObject



27858
27859
27860
27861
27862
# File 'quick_sight/cfn_dashboard.rb', line 27858

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

Instance Method Details

#to_jsiiObject



27864
27865
27866
27867
27868
27869
27870
# File 'quick_sight/cfn_dashboard.rb', line 27864

def to_jsii
  result = {}
  result.merge!({
    "yAxisOptions" => @y_axis_options,
  })
  result.compact
end