Class: AWSCDK::QuickSight::CfnAnalysis::LayerCustomActionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

A layer custom action.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(action_operations:, custom_action_id:, name:, trigger:, status: nil) ⇒ LayerCustomActionProperty

Returns a new instance of LayerCustomActionProperty.

Parameters:



17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
# File 'quick_sight/cfn_analysis.rb', line 17246

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("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfcXVpY2tzaWdodC5DZm5BbmFseXNpcy5MYXllckN1c3RvbUFjdGlvbk9wZXJhdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "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_operationsAWSCDK::IResolvable, Array<AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::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.



17265
17266
17267
# File 'quick_sight/cfn_analysis.rb', line 17265

def action_operations
  @action_operations
end

#custom_action_idString (readonly)

The ID of the custom action.



17270
17271
17272
# File 'quick_sight/cfn_analysis.rb', line 17270

def custom_action_id
  @custom_action_id
end

#nameString (readonly)

The name of the custom action.



17275
17276
17277
# File 'quick_sight/cfn_analysis.rb', line 17275

def name
  @name
end

#statusString? (readonly)

The status of the LayerCustomAction .



17290
17291
17292
# File 'quick_sight/cfn_analysis.rb', line 17290

def status
  @status
end

#triggerString (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.


17285
17286
17287
# File 'quick_sight/cfn_analysis.rb', line 17285

def trigger
  @trigger
end

Class Method Details

.jsii_propertiesObject



17292
17293
17294
17295
17296
17297
17298
17299
17300
# File 'quick_sight/cfn_analysis.rb', line 17292

def self.jsii_properties
  {
    :action_operations => "actionOperations",
    :custom_action_id => "customActionId",
    :name => "name",
    :trigger => "trigger",
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
# File 'quick_sight/cfn_analysis.rb', line 17302

def to_jsii
  result = {}
  result.merge!({
    "actionOperations" => @action_operations,
    "customActionId" => @custom_action_id,
    "name" => @name,
    "trigger" => @trigger,
    "status" => @status,
  })
  result.compact
end