Class: AWSCDK::QuickSight::CfnAnalysis::ParameterDropDownControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ParameterDropDownControlProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A control to display a dropdown list with buttons that are used to select a single value.
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.
-
#commit_mode ⇒ String?
readonly
The visibility configuration of the Apply button on a
ParameterDropDownControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of a control.
-
#parameter_control_id ⇒ String
readonly
The ID of the
ParameterDropDownControl. -
#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
ParameterDropDownControl. -
#title ⇒ String
readonly
The title of the
ParameterDropDownControl. -
#type ⇒ String?
readonly
The type parameter name of the
ParameterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ ParameterDropDownControlProperty
constructor
A new instance of ParameterDropDownControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ ParameterDropDownControlProperty
Returns a new instance of ParameterDropDownControlProperty.
20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 |
# File 'quick_sight/cfn_analysis.rb', line 20317 def initialize(parameter_control_id:, source_parameter_name:, title:, cascading_control_configuration: nil, commit_mode: 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? @commit_mode = commit_mode Jsii::Type.check_type(@commit_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "commitMode") unless @commit_mode.nil? @display_options = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::DropDownControlDisplayOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@display_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkRyb3BEb3duQ29udHJvbERpc3BsYXlPcHRpb25zUHJvcGVydHkifV19fQ==")), "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.
20355 20356 20357 |
# File 'quick_sight/cfn_analysis.rb', line 20355 def cascading_control_configuration @cascading_control_configuration end |
#commit_mode ⇒ String? (readonly)
The visibility configuration of the Apply button on a ParameterDropDownControl .
20360 20361 20362 |
# File 'quick_sight/cfn_analysis.rb', line 20360 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of a control.
20365 20366 20367 |
# File 'quick_sight/cfn_analysis.rb', line 20365 def @display_options end |
#parameter_control_id ⇒ String (readonly)
The ID of the ParameterDropDownControl .
20340 20341 20342 |
# File 'quick_sight/cfn_analysis.rb', line 20340 def parameter_control_id @parameter_control_id end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
20370 20371 20372 |
# File 'quick_sight/cfn_analysis.rb', line 20370 def selectable_values @selectable_values end |
#source_parameter_name ⇒ String (readonly)
The source parameter name of the ParameterDropDownControl .
20345 20346 20347 |
# File 'quick_sight/cfn_analysis.rb', line 20345 def source_parameter_name @source_parameter_name end |
#title ⇒ String (readonly)
The title of the ParameterDropDownControl .
20350 20351 20352 |
# File 'quick_sight/cfn_analysis.rb', line 20350 def title @title end |
#type ⇒ String? (readonly)
The type parameter name of the ParameterDropDownControl .
20375 20376 20377 |
# File 'quick_sight/cfn_analysis.rb', line 20375 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 |
# File 'quick_sight/cfn_analysis.rb', line 20377 def self.jsii_properties { :parameter_control_id => "parameterControlId", :source_parameter_name => "sourceParameterName", :title => "title", :cascading_control_configuration => "cascadingControlConfiguration", :commit_mode => "commitMode", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 |
# File 'quick_sight/cfn_analysis.rb', line 20390 def to_jsii result = {} result.merge!({ "parameterControlId" => @parameter_control_id, "sourceParameterName" => @source_parameter_name, "title" => @title, "cascadingControlConfiguration" => @cascading_control_configuration, "commitMode" => @commit_mode, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |