Class: AWSCDK::QuickSight::CfnDashboard::GeospatialPolygonLayerProperty

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

Overview

The geospatial polygon layer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(style:) ⇒ GeospatialPolygonLayerProperty

Returns a new instance of GeospatialPolygonLayerProperty.

Parameters:



15087
15088
15089
15090
# File 'quick_sight/cfn_dashboard.rb', line 15087

def initialize(style:)
  @style = style.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialPolygonStyleProperty.new(**style.transform_keys(&:to_sym)) : style
  Jsii::Type.check_type(@style, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsUG9seWdvblN0eWxlUHJvcGVydHkifV19fQ==")), "style")
end

Class Method Details

.jsii_propertiesObject



15098
15099
15100
15101
15102
# File 'quick_sight/cfn_dashboard.rb', line 15098

def self.jsii_properties
  {
    :style => "style",
  }
end

Instance Method Details

#to_jsiiObject



15104
15105
15106
15107
15108
15109
15110
# File 'quick_sight/cfn_dashboard.rb', line 15104

def to_jsii
  result = {}
  result.merge!({
    "style" => @style,
  })
  result.compact
end