Class: AWSCDK::QuickSight::CfnTemplate::ScatterPlotFieldWellsProperty

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



23305
23306
23307
23308
23309
23310
# File 'quick_sight/cfn_template.rb', line 23305

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::CfnTemplate::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNjYXR0ZXJQbG90Q2F0ZWdvcmljYWxseUFnZ3JlZ2F0ZWRGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "scatterPlotCategoricallyAggregatedFieldWells") unless @scatter_plot_categorically_aggregated_field_wells.nil?
  @scatter_plot_unaggregated_field_wells = scatter_plot_unaggregated_field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNjYXR0ZXJQbG90VW5hZ2dyZWdhdGVkRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "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.



23318
23319
23320
# File 'quick_sight/cfn_template.rb', line 23318

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.



23325
23326
23327
# File 'quick_sight/cfn_template.rb', line 23325

def scatter_plot_unaggregated_field_wells
  @scatter_plot_unaggregated_field_wells
end

Class Method Details

.jsii_propertiesObject



23327
23328
23329
23330
23331
23332
# File 'quick_sight/cfn_template.rb', line 23327

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

Instance Method Details

#to_jsiiObject



23334
23335
23336
23337
23338
23339
23340
23341
# File 'quick_sight/cfn_template.rb', line 23334

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