Class: AWSCDK::QuickSight::CfnAnalysis::FilterDropDownControlProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::FilterDropDownControlProperty
- 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
FilterDropDownControl. -
#display_options ⇒ AWSCDK::IResolvable, ...
readonly
The display options of the
FilterDropDownControl. -
#filter_control_id ⇒ String
readonly
The ID of the
FilterDropDownControl. -
#selectable_values ⇒ AWSCDK::IResolvable, ...
readonly
A list of selectable values that are used in a control.
-
#source_filter_id ⇒ String
readonly
The source filter ID of the
FilterDropDownControl. -
#title ⇒ String
readonly
The title of the
FilterDropDownControl. -
#type ⇒ String?
readonly
The type of the
FilterDropDownControl.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(filter_control_id:, source_filter_id:, title:, cascading_control_configuration: nil, commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ FilterDropDownControlProperty
constructor
A new instance of FilterDropDownControlProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(filter_control_id:, source_filter_id:, title:, cascading_control_configuration: nil, commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) ⇒ FilterDropDownControlProperty
Returns a new instance of FilterDropDownControlProperty.
9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 |
# File 'quick_sight/cfn_analysis.rb', line 9983 def initialize(filter_control_id:, source_filter_id:, title:, cascading_control_configuration: nil, commit_mode: nil, display_options: nil, selectable_values: nil, type: nil) @filter_control_id = filter_control_id Jsii::Type.check_type(@filter_control_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "filterControlId") @source_filter_id = source_filter_id Jsii::Type.check_type(@source_filter_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceFilterId") @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::FilterSelectableValuesProperty.new(**selectable_values.transform_keys(&:to_sym)) : selectable_values Jsii::Type.check_type(@selectable_values, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkZpbHRlclNlbGVjdGFibGVWYWx1ZXNQcm9wZXJ0eSJ9XX19")), "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.
10021 10022 10023 |
# File 'quick_sight/cfn_analysis.rb', line 10021 def cascading_control_configuration @cascading_control_configuration end |
#commit_mode ⇒ String? (readonly)
The visibility configuration of the Apply button on a FilterDropDownControl .
10026 10027 10028 |
# File 'quick_sight/cfn_analysis.rb', line 10026 def commit_mode @commit_mode end |
#display_options ⇒ AWSCDK::IResolvable, ... (readonly)
The display options of the FilterDropDownControl .
10031 10032 10033 |
# File 'quick_sight/cfn_analysis.rb', line 10031 def @display_options end |
#filter_control_id ⇒ String (readonly)
The ID of the FilterDropDownControl .
10006 10007 10008 |
# File 'quick_sight/cfn_analysis.rb', line 10006 def filter_control_id @filter_control_id end |
#selectable_values ⇒ AWSCDK::IResolvable, ... (readonly)
A list of selectable values that are used in a control.
10036 10037 10038 |
# File 'quick_sight/cfn_analysis.rb', line 10036 def selectable_values @selectable_values end |
#source_filter_id ⇒ String (readonly)
The source filter ID of the FilterDropDownControl .
10011 10012 10013 |
# File 'quick_sight/cfn_analysis.rb', line 10011 def source_filter_id @source_filter_id end |
#title ⇒ String (readonly)
The title of the FilterDropDownControl .
10016 10017 10018 |
# File 'quick_sight/cfn_analysis.rb', line 10016 def title @title end |
#type ⇒ String? (readonly)
The type of the FilterDropDownControl . Choose one of the following options:.
MULTI_SELECT: The user can select multiple entries from a dropdown menu.SINGLE_SELECT: The user can select a single entry from a dropdown menu.
10044 10045 10046 |
# File 'quick_sight/cfn_analysis.rb', line 10044 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 |
# File 'quick_sight/cfn_analysis.rb', line 10046 def self.jsii_properties { :filter_control_id => "filterControlId", :source_filter_id => "sourceFilterId", :title => "title", :cascading_control_configuration => "cascadingControlConfiguration", :commit_mode => "commitMode", :display_options => "displayOptions", :selectable_values => "selectableValues", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 |
# File 'quick_sight/cfn_analysis.rb', line 10059 def to_jsii result = {} result.merge!({ "filterControlId" => @filter_control_id, "sourceFilterId" => @source_filter_id, "title" => @title, "cascadingControlConfiguration" => @cascading_control_configuration, "commitMode" => @commit_mode, "displayOptions" => @display_options, "selectableValues" => @selectable_values, "type" => @type, }) result.compact end |