Class: AWSCDK::QuickSight::CfnDashboard::CustomActionURLOperationProperty

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

Overview

The URL operation that opens a link to another webpage.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url_target:, url_template:) ⇒ CustomActionURLOperationProperty

Returns a new instance of CustomActionURLOperationProperty.

Parameters:

  • url_target (String)

    The target of the CustomActionURLOperation .

  • url_template (String)

    THe URL link of the CustomActionURLOperation .



5485
5486
5487
5488
5489
5490
# File 'quick_sight/cfn_dashboard.rb', line 5485

def initialize(url_target:, url_template:)
  @url_target = url_target
  Jsii::Type.check_type(@url_target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "urlTarget")
  @url_template = url_template
  Jsii::Type.check_type(@url_template, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "urlTemplate")
end

Instance Attribute Details

#url_targetString (readonly)

The target of the CustomActionURLOperation .

Valid values are defined as follows:

  • NEW_TAB : Opens the target URL in a new browser tab.
  • NEW_WINDOW : Opens the target URL in a new browser window.
  • SAME_TAB : Opens the target URL in the same browser tab.


5502
5503
5504
# File 'quick_sight/cfn_dashboard.rb', line 5502

def url_target
  @url_target
end

#url_templateString (readonly)

THe URL link of the CustomActionURLOperation .



5507
5508
5509
# File 'quick_sight/cfn_dashboard.rb', line 5507

def url_template
  @url_template
end

Class Method Details

.jsii_propertiesObject



5509
5510
5511
5512
5513
5514
# File 'quick_sight/cfn_dashboard.rb', line 5509

def self.jsii_properties
  {
    :url_target => "urlTarget",
    :url_template => "urlTemplate",
  }
end

Instance Method Details

#to_jsiiObject



5516
5517
5518
5519
5520
5521
5522
5523
# File 'quick_sight/cfn_dashboard.rb', line 5516

def to_jsii
  result = {}
  result.merge!({
    "urlTarget" => @url_target,
    "urlTemplate" => @url_template,
  })
  result.compact
end