Class: AWSCDK::QuickSight::CfnAnalysis::CascadingControlSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The source controls that are used in a CascadingControlConfiguration .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(column_to_match: nil, source_sheet_control_id: nil) ⇒ CascadingControlSourceProperty

Returns a new instance of CascadingControlSourceProperty.

Parameters:



3403
3404
3405
3406
3407
3408
# File 'quick_sight/cfn_analysis.rb', line 3403

def initialize(column_to_match: nil, source_sheet_control_id: nil)
  @column_to_match = column_to_match.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ColumnIdentifierProperty.new(**column_to_match.transform_keys(&:to_sym)) : column_to_match
  Jsii::Type.check_type(@column_to_match, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNvbHVtbklkZW50aWZpZXJQcm9wZXJ0eSJ9XX19")), "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_matchAWSCDK::IResolvable, ... (readonly)

The column identifier that determines which column to look up for the source sheet control.



3414
3415
3416
# File 'quick_sight/cfn_analysis.rb', line 3414

def column_to_match
  @column_to_match
end

#source_sheet_control_idString? (readonly)

The source sheet control ID of a CascadingControlSource .



3419
3420
3421
# File 'quick_sight/cfn_analysis.rb', line 3419

def source_sheet_control_id
  @source_sheet_control_id
end

Class Method Details

.jsii_propertiesObject



3421
3422
3423
3424
3425
3426
# File 'quick_sight/cfn_analysis.rb', line 3421

def self.jsii_properties
  {
    :column_to_match => "columnToMatch",
    :source_sheet_control_id => "sourceSheetControlId",
  }
end

Instance Method Details

#to_jsiiObject



3428
3429
3430
3431
3432
3433
3434
3435
# File 'quick_sight/cfn_analysis.rb', line 3428

def to_jsii
  result = {}
  result.merge!({
    "columnToMatch" => @column_to_match,
    "sourceSheetControlId" => @source_sheet_control_id,
  })
  result.compact
end