Class: AWSCDK::QuickSight::CfnDashboard::TableFieldLinkConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TableFieldLinkConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The link configuration of a table field URL.
Instance Attribute Summary collapse
-
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::TableFieldLinkContentConfigurationProperty
readonly
The URL content (text, icon) for the table link configuration.
-
#target ⇒ String
readonly
The URL target (new tab, new window, same tab) for the table link configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content:, target:) ⇒ TableFieldLinkConfigurationProperty
constructor
A new instance of TableFieldLinkConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(content:, target:) ⇒ TableFieldLinkConfigurationProperty
Returns a new instance of TableFieldLinkConfigurationProperty.
29246 29247 29248 29249 29250 29251 |
# File 'quick_sight/cfn_dashboard.rb', line 29246 def initialize(content:, target:) @content = content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableFieldLinkContentConfigurationProperty.new(**content.transform_keys(&:to_sym)) : content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUZpZWxkTGlua0NvbnRlbnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "content") @target = target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "target") end |
Instance Attribute Details
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnDashboard::TableFieldLinkContentConfigurationProperty (readonly)
The URL content (text, icon) for the table link configuration.
29257 29258 29259 |
# File 'quick_sight/cfn_dashboard.rb', line 29257 def content @content end |
#target ⇒ String (readonly)
The URL target (new tab, new window, same tab) for the table link configuration.
29262 29263 29264 |
# File 'quick_sight/cfn_dashboard.rb', line 29262 def target @target end |
Class Method Details
.jsii_properties ⇒ Object
29264 29265 29266 29267 29268 29269 |
# File 'quick_sight/cfn_dashboard.rb', line 29264 def self.jsii_properties { :content => "content", :target => "target", } end |
Instance Method Details
#to_jsii ⇒ Object
29271 29272 29273 29274 29275 29276 29277 29278 |
# File 'quick_sight/cfn_dashboard.rb', line 29271 def to_jsii result = {} result.merge!({ "content" => @content, "target" => @target, }) result.compact end |