Class: AWSCDK::QuickSight::CfnTemplate::SingleAxisOptionsProperty

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



24935
24936
24937
24938
# File 'quick_sight/cfn_template.rb', line 24935

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

Instance Attribute Details

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

The Y axis options of a single axis configuration.



24944
24945
24946
# File 'quick_sight/cfn_template.rb', line 24944

def y_axis_options
  @y_axis_options
end

Class Method Details

.jsii_propertiesObject



24946
24947
24948
24949
24950
# File 'quick_sight/cfn_template.rb', line 24946

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

Instance Method Details

#to_jsiiObject



24952
24953
24954
24955
24956
24957
24958
# File 'quick_sight/cfn_template.rb', line 24952

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