Class: AWSCDK::QuickSight::CfnTemplate::BarChartFieldWellsProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bar_chart_aggregated_field_wells: nil) ⇒ BarChartFieldWellsProperty

Returns a new instance of BarChartFieldWellsProperty.

Parameters:



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 = bar_chart_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::BarChartAggregatedFieldWellsProperty.new(**bar_chart_aggregated_field_wells.transform_keys(&:to_sym)) : bar_chart_aggregated_field_wells
  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_wellsAWSCDK::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
  @bar_chart_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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