Class: AWSCDK::QuickSight::CfnTemplate::CustomActionURLOperationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::CustomActionURLOperationProperty
- Defined in:
- quick_sight/cfn_template.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.
5470 5471 5472 5473 5474 5475 |
# File 'quick_sight/cfn_template.rb', line 5470 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.
5487 5488 5489 |
# File 'quick_sight/cfn_template.rb', line 5487 def url_target @url_target end |
#url_template ⇒ String (readonly)
THe URL link of the CustomActionURLOperation .
5492 5493 5494 |
# File 'quick_sight/cfn_template.rb', line 5492 def url_template @url_template end |
Class Method Details
.jsii_properties ⇒ Object
5494 5495 5496 5497 5498 5499 |
# File 'quick_sight/cfn_template.rb', line 5494 def self.jsii_properties { :url_target => "urlTarget", :url_template => "urlTemplate", } end |
Instance Method Details
#to_jsii ⇒ Object
5501 5502 5503 5504 5505 5506 5507 5508 |
# File 'quick_sight/cfn_template.rb', line 5501 def to_jsii result = {} result.merge!({ "urlTarget" => @url_target, "urlTemplate" => @url_template, }) result.compact end |