Class: AWSCDK::QuickSight::CfnTemplate::GeospatialPointStyleOptionsProperty

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



12941
12942
12943
12944
12945
12946
12947
12948
# File 'quick_sight/cfn_template.rb', line 12941

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



12954
12955
12956
# File 'quick_sight/cfn_template.rb', line 12954

def cluster_marker_configuration
  @cluster_marker_configuration
end

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

The heatmap configuration of the geospatial point style.



12959
12960
12961
# File 'quick_sight/cfn_template.rb', line 12959

def heatmap_configuration
  @heatmap_configuration
end

#selected_point_styleString? (readonly)

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



12964
12965
12966
# File 'quick_sight/cfn_template.rb', line 12964

def selected_point_style
  @selected_point_style
end

Class Method Details

.jsii_propertiesObject



12966
12967
12968
12969
12970
12971
12972
# File 'quick_sight/cfn_template.rb', line 12966

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

Instance Method Details

#to_jsiiObject



12974
12975
12976
12977
12978
12979
12980
12981
12982
# File 'quick_sight/cfn_template.rb', line 12974

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