Class: AWSCDK::QuickSight::CfnDashboard::CascadingControlSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::CascadingControlSourceProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The source controls that are used in a CascadingControlConfiguration .
Instance Attribute Summary collapse
-
#column_to_match ⇒ AWSCDK::IResolvable, ...
readonly
The column identifier that determines which column to look up for the source sheet control.
-
#source_sheet_control_id ⇒ String?
readonly
The source sheet control ID of a
CascadingControlSource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(column_to_match: nil, source_sheet_control_id: nil) ⇒ CascadingControlSourceProperty
constructor
A new instance of CascadingControlSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(column_to_match: nil, source_sheet_control_id: nil) ⇒ CascadingControlSourceProperty
Returns a new instance of CascadingControlSourceProperty.
3269 3270 3271 3272 3273 3274 |
# File 'quick_sight/cfn_dashboard.rb', line 3269 def initialize(column_to_match: nil, source_sheet_control_id: nil) @column_to_match = column_to_match.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::ColumnIdentifierProperty.new(**column_to_match.transform_keys(&:to_sym)) : column_to_match Jsii::Type.check_type(@column_to_match, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5Db2x1bW5JZGVudGlmaWVyUHJvcGVydHkifV19fQ==")), "columnToMatch") unless @column_to_match.nil? @source_sheet_control_id = source_sheet_control_id Jsii::Type.check_type(@source_sheet_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceSheetControlId") unless @source_sheet_control_id.nil? end |
Instance Attribute Details
#column_to_match ⇒ AWSCDK::IResolvable, ... (readonly)
The column identifier that determines which column to look up for the source sheet control.
3280 3281 3282 |
# File 'quick_sight/cfn_dashboard.rb', line 3280 def column_to_match @column_to_match end |
#source_sheet_control_id ⇒ String? (readonly)
The source sheet control ID of a CascadingControlSource .
3285 3286 3287 |
# File 'quick_sight/cfn_dashboard.rb', line 3285 def source_sheet_control_id @source_sheet_control_id end |
Class Method Details
.jsii_properties ⇒ Object
3287 3288 3289 3290 3291 3292 |
# File 'quick_sight/cfn_dashboard.rb', line 3287 def self.jsii_properties { :column_to_match => "columnToMatch", :source_sheet_control_id => "sourceSheetControlId", } end |
Instance Method Details
#to_jsii ⇒ Object
3294 3295 3296 3297 3298 3299 3300 3301 |
# File 'quick_sight/cfn_dashboard.rb', line 3294 def to_jsii result = {} result.merge!({ "columnToMatch" => @column_to_match, "sourceSheetControlId" => @source_sheet_control_id, }) result.compact end |