Class: AWSCDK::QuickSight::CfnTemplate::FilledMapShapeConditionalFormattingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::FilledMapShapeConditionalFormattingProperty
- Defined in:
- quick_sight/cfn_template.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.
9350 9351 9352 9353 9354 9355 |
# File 'quick_sight/cfn_template.rb', line 9350 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::CfnTemplate::ShapeConditionalFormatProperty.new(**format.transform_keys(&:to_sym)) : format Jsii::Type.check_type(@format, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlNoYXBlQ29uZGl0aW9uYWxGb3JtYXRQcm9wZXJ0eSJ9XX19")), "format") unless @format.nil? end |
Instance Attribute Details
#field_id ⇒ String (readonly)
The field ID of the filled map shape.
9361 9362 9363 |
# File 'quick_sight/cfn_template.rb', line 9361 def field_id @field_id end |
#format ⇒ AWSCDK::IResolvable, ... (readonly)
The conditional formatting that determines the background color of a filled map's shape.
9366 9367 9368 |
# File 'quick_sight/cfn_template.rb', line 9366 def format @format end |
Class Method Details
.jsii_properties ⇒ Object
9368 9369 9370 9371 9372 9373 |
# File 'quick_sight/cfn_template.rb', line 9368 def self.jsii_properties { :field_id => "fieldId", :format => "format", } end |
Instance Method Details
#to_jsii ⇒ Object
9375 9376 9377 9378 9379 9380 9381 9382 |
# File 'quick_sight/cfn_template.rb', line 9375 def to_jsii result = {} result.merge!({ "fieldId" => @field_id, "format" => @format, }) result.compact end |