Class: AWSCDK::QuickSight::CfnDashboard::GeospatialMapStyleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::GeospatialMapStyleProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The map style properties for a map.
Instance Attribute Summary collapse
-
#background_color ⇒ String?
readonly
The background color and opacity values for a map.
-
#base_map_style ⇒ String?
readonly
The selected base map style.
-
#base_map_visibility ⇒ String?
readonly
The state of visibility for the base map.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(background_color: nil, base_map_style: nil, base_map_visibility: nil) ⇒ GeospatialMapStyleProperty
constructor
A new instance of GeospatialMapStyleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(background_color: nil, base_map_style: nil, base_map_visibility: nil) ⇒ GeospatialMapStyleProperty
Returns a new instance of GeospatialMapStyleProperty.
14734 14735 14736 14737 14738 14739 14740 14741 |
# File 'quick_sight/cfn_dashboard.rb', line 14734 def initialize(background_color: nil, base_map_style: nil, base_map_visibility: nil) @background_color = background_color Jsii::Type.check_type(@background_color, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "backgroundColor") unless @background_color.nil? @base_map_style = base_map_style Jsii::Type.check_type(@base_map_style, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "baseMapStyle") unless @base_map_style.nil? @base_map_visibility = base_map_visibility Jsii::Type.check_type(@base_map_visibility, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "baseMapVisibility") unless @base_map_visibility.nil? end |
Instance Attribute Details
#background_color ⇒ String? (readonly)
The background color and opacity values for a map.
14747 14748 14749 |
# File 'quick_sight/cfn_dashboard.rb', line 14747 def background_color @background_color end |
#base_map_style ⇒ String? (readonly)
The selected base map style.
14752 14753 14754 |
# File 'quick_sight/cfn_dashboard.rb', line 14752 def base_map_style @base_map_style end |
#base_map_visibility ⇒ String? (readonly)
The state of visibility for the base map.
14757 14758 14759 |
# File 'quick_sight/cfn_dashboard.rb', line 14757 def base_map_visibility @base_map_visibility end |
Class Method Details
.jsii_properties ⇒ Object
14759 14760 14761 14762 14763 14764 14765 |
# File 'quick_sight/cfn_dashboard.rb', line 14759 def self.jsii_properties { :background_color => "backgroundColor", :base_map_style => "baseMapStyle", :base_map_visibility => "baseMapVisibility", } end |
Instance Method Details
#to_jsii ⇒ Object
14767 14768 14769 14770 14771 14772 14773 14774 14775 |
# File 'quick_sight/cfn_dashboard.rb', line 14767 def to_jsii result = {} result.merge!({ "backgroundColor" => @background_color, "baseMapStyle" => @base_map_style, "baseMapVisibility" => @base_map_visibility, }) result.compact end |