Class: AWSCDK::QuickSight::CfnDashboard::FilledMapShapeConditionalFormattingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::FilledMapShapeConditionalFormattingProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The conditional formatting that determines the shape of the filled map.
Instance Attribute Summary collapse
-
#field_id ⇒ String
readonly
The field ID of the filled map shape.
-
#format ⇒ AWSCDK::IResolvable, ...
readonly
The conditional formatting that determines the background color of a filled map's shape.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(field_id:, format: nil) ⇒ FilledMapShapeConditionalFormattingProperty
constructor
A new instance of FilledMapShapeConditionalFormattingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(field_id:, format: nil) ⇒ FilledMapShapeConditionalFormattingProperty
Returns a new instance of FilledMapShapeConditionalFormattingProperty.
10295 10296 10297 10298 10299 10300 |
# File 'quick_sight/cfn_dashboard.rb', line 10295 def initialize(field_id:, format: nil) @field_id = field_id Jsii::Type.check_type(@field_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fieldId") @format = format.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ShapeConditionalFormatProperty.new(**format.transform_keys(&:to_sym)) : format Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5TaGFwZUNvbmRpdGlvbmFsRm9ybWF0UHJvcGVydHkifV19fQ==")), "format") unless @format.nil? end |
Instance Attribute Details
#field_id ⇒ String (readonly)
The field ID of the filled map shape.
10306 10307 10308 |
# File 'quick_sight/cfn_dashboard.rb', line 10306 def field_id @field_id end |
#format ⇒ AWSCDK::IResolvable, ... (readonly)
The conditional formatting that determines the background color of a filled map's shape.
10311 10312 10313 |
# File 'quick_sight/cfn_dashboard.rb', line 10311 def format @format end |
Class Method Details
.jsii_properties ⇒ Object
10313 10314 10315 10316 10317 10318 |
# File 'quick_sight/cfn_dashboard.rb', line 10313 def self.jsii_properties { :field_id => "fieldId", :format => "format", } end |
Instance Method Details
#to_jsii ⇒ Object
10320 10321 10322 10323 10324 10325 10326 10327 |
# File 'quick_sight/cfn_dashboard.rb', line 10320 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, "format" => @format, }) result.compact end |