Class: AWSCDK::QuickSight::CfnAnalysis::ParameterListControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ParameterListControlProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A control to display a list with buttons or boxes that are used to select either a single value or multiple values.
Instance Attribute Summary collapse
-
#cascading_control_configuration ⇒ AWSCDK::IResolvable, ...
readonly
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
-
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#parameter_control_id ⇒ String
readonly
The ID of the
ParameterListControl. -
#selectable_values ⇒ AWSCDK::IResolvable, ...
readonly
A list of selectable values that are used in a control.
-
#source_parameter_name ⇒ String
readonly
The source parameter name of the
ParameterListControl. -
#title ⇒ String
readonly
The title of the
ParameterListControl. -
#type ⇒ String?
readonly
The type of
ParameterListControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ ParameterListControlProperty
constructor
A new instance of ParameterListControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ ParameterListControlProperty
Returns a new instance of ParameterListControlProperty.
20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 |
# File 'quick_sight/cfn_analysis.rb', line 20419 def initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, display_options: nil, selectable_values: nil, type: nil) @parameter_control_id = parameter_control_id Jsii::Type.check_type(@parameter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "parameterControlId") @source_parameter_name = source_parameter_name Jsii::Type.check_type(@source_parameter_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceParameterName") @title = title Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "title") @cascading_control_configuration = cascading_control_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::CascadingControlConfigurationProperty.new(**cascading_control_configuration.transform_keys(&:to_sym)) : cascading_control_configuration Jsii::Type.check_type(@cascading_control_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkNhc2NhZGluZ0NvbnRyb2xDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "cascadingControlConfiguration") unless @cascading_control_configuration.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ListControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkxpc3RDb250cm9sRGlzcGxheU9wdGlvbnNQcm9wZXJ0eSJ9XX19")), "displayOptions") unless @display_options.nil? @selectable_values = selectable_values.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::ParameterSelectableValuesProperty.new(**selectable_values.transform_keys(&:to_sym)) : selectable_values Jsii::Type.check_type(@selectable_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlBhcmFtZXRlclNlbGVjdGFibGVWYWx1ZXNQcm9wZXJ0eSJ9XX19")), "selectableValues") unless @selectable_values.nil? @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") unless @type.nil? end |
Instance Attribute Details
#cascading_control_configuration ⇒ AWSCDK::IResolvable, ... (readonly)
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
20455 20456 20457 |
# File 'quick_sight/cfn_analysis.rb', line 20455 def cascading_control_configuration @cascading_control_configuration end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
20460 20461 20462 |
# File 'quick_sight/cfn_analysis.rb', line 20460 def @display_options end |
#parameter_control_id ⇒ String (readonly)
The ID of the ParameterListControl .
20440 20441 20442 |
# File 'quick_sight/cfn_analysis.rb', line 20440 def parameter_control_id @parameter_control_id end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
20465 20466 20467 |
# File 'quick_sight/cfn_analysis.rb', line 20465 def selectable_values @selectable_values end |
#source_parameter_name ⇒ String (readonly)
The source parameter name of the ParameterListControl .
20445 20446 20447 |
# File 'quick_sight/cfn_analysis.rb', line 20445 def source_parameter_name @source_parameter_name end |
#title ⇒ String (readonly)
The title of the ParameterListControl .
20450 20451 20452 |
# File 'quick_sight/cfn_analysis.rb', line 20450 def title @title end |
#type ⇒ String? (readonly)
The type of ParameterListControl .
20470 20471 20472 |
# File 'quick_sight/cfn_analysis.rb', line 20470 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 |
# File 'quick_sight/cfn_analysis.rb', line 20472 def self.jsii_properties { :parameter_control_id => "parameterControlId", :source_parameter_name => "sourceParameterName", :title => "title", :cascading_control_configuration => "cascadingControlConfiguration", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 |
# File 'quick_sight/cfn_analysis.rb', line 20484 def to_jsii result = {} result.merge!({ "parameterControlId" => @parameter_control_id, "sourceParameterName" => @source_parameter_name, "title" => @title, "cascadingControlConfiguration" => @cascading_control_configuration, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |