Class: AWSCDK::QuickSight::CfnTemplate::CustomActionFilterOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::CustomActionFilterOperationProperty
- Defined in:
- quick_sight/cfn_template.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::CfnTemplate::FilterOperationSelectedFieldsConfigurationProperty
readonly
The configuration that chooses the fields to be filtered.
-
#target_visuals_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::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.
5359 5360 5361 5362 5363 5364 |
# File 'quick_sight/cfn_template.rb', line 5359 def initialize(selected_fields_configuration:, target_visuals_configuration:) @selected_fields_configuration = selected_fields_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FilterOperationSelectedFieldsConfigurationProperty.new(**selected_fields_configuration.transform_keys(&:to_sym)) : selected_fields_configuration Jsii::Type.check_type(@selected_fields_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZpbHRlck9wZXJhdGlvblNlbGVjdGVkRmllbGRzQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "selectedFieldsConfiguration") @target_visuals_configuration = target_visuals_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FilterOperationTargetVisualsConfigurationProperty.new(**target_visuals_configuration.transform_keys(&:to_sym)) : target_visuals_configuration Jsii::Type.check_type(@target_visuals_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZpbHRlck9wZXJhdGlvblRhcmdldFZpc3VhbHNDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "targetVisualsConfiguration") end |
Instance Attribute Details
#selected_fields_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::FilterOperationSelectedFieldsConfigurationProperty (readonly)
The configuration that chooses the fields to be filtered.
5370 5371 5372 |
# File 'quick_sight/cfn_template.rb', line 5370 def selected_fields_configuration @selected_fields_configuration end |
#target_visuals_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::FilterOperationTargetVisualsConfigurationProperty (readonly)
The configuration that chooses the target visuals to be filtered.
5375 5376 5377 |
# File 'quick_sight/cfn_template.rb', line 5375 def target_visuals_configuration @target_visuals_configuration end |
Class Method Details
.jsii_properties ⇒ Object
5377 5378 5379 5380 5381 5382 |
# File 'quick_sight/cfn_template.rb', line 5377 def self.jsii_properties { :selected_fields_configuration => "selectedFieldsConfiguration", :target_visuals_configuration => "targetVisualsConfiguration", } end |
Instance Method Details
#to_jsii ⇒ Object
5384 5385 5386 5387 5388 5389 5390 5391 |
# File 'quick_sight/cfn_template.rb', line 5384 def to_jsii result = {} result.merge!({ "selectedFieldsConfiguration" => @selected_fields_configuration, "targetVisualsConfiguration" => @target_visuals_configuration, }) result.compact end |