Class: AWSCDK::QuickSight::CfnDashboard::GeospatialWindowOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialWindowOptionsProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The window options of the geospatial map visual.
Instance Attribute Summary collapse
-
#bounds ⇒ AWSCDK::IResolvable, ...
readonly
The bounds options (north, south, west, east) of the geospatial window options.
-
#map_zoom_mode ⇒ String?
readonly
The map zoom modes (manual, auto) of the geospatial window options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bounds: nil, map_zoom_mode: nil) ⇒ GeospatialWindowOptionsProperty
constructor
A new instance of GeospatialWindowOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bounds: nil, map_zoom_mode: nil) ⇒ GeospatialWindowOptionsProperty
Returns a new instance of GeospatialWindowOptionsProperty.
15283 15284 15285 15286 15287 15288 |
# File 'quick_sight/cfn_dashboard.rb', line 15283 def initialize(bounds: nil, map_zoom_mode: nil) @bounds = bounds.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialCoordinateBoundsProperty.new(**bounds.transform_keys(&:to_sym)) : bounds Jsii::Type.check_type(@bounds, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsQ29vcmRpbmF0ZUJvdW5kc1Byb3BlcnR5In1dfX0=")), "bounds") unless @bounds.nil? @map_zoom_mode = map_zoom_mode Jsii::Type.check_type(@map_zoom_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mapZoomMode") unless @map_zoom_mode.nil? end |
Instance Attribute Details
#bounds ⇒ AWSCDK::IResolvable, ... (readonly)
The bounds options (north, south, west, east) of the geospatial window options.
15294 15295 15296 |
# File 'quick_sight/cfn_dashboard.rb', line 15294 def bounds @bounds end |
#map_zoom_mode ⇒ String? (readonly)
The map zoom modes (manual, auto) of the geospatial window options.
15299 15300 15301 |
# File 'quick_sight/cfn_dashboard.rb', line 15299 def map_zoom_mode @map_zoom_mode end |
Class Method Details
.jsii_properties ⇒ Object
15301 15302 15303 15304 15305 15306 |
# File 'quick_sight/cfn_dashboard.rb', line 15301 def self.jsii_properties { :bounds => "bounds", :map_zoom_mode => "mapZoomMode", } end |
Instance Method Details
#to_jsii ⇒ Object
15308 15309 15310 15311 15312 15313 15314 15315 |
# File 'quick_sight/cfn_dashboard.rb', line 15308 def to_jsii result = {} result.merge!({ "bounds" => @bounds, "mapZoomMode" => @map_zoom_mode, }) result.compact end |