Class: AWSCDK::QuickSight::CfnTemplate::CascadingControlSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::CascadingControlSourceProperty
- Defined in:
- quick_sight/cfn_template.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.
3125 3126 3127 3128 3129 3130 |
# File 'quick_sight/cfn_template.rb', line 3125 def initialize(column_to_match: nil, source_sheet_control_id: nil) @column_to_match = column_to_match.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::ColumnIdentifierProperty.new(**column_to_match.transform_keys(&:to_sym)) : column_to_match Jsii::Type.check_type(@column_to_match, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "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.
3136 3137 3138 |
# File 'quick_sight/cfn_template.rb', line 3136 def column_to_match @column_to_match end |
#source_sheet_control_id ⇒ String? (readonly)
The source sheet control ID of a CascadingControlSource .
3141 3142 3143 |
# File 'quick_sight/cfn_template.rb', line 3141 def source_sheet_control_id @source_sheet_control_id end |
Class Method Details
.jsii_properties ⇒ Object
3143 3144 3145 3146 3147 3148 |
# File 'quick_sight/cfn_template.rb', line 3143 def self.jsii_properties { :column_to_match => "columnToMatch", :source_sheet_control_id => "sourceSheetControlId", } end |
Instance Method Details
#to_jsii ⇒ Object
3150 3151 3152 3153 3154 3155 3156 3157 |
# File 'quick_sight/cfn_template.rb', line 3150 def to_jsii result = {} result.merge!({ "columnToMatch" => @column_to_match, "sourceSheetControlId" => @source_sheet_control_id, }) result.compact end |