Class: AWSCDK::QuickSight::CfnDashboard::FilledMapConfigurationProperty

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

Overview

The configuration for a FilledMapVisual .

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, sort_configuration: nil, tooltip: nil, window_options: nil) ⇒ FilledMapConfigurationProperty

Returns a new instance of FilledMapConfigurationProperty.

Parameters:



10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
# File 'quick_sight/cfn_dashboard.rb', line 10172

def initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, sort_configuration: nil, tooltip: nil, window_options: nil)
  @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FilledMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells
  Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWxsZWRNYXBGaWVsZFdlbGxzUHJvcGVydHkifV19fQ==")), "fieldWells") unless @field_wells.nil?
  @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions
  Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxJbnRlcmFjdGlvbk9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "interactions") unless @interactions.nil?
  @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend
  Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5MZWdlbmRPcHRpb25zUHJvcGVydHkifV19fQ==")), "legend") unless @legend.nil?
  @map_style_options = map_style_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialMapStyleOptionsProperty.new(**map_style_options.transform_keys(&:to_sym)) : map_style_options
  Jsii::Type.check_type(@map_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsTWFwU3R5bGVPcHRpb25zUHJvcGVydHkifV19fQ==")), "mapStyleOptions") unless @map_style_options.nil?
  @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FilledMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration
  Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWxsZWRNYXBTb3J0Q29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "sortConfiguration") unless @sort_configuration.nil?
  @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip
  Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Ub29sdGlwT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "tooltip") unless @tooltip.nil?
  @window_options = window_options.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialWindowOptionsProperty.new(**window_options.transform_keys(&:to_sym)) : window_options
  Jsii::Type.check_type(@window_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsV2luZG93T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "windowOptions") unless @window_options.nil?
end

Instance Attribute Details

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

The field wells of the visual.



10193
10194
10195
# File 'quick_sight/cfn_dashboard.rb', line 10193

def field_wells
  @field_wells
end

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

The general visual interactions setup for a visual.



10198
10199
10200
# File 'quick_sight/cfn_dashboard.rb', line 10198

def interactions
  @interactions
end

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

The legend display setup of the visual.



10203
10204
10205
# File 'quick_sight/cfn_dashboard.rb', line 10203

def legend
  @legend
end

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

The map style options of the filled map visual.



10208
10209
10210
# File 'quick_sight/cfn_dashboard.rb', line 10208

def map_style_options
  @map_style_options
end

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

The sort configuration of a FilledMapVisual .



10213
10214
10215
# File 'quick_sight/cfn_dashboard.rb', line 10213

def sort_configuration
  @sort_configuration
end

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

The tooltip display setup of the visual.



10218
10219
10220
# File 'quick_sight/cfn_dashboard.rb', line 10218

def tooltip
  @tooltip
end

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

The window options of the filled map visual.



10223
10224
10225
# File 'quick_sight/cfn_dashboard.rb', line 10223

def window_options
  @window_options
end

Class Method Details

.jsii_propertiesObject



10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
# File 'quick_sight/cfn_dashboard.rb', line 10225

def self.jsii_properties
  {
    :field_wells => "fieldWells",
    :interactions => "interactions",
    :legend => "legend",
    :map_style_options => "mapStyleOptions",
    :sort_configuration => "sortConfiguration",
    :tooltip => "tooltip",
    :window_options => "windowOptions",
  }
end

Instance Method Details

#to_jsiiObject



10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
# File 'quick_sight/cfn_dashboard.rb', line 10237

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