Class: AWSCDK::QuickSight::CfnTemplate::GeospatialCoordinateBoundsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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.



12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
# File 'quick_sight/cfn_template.rb', line 12467

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.



12482
12483
12484
# File 'quick_sight/cfn_template.rb', line 12482

def east
  @east
end

#northNumeric (readonly)

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



12487
12488
12489
# File 'quick_sight/cfn_template.rb', line 12487

def north
  @north
end

#southNumeric (readonly)

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



12492
12493
12494
# File 'quick_sight/cfn_template.rb', line 12492

def south
  @south
end

#westNumeric (readonly)

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



12497
12498
12499
# File 'quick_sight/cfn_template.rb', line 12497

def west
  @west
end

Class Method Details

.jsii_propertiesObject



12499
12500
12501
12502
12503
12504
12505
12506
# File 'quick_sight/cfn_template.rb', line 12499

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

Instance Method Details

#to_jsiiObject



12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
# File 'quick_sight/cfn_template.rb', line 12508

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