Class: AWSCDK::QuickSight::CfnTemplate::SingleAxisOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::SingleAxisOptionsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The settings of a chart's single axis configuration.
Instance Attribute Summary collapse
-
#y_axis_options ⇒ AWSCDK::IResolvable, ...
readonly
The Y axis options of a single axis configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(y_axis_options: nil) ⇒ SingleAxisOptionsProperty
constructor
A new instance of SingleAxisOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(y_axis_options: nil) ⇒ SingleAxisOptionsProperty
Returns a new instance of SingleAxisOptionsProperty.
24935 24936 24937 24938 |
# File 'quick_sight/cfn_template.rb', line 24935 def initialize(y_axis_options: nil) @y_axis_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::YAxisOptionsProperty.new(**.transform_keys(&:to_sym)) : 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_options ⇒ AWSCDK::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 end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |