Class: AWSCDK::QuickSight::CfnAnalysis::BarChartFieldWellsProperty

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



2187
2188
2189
2190
# File 'quick_sight/cfn_analysis.rb', line 2187

def initialize(bar_chart_aggregated_field_wells: nil)
  @bar_chart_aggregated_field_wells = bar_chart_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkJhckNoYXJ0QWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "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.



2196
2197
2198
# File 'quick_sight/cfn_analysis.rb', line 2196

def bar_chart_aggregated_field_wells
  @bar_chart_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



2198
2199
2200
2201
2202
# File 'quick_sight/cfn_analysis.rb', line 2198

def self.jsii_properties
  {
    :bar_chart_aggregated_field_wells => "barChartAggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



2204
2205
2206
2207
2208
2209
2210
# File 'quick_sight/cfn_analysis.rb', line 2204

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