Class: AWSCDK::QuickSight::CfnDashboard::GeospatialPointStyleOptionsProperty

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

Overview

The point style of the geospatial map.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cluster_marker_configuration: nil, heatmap_configuration: nil, selected_point_style: nil) ⇒ GeospatialPointStyleOptionsProperty

Returns a new instance of GeospatialPointStyleOptionsProperty.

Parameters:



15003
15004
15005
15006
15007
15008
15009
15010
# File 'quick_sight/cfn_dashboard.rb', line 15003

def initialize(cluster_marker_configuration: nil, heatmap_configuration: nil, selected_point_style: nil)
  @cluster_marker_configuration = cluster_marker_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ClusterMarkerConfigurationProperty.new(**cluster_marker_configuration.transform_keys(&:to_sym)) : cluster_marker_configuration
  Jsii::Type.check_type(@cluster_marker_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DbHVzdGVyTWFya2VyQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "clusterMarkerConfiguration") unless @cluster_marker_configuration.nil?
  @heatmap_configuration = heatmap_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::GeospatialHeatmapConfigurationProperty.new(**heatmap_configuration.transform_keys(&:to_sym)) : heatmap_configuration
  Jsii::Type.check_type(@heatmap_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5HZW9zcGF0aWFsSGVhdG1hcENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "heatmapConfiguration") unless @heatmap_configuration.nil?
  @selected_point_style = selected_point_style
  Jsii::Type.check_type(@selected_point_style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "selectedPointStyle") unless @selected_point_style.nil?
end

Instance Attribute Details

#cluster_marker_configurationAWSCDK::IResolvable, ... (readonly)

The cluster marker configuration of the geospatial point style.



15016
15017
15018
# File 'quick_sight/cfn_dashboard.rb', line 15016

def cluster_marker_configuration
  @cluster_marker_configuration
end

#heatmap_configurationAWSCDK::IResolvable, ... (readonly)

The heatmap configuration of the geospatial point style.



15021
15022
15023
# File 'quick_sight/cfn_dashboard.rb', line 15021

def heatmap_configuration
  @heatmap_configuration
end

#selected_point_styleString? (readonly)

The selected point styles (point, cluster) of the geospatial map.



15026
15027
15028
# File 'quick_sight/cfn_dashboard.rb', line 15026

def selected_point_style
  @selected_point_style
end

Class Method Details

.jsii_propertiesObject



15028
15029
15030
15031
15032
15033
15034
# File 'quick_sight/cfn_dashboard.rb', line 15028

def self.jsii_properties
  {
    :cluster_marker_configuration => "clusterMarkerConfiguration",
    :heatmap_configuration => "heatmapConfiguration",
    :selected_point_style => "selectedPointStyle",
  }
end

Instance Method Details

#to_jsiiObject



15036
15037
15038
15039
15040
15041
15042
15043
15044
# File 'quick_sight/cfn_dashboard.rb', line 15036

def to_jsii
  result = {}
  result.merge!({
    "clusterMarkerConfiguration" => @cluster_marker_configuration,
    "heatmapConfiguration" => @heatmap_configuration,
    "selectedPointStyle" => @selected_point_style,
  })
  result.compact
end