Class: AWSCDK::QuickSight::CfnDashboard::GeospatialCoordinateBoundsProperty

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

Overview

The bound options (north, south, west, east) of the geospatial window options.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(east:, north:, south:, west:) ⇒ GeospatialCoordinateBoundsProperty

Returns a new instance of GeospatialCoordinateBoundsProperty.

Parameters:

  • east (Numeric)

    The longitude of the east bound of the geospatial coordinate bounds.

  • north (Numeric)

    The latitude of the north bound of the geospatial coordinate bounds.

  • south (Numeric)

    The latitude of the south bound of the geospatial coordinate bounds.

  • west (Numeric)

    The longitude of the west bound of the geospatial coordinate bounds.



13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
# File 'quick_sight/cfn_dashboard.rb', line 13697

def initialize(east:, north:, south:, west:)
  @east = east
  Jsii::Type.check_type(@east, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "east")
  @north = north
  Jsii::Type.check_type(@north, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "north")
  @south = south
  Jsii::Type.check_type(@south, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "south")
  @west = west
  Jsii::Type.check_type(@west, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "west")
end

Instance Attribute Details

#eastNumeric (readonly)

The longitude of the east bound of the geospatial coordinate bounds.



13712
13713
13714
# File 'quick_sight/cfn_dashboard.rb', line 13712

def east
  @east
end

#northNumeric (readonly)

The latitude of the north bound of the geospatial coordinate bounds.



13717
13718
13719
# File 'quick_sight/cfn_dashboard.rb', line 13717

def north
  @north
end

#southNumeric (readonly)

The latitude of the south bound of the geospatial coordinate bounds.



13722
13723
13724
# File 'quick_sight/cfn_dashboard.rb', line 13722

def south
  @south
end

#westNumeric (readonly)

The longitude of the west bound of the geospatial coordinate bounds.



13727
13728
13729
# File 'quick_sight/cfn_dashboard.rb', line 13727

def west
  @west
end

Class Method Details

.jsii_propertiesObject



13729
13730
13731
13732
13733
13734
13735
13736
# File 'quick_sight/cfn_dashboard.rb', line 13729

def self.jsii_properties
  {
    :east => "east",
    :north => "north",
    :south => "south",
    :west => "west",
  }
end

Instance Method Details

#to_jsiiObject



13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
# File 'quick_sight/cfn_dashboard.rb', line 13738

def to_jsii
  result = {}
  result.merge!({
    "east" => @east,
    "north" => @north,
    "south" => @south,
    "west" => @west,
  })
  result.compact
end