Class: AWSCDK::QuickSight::CfnDashboard::GeospatialMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialMapConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The configuration of a GeospatialMapVisual .
Instance Attribute Summary collapse
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field wells of the visual.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#legend ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#map_style_options ⇒ AWSCDK::IResolvable, ...
readonly
The map style options of the geospatial map.
-
#point_style_options ⇒ AWSCDK::IResolvable, ...
readonly
The point style options of the geospatial map.
-
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip display setup of the visual.
- #visual_palette ⇒ AWSCDK::IResolvable, ... readonly
-
#window_options ⇒ AWSCDK::IResolvable, ...
readonly
The window options of the geospatial map.
Class Method Summary collapse
Instance Method Summary collapse
-
#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
constructor
A new instance of GeospatialMapConfigurationProperty.
- #to_jsii ⇒ Object
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.
14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 |
# File 'quick_sight/cfn_dashboard.rb', line 14529 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::CfnDashboard::GeospatialMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsTWFwRmllbGRXZWxsc1Byb3BlcnR5In1dfX0=")), "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 = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialMapStyleOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@map_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsTWFwU3R5bGVPcHRpb25zUHJvcGVydHkifV19fQ==")), "mapStyleOptions") unless @map_style_options.nil? @point_style_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialPointStyleOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@point_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsUG9pbnRTdHlsZU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "pointStyleOptions") unless @point_style_options.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? @visual_palette = visual_palette.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::VisualPaletteProperty.new(**visual_palette.transform_keys(&:to_sym)) : visual_palette Jsii::Type.check_type(@visual_palette, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5WaXN1YWxQYWxldHRlUHJvcGVydHkifV19fQ==")), "visualPalette") unless @visual_palette.nil? @window_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialWindowOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@window_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsV2luZG93T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "windowOptions") unless @window_options.nil? end |
Instance Attribute Details
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
14552 14553 14554 |
# File 'quick_sight/cfn_dashboard.rb', line 14552 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
14557 14558 14559 |
# File 'quick_sight/cfn_dashboard.rb', line 14557 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
14562 14563 14564 |
# File 'quick_sight/cfn_dashboard.rb', line 14562 def legend @legend end |
#map_style_options ⇒ AWSCDK::IResolvable, ... (readonly)
The map style options of the geospatial map.
14567 14568 14569 |
# File 'quick_sight/cfn_dashboard.rb', line 14567 def @map_style_options end |
#point_style_options ⇒ AWSCDK::IResolvable, ... (readonly)
The point style options of the geospatial map.
14572 14573 14574 |
# File 'quick_sight/cfn_dashboard.rb', line 14572 def @point_style_options end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
14577 14578 14579 |
# File 'quick_sight/cfn_dashboard.rb', line 14577 def tooltip @tooltip end |
#visual_palette ⇒ AWSCDK::IResolvable, ... (readonly)
14580 14581 14582 |
# File 'quick_sight/cfn_dashboard.rb', line 14580 def visual_palette @visual_palette end |
#window_options ⇒ AWSCDK::IResolvable, ... (readonly)
The window options of the geospatial map.
14585 14586 14587 |
# File 'quick_sight/cfn_dashboard.rb', line 14585 def @window_options end |
Class Method Details
.jsii_properties ⇒ Object
14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 |
# File 'quick_sight/cfn_dashboard.rb', line 14587 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_jsii ⇒ Object
14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 |
# File 'quick_sight/cfn_dashboard.rb', line 14600 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 |