Class: AWSCDK::QuickSight::CfnAnalysis::ImageCustomActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::ImageCustomActionProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
A custom action defined on an image.
Instance Attribute Summary collapse
-
#action_operations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::ImageCustomActionOperationProperty>
readonly
A list of
ImageCustomActionOperations. -
#custom_action_id ⇒ String
readonly
The ID of the custom action.
-
#name ⇒ String
readonly
The name of the custom action.
-
#status ⇒ String?
readonly
The status of the custom action.
-
#trigger ⇒ String
readonly
The trigger of the
VisualCustomAction.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) ⇒ ImageCustomActionProperty
constructor
A new instance of ImageCustomActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) ⇒ ImageCustomActionProperty
Returns a new instance of ImageCustomActionProperty.
15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 |
# File 'quick_sight/cfn_analysis.rb', line 15749 def initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) @action_operations = action_operations Jsii::Type.check_type(@action_operations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5JbWFnZUN1c3RvbUFjdGlvbk9wZXJhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "actionOperations") @custom_action_id = custom_action_id Jsii::Type.check_type(@custom_action_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customActionId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @trigger = trigger Jsii::Type.check_type(@trigger, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trigger") @status = status Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status") unless @status.nil? end |
Instance Attribute Details
#action_operations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::ImageCustomActionOperationProperty> (readonly)
A list of ImageCustomActionOperations .
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
15768 15769 15770 |
# File 'quick_sight/cfn_analysis.rb', line 15768 def action_operations @action_operations end |
#custom_action_id ⇒ String (readonly)
The ID of the custom action.
15773 15774 15775 |
# File 'quick_sight/cfn_analysis.rb', line 15773 def custom_action_id @custom_action_id end |
#name ⇒ String (readonly)
The name of the custom action.
15778 15779 15780 |
# File 'quick_sight/cfn_analysis.rb', line 15778 def name @name end |
#status ⇒ String? (readonly)
The status of the custom action.
15793 15794 15795 |
# File 'quick_sight/cfn_analysis.rb', line 15793 def status @status end |
#trigger ⇒ String (readonly)
The trigger of the VisualCustomAction .
Valid values are defined as follows:
CLICK: Initiates a custom action by a left pointer click on a data point.MENU: Initiates a custom action by right pointer click from the menu.
15788 15789 15790 |
# File 'quick_sight/cfn_analysis.rb', line 15788 def trigger @trigger end |
Class Method Details
.jsii_properties ⇒ Object
15795 15796 15797 15798 15799 15800 15801 15802 15803 |
# File 'quick_sight/cfn_analysis.rb', line 15795 def self.jsii_properties { :action_operations => "actionOperations", :custom_action_id => "customActionId", :name => "name", :trigger => "trigger", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 |
# File 'quick_sight/cfn_analysis.rb', line 15805 def to_jsii result = {} result.merge!({ "actionOperations" => @action_operations, "customActionId" => @custom_action_id, "name" => @name, "trigger" => @trigger, "status" => @status, }) result.compact end |