Class: AWSCDK::QuickSight::CfnDashboard::ScatterPlotFieldWellsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_dashboard.rb

Overview

The field well configuration of a scatter plot.

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(scatter_plot_categorically_aggregated_field_wells: nil, scatter_plot_unaggregated_field_wells: nil) ⇒ ScatterPlotFieldWellsProperty

Returns a new instance of ScatterPlotFieldWellsProperty.

Parameters:



26151
26152
26153
26154
26155
26156
# File 'quick_sight/cfn_dashboard.rb', line 26151

def initialize(scatter_plot_categorically_aggregated_field_wells: nil, scatter_plot_unaggregated_field_wells: nil)
  @scatter_plot_categorically_aggregated_field_wells = scatter_plot_categorically_aggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ScatterPlotCategoricallyAggregatedFieldWellsProperty.new(**scatter_plot_categorically_aggregated_field_wells.transform_keys(&:to_sym)) : scatter_plot_categorically_aggregated_field_wells
  Jsii::Type.check_type(@scatter_plot_categorically_aggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TY2F0dGVyUGxvdENhdGVnb3JpY2FsbHlBZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "scatterPlotCategoricallyAggregatedFieldWells") unless @scatter_plot_categorically_aggregated_field_wells.nil?
  @scatter_plot_unaggregated_field_wells = scatter_plot_unaggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ScatterPlotUnaggregatedFieldWellsProperty.new(**scatter_plot_unaggregated_field_wells.transform_keys(&:to_sym)) : scatter_plot_unaggregated_field_wells
  Jsii::Type.check_type(@scatter_plot_unaggregated_field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TY2F0dGVyUGxvdFVuYWdncmVnYXRlZEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "scatterPlotUnaggregatedFieldWells") unless @scatter_plot_unaggregated_field_wells.nil?
end

Instance Attribute Details

#scatter_plot_categorically_aggregated_field_wellsAWSCDK::IResolvable, ... (readonly)

The aggregated field wells of a scatter plot.

The x and y-axes of scatter plots with aggregated field wells are aggregated by category, label, or both.



26164
26165
26166
# File 'quick_sight/cfn_dashboard.rb', line 26164

def scatter_plot_categorically_aggregated_field_wells
  @scatter_plot_categorically_aggregated_field_wells
end

#scatter_plot_unaggregated_field_wellsAWSCDK::IResolvable, ... (readonly)

The unaggregated field wells of a scatter plot.

The x and y-axes of these scatter plots are unaggregated.



26171
26172
26173
# File 'quick_sight/cfn_dashboard.rb', line 26171

def scatter_plot_unaggregated_field_wells
  @scatter_plot_unaggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



26173
26174
26175
26176
26177
26178
# File 'quick_sight/cfn_dashboard.rb', line 26173

def self.jsii_properties
  {
    :scatter_plot_categorically_aggregated_field_wells => "scatterPlotCategoricallyAggregatedFieldWells",
    :scatter_plot_unaggregated_field_wells => "scatterPlotUnaggregatedFieldWells",
  }
end

Instance Method Details

#to_jsiiObject



26180
26181
26182
26183
26184
26185
26186
26187
# File 'quick_sight/cfn_dashboard.rb', line 26180

def to_jsii
  result = {}
  result.merge!({
    "scatterPlotCategoricallyAggregatedFieldWells" => @scatter_plot_categorically_aggregated_field_wells,
    "scatterPlotUnaggregatedFieldWells" => @scatter_plot_unaggregated_field_wells,
  })
  result.compact
end