Class: AWSCDK::QuickSight::CfnTemplate::FilledMapConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FilledMapConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The configuration for a FilledMapVisual .
Instance Attribute Summary collapse
-
#field_wells ⇒ AWSCDK::IResolvable, ...
readonly
The field wells of the visual.
-
#interactions ⇒ AWSCDK::IResolvable, ...
readonly
The general visual interactions setup for a visual.
-
#legend ⇒ AWSCDK::IResolvable, ...
readonly
The legend display setup of the visual.
-
#map_style_options ⇒ AWSCDK::IResolvable, ...
readonly
The map style options of the filled map visual.
-
#sort_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The sort configuration of a
FilledMapVisual. -
#tooltip ⇒ AWSCDK::IResolvable, ...
readonly
The tooltip display setup of the visual.
-
#window_options ⇒ AWSCDK::IResolvable, ...
readonly
The window options of the filled map visual.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, sort_configuration: nil, tooltip: nil, window_options: nil) ⇒ FilledMapConfigurationProperty
constructor
A new instance of FilledMapConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, sort_configuration: nil, tooltip: nil, window_options: nil) ⇒ FilledMapConfigurationProperty
Returns a new instance of FilledMapConfigurationProperty.
9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 |
# File 'quick_sight/cfn_template.rb', line 9227 def initialize(field_wells: nil, interactions: nil, legend: nil, map_style_options: nil, sort_configuration: nil, tooltip: nil, window_options: nil) @field_wells = field_wells.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FilledMapFieldWellsProperty.new(**field_wells.transform_keys(&:to_sym)) : field_wells Jsii::Type.check_type(@field_wells, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZpbGxlZE1hcEZpZWxkV2VsbHNQcm9wZXJ0eSJ9XX19")), "fieldWells") unless @field_wells.nil? @interactions = interactions.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::VisualInteractionOptionsProperty.new(**interactions.transform_keys(&:to_sym)) : interactions Jsii::Type.check_type(@interactions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlZpc3VhbEludGVyYWN0aW9uT3B0aW9uc1Byb3BlcnR5In1dfX0=")), "interactions") unless @interactions.nil? @legend = legend.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::LegendOptionsProperty.new(**legend.transform_keys(&:to_sym)) : legend Jsii::Type.check_type(@legend, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkxlZ2VuZE9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "legend") unless @legend.nil? @map_style_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::GeospatialMapStyleOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@map_style_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkdlb3NwYXRpYWxNYXBTdHlsZU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "mapStyleOptions") unless @map_style_options.nil? @sort_configuration = sort_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FilledMapSortConfigurationProperty.new(**sort_configuration.transform_keys(&:to_sym)) : sort_configuration Jsii::Type.check_type(@sort_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZpbGxlZE1hcFNvcnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "sortConfiguration") unless @sort_configuration.nil? @tooltip = tooltip.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TooltipOptionsProperty.new(**tooltip.transform_keys(&:to_sym)) : tooltip Jsii::Type.check_type(@tooltip, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRvb2x0aXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "tooltip") unless @tooltip.nil? @window_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::GeospatialWindowOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@window_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkdlb3NwYXRpYWxXaW5kb3dPcHRpb25zUHJvcGVydHkifV19fQ==")), "windowOptions") unless @window_options.nil? end |
Instance Attribute Details
#field_wells ⇒ AWSCDK::IResolvable, ... (readonly)
The field wells of the visual.
9248 9249 9250 |
# File 'quick_sight/cfn_template.rb', line 9248 def field_wells @field_wells end |
#interactions ⇒ AWSCDK::IResolvable, ... (readonly)
The general visual interactions setup for a visual.
9253 9254 9255 |
# File 'quick_sight/cfn_template.rb', line 9253 def interactions @interactions end |
#legend ⇒ AWSCDK::IResolvable, ... (readonly)
The legend display setup of the visual.
9258 9259 9260 |
# File 'quick_sight/cfn_template.rb', line 9258 def legend @legend end |
#map_style_options ⇒ AWSCDK::IResolvable, ... (readonly)
The map style options of the filled map visual.
9263 9264 9265 |
# File 'quick_sight/cfn_template.rb', line 9263 def @map_style_options end |
#sort_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The sort configuration of a FilledMapVisual .
9268 9269 9270 |
# File 'quick_sight/cfn_template.rb', line 9268 def sort_configuration @sort_configuration end |
#tooltip ⇒ AWSCDK::IResolvable, ... (readonly)
The tooltip display setup of the visual.
9273 9274 9275 |
# File 'quick_sight/cfn_template.rb', line 9273 def tooltip @tooltip end |
#window_options ⇒ AWSCDK::IResolvable, ... (readonly)
The window options of the filled map visual.
9278 9279 9280 |
# File 'quick_sight/cfn_template.rb', line 9278 def @window_options end |
Class Method Details
.jsii_properties ⇒ Object
9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 |
# File 'quick_sight/cfn_template.rb', line 9280 def self.jsii_properties { :field_wells => "fieldWells", :interactions => "interactions", :legend => "legend", :map_style_options => "mapStyleOptions", :sort_configuration => "sortConfiguration", :tooltip => "tooltip", :window_options => "windowOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 |
# File 'quick_sight/cfn_template.rb', line 9292 def to_jsii result = {} result.merge!({ "fieldWells" => @field_wells, "interactions" => @interactions, "legend" => @legend, "mapStyleOptions" => @map_style_options, "sortConfiguration" => @sort_configuration, "tooltip" => @tooltip, "windowOptions" => @window_options, }) result.compact end |