Class: AWSCDK::QuickSight::CfnAnalysis::GeospatialPointStyleOptionsProperty

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



14220
14221
14222
14223
14224
14225
14226
14227
# File 'quick_sight/cfn_analysis.rb', line 14220

def initialize(cluster_marker_configuration: nil, heatmap_configuration: nil, selected_point_style: nil)
  @cluster_marker_configuration = cluster_marker_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ClusterMarkerConfigurationProperty.new(**cluster_marker_configuration.transform_keys(&:to_sym)) : cluster_marker_configuration
  Jsii::Type.check_type(@cluster_marker_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNsdXN0ZXJNYXJrZXJDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "clusterMarkerConfiguration") unless @cluster_marker_configuration.nil?
  @heatmap_configuration = heatmap_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::GeospatialHeatmapConfigurationProperty.new(**heatmap_configuration.transform_keys(&:to_sym)) : heatmap_configuration
  Jsii::Type.check_type(@heatmap_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkdlb3NwYXRpYWxIZWF0bWFwQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "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.



14233
14234
14235
# File 'quick_sight/cfn_analysis.rb', line 14233

def cluster_marker_configuration
  @cluster_marker_configuration
end

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

The heatmap configuration of the geospatial point style.



14238
14239
14240
# File 'quick_sight/cfn_analysis.rb', line 14238

def heatmap_configuration
  @heatmap_configuration
end

#selected_point_styleString? (readonly)

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



14243
14244
14245
# File 'quick_sight/cfn_analysis.rb', line 14243

def selected_point_style
  @selected_point_style
end

Class Method Details

.jsii_propertiesObject



14245
14246
14247
14248
14249
14250
14251
# File 'quick_sight/cfn_analysis.rb', line 14245

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

Instance Method Details

#to_jsiiObject



14253
14254
14255
14256
14257
14258
14259
14260
14261
# File 'quick_sight/cfn_analysis.rb', line 14253

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