Class: AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkContentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkContentConfigurationProperty
- Defined in:
- quick_sight/cfn_analysis.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.
28251 28252 28253 28254 28255 28256 |
# File 'quick_sight/cfn_analysis.rb', line 28251 def initialize(custom_icon_content: nil, custom_text_content: nil) @custom_icon_content = custom_icon_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableFieldCustomIconContentProperty.new(**custom_icon_content.transform_keys(&:to_sym)) : custom_icon_content Jsii::Type.check_type(@custom_icon_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlRmllbGRDdXN0b21JY29uQ29udGVudFByb3BlcnR5In1dfX0=")), "customIconContent") unless @custom_icon_content.nil? @custom_text_content = custom_text_content.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::TableFieldCustomTextContentProperty.new(**custom_text_content.transform_keys(&:to_sym)) : custom_text_content Jsii::Type.check_type(@custom_text_content, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLlRhYmxlRmllbGRDdXN0b21UZXh0Q29udGVudFByb3BlcnR5In1dfX0=")), "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.
28262 28263 28264 |
# File 'quick_sight/cfn_analysis.rb', line 28262 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.
28267 28268 28269 |
# File 'quick_sight/cfn_analysis.rb', line 28267 def custom_text_content @custom_text_content end |
Class Method Details
.jsii_properties ⇒ Object
28269 28270 28271 28272 28273 28274 |
# File 'quick_sight/cfn_analysis.rb', line 28269 def self.jsii_properties { :custom_icon_content => "customIconContent", :custom_text_content => "customTextContent", } end |
Instance Method Details
#to_jsii ⇒ Object
28276 28277 28278 28279 28280 28281 28282 28283 |
# File 'quick_sight/cfn_analysis.rb', line 28276 def to_jsii result = {} result.merge!({ "customIconContent" => @custom_icon_content, "customTextContent" => @custom_text_content, }) result.compact end |