Class: AWSCDK::QuickSight::CfnDashboard::GeospatialLayerDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialLayerDefinitionProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The definition properties for a geospatial layer.
Instance Attribute Summary collapse
-
#line_layer ⇒ AWSCDK::IResolvable, ...
readonly
The definition for a line layer.
-
#point_layer ⇒ AWSCDK::IResolvable, ...
readonly
The definition for a point layer.
-
#polygon_layer ⇒ AWSCDK::IResolvable, ...
readonly
The definition for a polygon layer.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(line_layer: nil, point_layer: nil, polygon_layer: nil) ⇒ GeospatialLayerDefinitionProperty
constructor
A new instance of GeospatialLayerDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(line_layer: nil, point_layer: nil, polygon_layer: nil) ⇒ GeospatialLayerDefinitionProperty
Returns a new instance of GeospatialLayerDefinitionProperty.
14041 14042 14043 14044 14045 14046 14047 14048 |
# File 'quick_sight/cfn_dashboard.rb', line 14041 def initialize(line_layer: nil, point_layer: nil, polygon_layer: nil) @line_layer = line_layer.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialLineLayerProperty.new(**line_layer.transform_keys(&:to_sym)) : line_layer Jsii::Type.check_type(@line_layer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsTGluZUxheWVyUHJvcGVydHkifV19fQ==")), "lineLayer") unless @line_layer.nil? @point_layer = point_layer.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialPointLayerProperty.new(**point_layer.transform_keys(&:to_sym)) : point_layer Jsii::Type.check_type(@point_layer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsUG9pbnRMYXllclByb3BlcnR5In1dfX0=")), "pointLayer") unless @point_layer.nil? @polygon_layer = polygon_layer.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialPolygonLayerProperty.new(**polygon_layer.transform_keys(&:to_sym)) : polygon_layer Jsii::Type.check_type(@polygon_layer, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsUG9seWdvbkxheWVyUHJvcGVydHkifV19fQ==")), "polygonLayer") unless @polygon_layer.nil? end |
Instance Attribute Details
#line_layer ⇒ AWSCDK::IResolvable, ... (readonly)
The definition for a line layer.
14054 14055 14056 |
# File 'quick_sight/cfn_dashboard.rb', line 14054 def line_layer @line_layer end |
#point_layer ⇒ AWSCDK::IResolvable, ... (readonly)
The definition for a point layer.
14059 14060 14061 |
# File 'quick_sight/cfn_dashboard.rb', line 14059 def point_layer @point_layer end |
#polygon_layer ⇒ AWSCDK::IResolvable, ... (readonly)
The definition for a polygon layer.
14064 14065 14066 |
# File 'quick_sight/cfn_dashboard.rb', line 14064 def polygon_layer @polygon_layer end |
Class Method Details
.jsii_properties ⇒ Object
14066 14067 14068 14069 14070 14071 14072 |
# File 'quick_sight/cfn_dashboard.rb', line 14066 def self.jsii_properties { :line_layer => "lineLayer", :point_layer => "pointLayer", :polygon_layer => "polygonLayer", } end |
Instance Method Details
#to_jsii ⇒ Object
14074 14075 14076 14077 14078 14079 14080 14081 14082 |
# File 'quick_sight/cfn_dashboard.rb', line 14074 def to_jsii result = {} result.merge!({ "lineLayer" => @line_layer, "pointLayer" => @point_layer, "polygonLayer" => @polygon_layer, }) result.compact end |