Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialMapConfigurationProperty

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

Overview

The configuration of a GeospatialMapVisual .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, point_style_options: nil, tooltip: nil, visual_palette: nil, window_options: nil) ⇒ GeospatialMapConfigurationProperty

Returns a new instance of GeospatialMapConfigurationProperty.

Parameters:



13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
# File 'quick_sight/cfn_analysis.rb', line 13746

def initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, point_style_options: nil, tooltip: nil, visual_palette: nil, window_options: nil)
  @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells
  Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxNYXBGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil?
  @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions
  Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil?
  @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend
  Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxlZ2VuZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "legend") unless @legend.nil?
  @map_style_options = map_style_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialMapStyleOptionsProperty.new(**map_style_options.transform_keys(&:to_sym)) : map_style_options
  Jsii::Type.check_type(@map_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxNYXBTdHlsZU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "mapStyleOptions") unless @map_style_options.nil?
  @point_style_options = point_style_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialPointStyleOptionsProperty.new(**point_style_options.transform_keys(&:to_sym)) : point_style_options
  Jsii::Type.check_type(@point_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxQb2ludFN0eWxlT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "pointStyleOptions") unless @point_style_options.nil?
  @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip
  Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRvb2x0aXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "tooltip") unless @tooltip.nil?
  @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette
  Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlZpc3VhbFBhbGV0dGVQcm9wZXJ0eSJ9XX19")), "visualPalette") unless @visual_palette.nil?
  @window_options = window_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialWindowOptionsProperty.new(**window_options.transform_keys(&:to_sym)) : window_options
  Jsii::Type.check_type(@window_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxXaW5kb3dPcHRpb25zUHJvcGVydHkifV19fQ==")), "windowOptions") unless @window_options.nil?
end

Instance Attribute Details

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

The field wells of the visual.



13769
13770
13771
# File 'quick_sight/cfn_analysis.rb', line 13769

def field_wells
  @field_wells
end

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

The general visual interactions setup for a visual.



13774
13775
13776
# File 'quick_sight/cfn_analysis.rb', line 13774

def interactions
  @interactions
end

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

The legend display setup of the visual.



13779
13780
13781
# File 'quick_sight/cfn_analysis.rb', line 13779

def legend
  @legend
end

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

The map style options of the geospatial map.



13784
13785
13786
# File 'quick_sight/cfn_analysis.rb', line 13784

def map_style_options
  @map_style_options
end

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

The point style options of the geospatial map.



13789
13790
13791
# File 'quick_sight/cfn_analysis.rb', line 13789

def point_style_options
  @point_style_options
end

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

The tooltip display setup of the visual.



13794
13795
13796
# File 'quick_sight/cfn_analysis.rb', line 13794

def tooltip
  @tooltip
end

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

The window options of the geospatial map.



13802
13803
13804
# File 'quick_sight/cfn_analysis.rb', line 13802

def window_options
  @window_options
end

Class Method Details

.jsii_propertiesObject



13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
# File 'quick_sight/cfn_analysis.rb', line 13804

def self.jsii_properties
  {
    :field_wells => "fieldWells",
    :interactions => "interactions",
    :legend => "legend",
    :map_style_options => "mapStyleOptions",
    :point_style_options => "pointStyleOptions",
    :tooltip => "tooltip",
    :visual_palette => "visualPalette",
    :window_options => "windowOptions",
  }
end

Instance Method Details

#to_jsiiObject



13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
# File 'quick_sight/cfn_analysis.rb', line 13817

def to_jsii
  result = {}
  result.merge!({
    "fieldWells" => @field_wells,
    "interactions" => @interactions,
    "legend" => @legend,
    "mapStyleOptions" => @map_style_options,
    "pointStyleOptions" => @point_style_options,
    "tooltip" => @tooltip,
    "visualPalette" => @visual_palette,
    "windowOptions" => @window_options,
  })
  result.compact
end