Class: AWSCDK::QuickSight::CfnTemplate::TableFieldLinkConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TableFieldLinkConfigurationProperty
- Defined in:
- quick_sight/cfn_template.rb
Overview
The link configuration of a table field URL.
Instance Attribute Summary collapse
-
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::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.
26076 26077 26078 26079 26080 26081 |
# File 'quick_sight/cfn_template.rb', line 26076 def initialize(content:, target:) @content = content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::TableFieldLinkContentConfigurationProperty.new(**content.transform_keys(&:to_sym)) : content Jsii::Type.check_type(@content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLlRhYmxlRmllbGRMaW5rQ29udGVudENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "content") @target = target Jsii::Type.check_type(@target, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "target") end |
Instance Attribute Details
#content ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::TableFieldLinkContentConfigurationProperty (readonly)
The URL content (text, icon) for the table link configuration.
26087 26088 26089 |
# File 'quick_sight/cfn_template.rb', line 26087 def content @content end |
#target ⇒ String (readonly)
The URL target (new tab, new window, same tab) for the table link configuration.
26092 26093 26094 |
# File 'quick_sight/cfn_template.rb', line 26092 def target @target end |
Class Method Details
.jsii_properties ⇒ Object
26094 26095 26096 26097 26098 26099 |
# File 'quick_sight/cfn_template.rb', line 26094 def self.jsii_properties { :content => "content", :target => "target", } end |
Instance Method Details
#to_jsii ⇒ Object
26101 26102 26103 26104 26105 26106 26107 26108 |
# File 'quick_sight/cfn_template.rb', line 26101 def to_jsii result = {} result.merge!({ "content" => @content, "target" => @target, }) result.compact end |