Class: AWSCDK::QuickSight::CfnDashboard::ImageCustomActionOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::ImageCustomActionOperationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The operation that is defined by the custom action.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Instance Attribute Summary collapse
- #navigation_operation ⇒ AWSCDK::IResolvable, ... readonly
- #set_parameters_operation ⇒ AWSCDK::IResolvable, ... readonly
- #url_operation ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(navigation_operation: nil, set_parameters_operation: nil, url_operation: nil) ⇒ ImageCustomActionOperationProperty
constructor
A new instance of ImageCustomActionOperationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(navigation_operation: nil, set_parameters_operation: nil, url_operation: nil) ⇒ ImageCustomActionOperationProperty
Returns a new instance of ImageCustomActionOperationProperty.
16639 16640 16641 16642 16643 16644 16645 16646 |
# File 'quick_sight/cfn_dashboard.rb', line 16639 def initialize(navigation_operation: nil, set_parameters_operation: nil, url_operation: nil) @navigation_operation = .is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::CustomActionNavigationOperationProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@navigation_operation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DdXN0b21BY3Rpb25OYXZpZ2F0aW9uT3BlcmF0aW9uUHJvcGVydHkifV19fQ==")), "navigationOperation") unless @navigation_operation.nil? @set_parameters_operation = set_parameters_operation.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::CustomActionSetParametersOperationProperty.new(**set_parameters_operation.transform_keys(&:to_sym)) : set_parameters_operation Jsii::Type.check_type(@set_parameters_operation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DdXN0b21BY3Rpb25TZXRQYXJhbWV0ZXJzT3BlcmF0aW9uUHJvcGVydHkifV19fQ==")), "setParametersOperation") unless @set_parameters_operation.nil? @url_operation = url_operation.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::CustomActionURLOperationProperty.new(**url_operation.transform_keys(&:to_sym)) : url_operation Jsii::Type.check_type(@url_operation, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5DdXN0b21BY3Rpb25VUkxPcGVyYXRpb25Qcm9wZXJ0eSJ9XX19")), "urlOperation") unless @url_operation.nil? end |
Instance Attribute Details
#navigation_operation ⇒ AWSCDK::IResolvable, ... (readonly)
16650 16651 16652 |
# File 'quick_sight/cfn_dashboard.rb', line 16650 def @navigation_operation end |
#set_parameters_operation ⇒ AWSCDK::IResolvable, ... (readonly)
16653 16654 16655 |
# File 'quick_sight/cfn_dashboard.rb', line 16653 def set_parameters_operation @set_parameters_operation end |
#url_operation ⇒ AWSCDK::IResolvable, ... (readonly)
16656 16657 16658 |
# File 'quick_sight/cfn_dashboard.rb', line 16656 def url_operation @url_operation end |
Class Method Details
.jsii_properties ⇒ Object
16658 16659 16660 16661 16662 16663 16664 |
# File 'quick_sight/cfn_dashboard.rb', line 16658 def self.jsii_properties { :navigation_operation => "navigationOperation", :set_parameters_operation => "setParametersOperation", :url_operation => "urlOperation", } end |
Instance Method Details
#to_jsii ⇒ Object
16666 16667 16668 16669 16670 16671 16672 16673 16674 |
# File 'quick_sight/cfn_dashboard.rb', line 16666 def to_jsii result = {} result.merge!({ "navigationOperation" => @navigation_operation, "setParametersOperation" => @set_parameters_operation, "urlOperation" => @url_operation, }) result.compact end |