Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialWindowOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::GeospatialWindowOptionsProperty
- Defined in:
- quick_sight/cfn_analysis.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.
14500 14501 14502 14503 14504 14505 |
# File 'quick_sight/cfn_analysis.rb', line 14500 def initialize(bounds: nil, map_zoom_mode: nil) @bounds = bounds.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialCoordinateBoundsProperty.new(**bounds.transform_keys(&:to_sym)) : bounds Jsii::Type.check_type(@bounds, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxDb29yZGluYXRlQm91bmRzUHJvcGVydHkifV19fQ==")), "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.
14511 14512 14513 |
# File 'quick_sight/cfn_analysis.rb', line 14511 def bounds @bounds end |
#map_zoom_mode ⇒ String? (readonly)
The map zoom modes (manual, auto) of the geospatial window options.
14516 14517 14518 |
# File 'quick_sight/cfn_analysis.rb', line 14516 def map_zoom_mode @map_zoom_mode end |
Class Method Details
.jsii_properties ⇒ Object
14518 14519 14520 14521 14522 14523 |
# File 'quick_sight/cfn_analysis.rb', line 14518 def self.jsii_properties { :bounds => "bounds", :map_zoom_mode => "mapZoomMode", } end |
Instance Method Details
#to_jsii ⇒ Object
14525 14526 14527 14528 14529 14530 14531 14532 |
# File 'quick_sight/cfn_analysis.rb', line 14525 def to_jsii result = {} result.merge!({ "bounds" => @bounds, "mapZoomMode" => @map_zoom_mode, }) result.compact end |