Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialWindowOptionsProperty

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

Overview

The window options of the geospatial map visual.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bounds: nil, map_zoom_mode: nil) ⇒ GeospatialWindowOptionsProperty

Returns a new instance of GeospatialWindowOptionsProperty.

Parameters:



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

#boundsAWSCDK::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_modeString? (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_propertiesObject



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_jsiiObject



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