Class: AWSCDK::QuickSight::CfnDashboard::LayerCustomActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::LayerCustomActionProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
A layer custom action.
Instance Attribute Summary collapse
-
#action_operations ⇒ AWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::LayerCustomActionOperationProperty>
readonly
A list of
LayerCustomActionOperations. -
#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
LayerCustomAction. -
#trigger ⇒ String
readonly
The trigger of the
LayerCustomAction.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) ⇒ LayerCustomActionProperty
constructor
A new instance of LayerCustomActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) ⇒ LayerCustomActionProperty
Returns a new instance of LayerCustomActionProperty.
18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 |
# File 'quick_sight/cfn_dashboard.rb', line 18185 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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5EYXNoYm9hcmQuTGF5ZXJDdXN0b21BY3Rpb25PcGVyYXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "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::CfnDashboard::LayerCustomActionOperationProperty> (readonly)
A list of LayerCustomActionOperations .
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
18204 18205 18206 |
# File 'quick_sight/cfn_dashboard.rb', line 18204 def action_operations @action_operations end |
#custom_action_id ⇒ String (readonly)
The ID of the custom action.
18209 18210 18211 |
# File 'quick_sight/cfn_dashboard.rb', line 18209 def custom_action_id @custom_action_id end |
#name ⇒ String (readonly)
The name of the custom action.
18214 18215 18216 |
# File 'quick_sight/cfn_dashboard.rb', line 18214 def name @name end |
#status ⇒ String? (readonly)
The status of the LayerCustomAction .
18229 18230 18231 |
# File 'quick_sight/cfn_dashboard.rb', line 18229 def status @status end |
#trigger ⇒ String (readonly)
The trigger of the LayerCustomAction .
Valid values are defined as follows:
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point.DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
18224 18225 18226 |
# File 'quick_sight/cfn_dashboard.rb', line 18224 def trigger @trigger end |
Class Method Details
.jsii_properties ⇒ Object
18231 18232 18233 18234 18235 18236 18237 18238 18239 |
# File 'quick_sight/cfn_dashboard.rb', line 18231 def self.jsii_properties { :action_operations => "actionOperations", :custom_action_id => "customActionId", :name => "name", :trigger => "trigger", :status => "status", } end |
Instance Method Details
#to_jsii ⇒ Object
18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 |
# File 'quick_sight/cfn_dashboard.rb', line 18241 def to_jsii result = {} result.merge!({ "actionOperations" => @action_operations, "customActionId" => @custom_action_id, "name" => @name, "trigger" => @trigger, "status" => @status, }) result.compact end |