Class: AWSCDK::QuickSight::CfnAnalysis::CustomActionURLOperationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.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 .



5619
5620
5621
5622
5623
5624
# File 'quick_sight/cfn_analysis.rb', line 5619

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.


5636
5637
5638
# File 'quick_sight/cfn_analysis.rb', line 5636

def url_target
  @url_target
end

#url_templateString (readonly)

THe URL link of the CustomActionURLOperation .



5641
5642
5643
# File 'quick_sight/cfn_analysis.rb', line 5641

def url_template
  @url_template
end

Class Method Details

.jsii_propertiesObject



5643
5644
5645
5646
5647
5648
# File 'quick_sight/cfn_analysis.rb', line 5643

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

Instance Method Details

#to_jsiiObject



5650
5651
5652
5653
5654
5655
5656
5657
# File 'quick_sight/cfn_analysis.rb', line 5650

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