Class: AWSCDK::QuickSight::CfnDashboard::TableFieldLinkContentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnDashboard::TableFieldLinkContentConfigurationProperty
- Defined in:
- quick_sight/cfn_dashboard.rb
Overview
The URL content (text, icon) for the table link configuration.
Instance Attribute Summary collapse
-
#custom_icon_content ⇒ AWSCDK::IResolvable, ...
readonly
The custom icon content for the table link content configuration.
-
#custom_text_content ⇒ AWSCDK::IResolvable, ...
readonly
The custom text content (value, font configuration) for the table link content configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(custom_icon_content: nil, custom_text_content: nil) ⇒ TableFieldLinkContentConfigurationProperty
constructor
A new instance of TableFieldLinkContentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(custom_icon_content: nil, custom_text_content: nil) ⇒ TableFieldLinkContentConfigurationProperty
Returns a new instance of TableFieldLinkContentConfigurationProperty.
29289 29290 29291 29292 29293 29294 |
# File 'quick_sight/cfn_dashboard.rb', line 29289 def initialize(custom_icon_content: nil, custom_text_content: nil) @custom_icon_content = custom_icon_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableFieldCustomIconContentProperty.new(**custom_icon_content.transform_keys(&:to_sym)) : custom_icon_content Jsii::Type.check_type(@custom_icon_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUZpZWxkQ3VzdG9tSWNvbkNvbnRlbnRQcm9wZXJ0eSJ9XX19")), "customIconContent") unless @custom_icon_content.nil? @custom_text_content = custom_text_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnDashboard::TableFieldCustomTextContentProperty.new(**custom_text_content.transform_keys(&:to_sym)) : custom_text_content Jsii::Type.check_type(@custom_text_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkRhc2hib2FyZC5UYWJsZUZpZWxkQ3VzdG9tVGV4dENvbnRlbnRQcm9wZXJ0eSJ9XX19")), "customTextContent") unless @custom_text_content.nil? end |
Instance Attribute Details
#custom_icon_content ⇒ AWSCDK::IResolvable, ... (readonly)
The custom icon content for the table link content configuration.
29300 29301 29302 |
# File 'quick_sight/cfn_dashboard.rb', line 29300 def custom_icon_content @custom_icon_content end |
#custom_text_content ⇒ AWSCDK::IResolvable, ... (readonly)
The custom text content (value, font configuration) for the table link content configuration.
29305 29306 29307 |
# File 'quick_sight/cfn_dashboard.rb', line 29305 def custom_text_content @custom_text_content end |
Class Method Details
.jsii_properties ⇒ Object
29307 29308 29309 29310 29311 29312 |
# File 'quick_sight/cfn_dashboard.rb', line 29307 def self.jsii_properties { :custom_icon_content => "customIconContent", :custom_text_content => "customTextContent", } end |
Instance Method Details
#to_jsii ⇒ Object
29314 29315 29316 29317 29318 29319 29320 29321 |
# File 'quick_sight/cfn_dashboard.rb', line 29314 def to_jsii result = {} result.merge!({ "customIconContent" => @custom_icon_content, "customTextContent" => @custom_text_content, }) result.compact end |