Class: AWSCDK::QuickSight::CfnTemplate::HistogramConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::HistogramConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The configuration for a HistogramVisual .
Instance Attribute Summary collapse
-
#bin_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of histogram bins.
-
#data_labels ⇒ AWSCDK::IResolvable, ...
readonly
The data label configuration of a histogram.
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field well configuration of a histogram.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip configuration of a histogram.
-
#visual_palette ⇒ AWSCDK::IResolvable, ...
readonly
The visual palette configuration of a histogram.
-
#x_axis_display_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of the x-axis.
-
#x_axis_label_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of the x-axis label.
-
#y_axis_display_options ⇒ AWSCDK::IResolvable, ...
readonly
The options that determine the presentation of the y-axis.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bin_options: nil, data_labels: nil, field_wells: nil, interactions: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil) ⇒ HistogramConfigurationProperty
constructor
A new instance of HistogramConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bin_options: nil, data_labels: nil, field_wells: nil, interactions: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil) ⇒ HistogramConfigurationProperty
Returns a new instance of HistogramConfigurationProperty.
13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 |
# File 'quick_sight/cfn_template.rb', line 13964 def initialize(bin_options: nil, data_labels: nil, field_wells: nil, interactions: nil, tooltip: nil, visual_palette: nil, x_axis_display_options: nil, x_axis_label_options: nil, y_axis_display_options: nil) @bin_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::HistogramBinOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@bin_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkhpc3RvZ3JhbUJpbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "binOptions") unless @bin_options.nil? @data_labels = data_labels.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::DataLabelOptionsProperty.new(**data_labels.transform_keys(&:to_sym)) : data_labels Jsii::Type.check_type(@data_labels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkRhdGFMYWJlbE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "dataLabels") unless @data_labels.nil? @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::HistogramFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkhpc3RvZ3JhbUZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRvb2x0aXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "tooltip") unless @tooltip.nil? @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbFBhbGV0dGVQcm9wZXJ0eSJ9XX19")), "visualPalette") unless @visual_palette.nil? @x_axis_display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@x_axis_display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkF4aXNEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "xAxisDisplayOptions") unless @x_axis_display_options.nil? @x_axis_label_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ChartAxisLabelOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@x_axis_label_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNoYXJ0QXhpc0xhYmVsT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "xAxisLabelOptions") unless @x_axis_label_options.nil? @y_axis_display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::AxisDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@y_axis_display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkF4aXNEaXNwbGF5T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "yAxisDisplayOptions") unless @y_axis_display_options.nil? end |
Instance Attribute Details
#bin_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of histogram bins.
13989 13990 13991 |
# File 'quick_sight/cfn_template.rb', line 13989 def @bin_options end |
#data_labels ⇒ AWSCDK::IResolvable, ... (readonly)
The data label configuration of a histogram.
13994 13995 13996 |
# File 'quick_sight/cfn_template.rb', line 13994 def data_labels @data_labels end |
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field well configuration of a histogram.
13999 14000 14001 |
# File 'quick_sight/cfn_template.rb', line 13999 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
14004 14005 14006 |
# File 'quick_sight/cfn_template.rb', line 14004 def interactions @interactions end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip configuration of a histogram.
14009 14010 14011 |
# File 'quick_sight/cfn_template.rb', line 14009 def tooltip @tooltip end |
#visual_palette ⇒ AWSCDK::IResolvable, ... (readonly)
The visual palette configuration of a histogram.
14014 14015 14016 |
# File 'quick_sight/cfn_template.rb', line 14014 def visual_palette @visual_palette end |
#x_axis_display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the x-axis.
14019 14020 14021 |
# File 'quick_sight/cfn_template.rb', line 14019 def @x_axis_display_options end |
#x_axis_label_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the x-axis label.
14024 14025 14026 |
# File 'quick_sight/cfn_template.rb', line 14024 def @x_axis_label_options end |
#y_axis_display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The options that determine the presentation of the y-axis.
14029 14030 14031 |
# File 'quick_sight/cfn_template.rb', line 14029 def @y_axis_display_options end |
Class Method Details
.jsii_properties ⇒ Object
14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 |
# File 'quick_sight/cfn_template.rb', line 14031 def self.jsii_properties { :bin_options => "binOptions", :data_labels => "dataLabels", :field_wells => "fieldWells", :interactions => "interactions", :tooltip => "tooltip", :visual_palette => "visualPalette", :x_axis_display_options => "xAxisDisplayOptions", :x_axis_label_options => "xAxisLabelOptions", :y_axis_display_options => "yAxisDisplayOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 |
# File 'quick_sight/cfn_template.rb', line 14045 def to_jsii result = {} result.merge!({ "binOptions" => @bin_options, "dataLabels" => @data_labels, "fieldWells" => @field_wells, "interactions" => @interactions, "tooltip" => @tooltip, "visualPalette" => @visual_palette, "xAxisDisplayOptions" => @x_axis_display_options, "xAxisLabelOptions" => @x_axis_label_options, "yAxisDisplayOptions" => @y_axis_display_options, }) result.compact end |