Class: AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.rb
Overview
The link configuration of a table field URL.
Instance Attribute Summary collapse
-
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::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.
28208 28209 28210 28211 28212 28213 |
# File 'quick_sight/cfn_analysis.rb', line 28208 def initialize(content:, target:) @content = content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkContentConfigurationProperty.new(**content.transform_keys(&:to_sym)) : content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlRmllbGRMaW5rQ29udGVudENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "content") @target = target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "target") end |
Instance Attribute Details
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkContentConfigurationProperty (readonly)
The URL content (text, icon) for the table link configuration.
28219 28220 28221 |
# File 'quick_sight/cfn_analysis.rb', line 28219 def content @content end |
#target ⇒ String (readonly)
The URL target (new tab, new window, same tab) for the table link configuration.
28224 28225 28226 |
# File 'quick_sight/cfn_analysis.rb', line 28224 def target @target end |
Class Method Details
.jsii_properties ⇒ Object
28226 28227 28228 28229 28230 28231 |
# File 'quick_sight/cfn_analysis.rb', line 28226 def self.jsii_properties { :content => "content", :target => "target", } end |
Instance Method Details
#to_jsii ⇒ Object
28233 28234 28235 28236 28237 28238 28239 28240 |
# File 'quick_sight/cfn_analysis.rb', line 28233 def to_jsii result = {} result.merge!({ "content" => @content, "target" => @target, }) result.compact end |