Class: AWSCDK::QuickSight::CfnTemplate::BarChartFieldWellsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::BarChartFieldWellsProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The field wells of a BarChartVisual .
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
-
#bar_chart_aggregated_field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The aggregated field wells of a bar chart.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bar_chart_aggregated_field_wells: nil) ⇒ BarChartFieldWellsProperty
constructor
A new instance of BarChartFieldWellsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bar_chart_aggregated_field_wells: nil) ⇒ BarChartFieldWellsProperty
Returns a new instance of BarChartFieldWellsProperty.
1909 1910 1911 1912 |
# File 'quick_sight/cfn_template.rb', line 1909 def initialize(bar_chart_aggregated_field_wells: nil) @bar_chart_aggregated_field_wells = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::BarChartAggregatedFieldWellsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@bar_chart_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkJhckNoYXJ0QWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "barChartAggregatedFieldWells") unless @bar_chart_aggregated_field_wells.nil? end |
Instance Attribute Details
#bar_chart_aggregated_field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The aggregated field wells of a bar chart.
1918 1919 1920 |
# File 'quick_sight/cfn_template.rb', line 1918 def @bar_chart_aggregated_field_wells end |
Class Method Details
.jsii_properties ⇒ Object
1920 1921 1922 1923 1924 |
# File 'quick_sight/cfn_template.rb', line 1920 def self.jsii_properties { :bar_chart_aggregated_field_wells => "barChartAggregatedFieldWells", } end |
Instance Method Details
#to_jsii ⇒ Object
1926 1927 1928 1929 1930 1931 1932 |
# File 'quick_sight/cfn_template.rb', line 1926 def to_jsii result = {} result.merge!({ "barChartAggregatedFieldWells" => @bar_chart_aggregated_field_wells, }) result.compact end |