Class: AWSCDK::QuickSight::CfnAnalysis::CustomActionURLOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::CustomActionURLOperationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The URL operation that opens a link to another webpage.
Instance Attribute Summary collapse
-
#url_target ⇒ String
readonly
The target of the
CustomActionURLOperation. -
#url_template ⇒ String
readonly
THe URL link of the
CustomActionURLOperation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url_target:, url_template:) ⇒ CustomActionURLOperationProperty
constructor
A new instance of CustomActionURLOperationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(url_target:, url_template:) ⇒ CustomActionURLOperationProperty
Returns a new instance of CustomActionURLOperationProperty.
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_target ⇒ String (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_template ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |