Class: AWSCDK::QuickSight::CfnDashboard::CustomActionFilterOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::CustomActionFilterOperationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The filter operation that filters data included in a visual or in an entire sheet.
Instance Attribute Summary collapse
-
#selected_fields_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::FilterOperationSelectedFieldsConfigurationProperty
readonly
The configuration that chooses the fields to be filtered.
-
#target_visuals_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::FilterOperationTargetVisualsConfigurationProperty
readonly
The configuration that chooses the target visuals to be filtered.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(selected_fields_configuration:, target_visuals_configuration:) ⇒ CustomActionFilterOperationProperty
constructor
A new instance of CustomActionFilterOperationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(selected_fields_configuration:, target_visuals_configuration:) ⇒ CustomActionFilterOperationProperty
Returns a new instance of CustomActionFilterOperationProperty.
5374 5375 5376 5377 5378 5379 |
# File 'quick_sight/cfn_dashboard.rb', line 5374 def initialize(selected_fields_configuration:, target_visuals_configuration:) @selected_fields_configuration = selected_fields_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FilterOperationSelectedFieldsConfigurationProperty.new(**selected_fields_configuration.transform_keys(&:to_sym)) : selected_fields_configuration Jsii::Type.check_type(@selected_fields_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWx0ZXJPcGVyYXRpb25TZWxlY3RlZEZpZWxkc0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "selectedFieldsConfiguration") @target_visuals_configuration = target_visuals_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::FilterOperationTargetVisualsConfigurationProperty.new(**target_visuals_configuration.transform_keys(&:to_sym)) : target_visuals_configuration Jsii::Type.check_type(@target_visuals_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5GaWx0ZXJPcGVyYXRpb25UYXJnZXRWaXN1YWxzQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "targetVisualsConfiguration") end |
Instance Attribute Details
#selected_fields_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::FilterOperationSelectedFieldsConfigurationProperty (readonly)
The configuration that chooses the fields to be filtered.
5385 5386 5387 |
# File 'quick_sight/cfn_dashboard.rb', line 5385 def selected_fields_configuration @selected_fields_configuration end |
#target_visuals_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::FilterOperationTargetVisualsConfigurationProperty (readonly)
The configuration that chooses the target visuals to be filtered.
5390 5391 5392 |
# File 'quick_sight/cfn_dashboard.rb', line 5390 def target_visuals_configuration @target_visuals_configuration end |
Class Method Details
.jsii_properties ⇒ Object
5392 5393 5394 5395 5396 5397 |
# File 'quick_sight/cfn_dashboard.rb', line 5392 def self.jsii_properties { :selected_fields_configuration => "selectedFieldsConfiguration", :target_visuals_configuration => "targetVisualsConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
5399 5400 5401 5402 5403 5404 5405 5406 |
# File 'quick_sight/cfn_dashboard.rb', line 5399 def to_jsii result = {} result.merge!({ "selectedFieldsConfiguration" => @selected_fields_configuration, "targetVisualsConfiguration" => @target_visuals_configuration, }) result.compact end |