Class: AWSCDK::QuickSight::CfnDashboard::BarChartFieldWellsProperty

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



2053
2054
2055
2056
# File 'quick_sight/cfn_dashboard.rb', line 2053

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



2062
2063
2064
# File 'quick_sight/cfn_dashboard.rb', line 2062

def bar_chart_aggregated_field_wells
  @bar_chart_aggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



2064
2065
2066
2067
2068
# File 'quick_sight/cfn_dashboard.rb', line 2064

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

Instance Method Details

#to_jsiiObject



2070
2071
2072
2073
2074
2075
2076
# File 'quick_sight/cfn_dashboard.rb', line 2070

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