Class: AWSCDK::QuickSight::CfnAnalysis::TableFieldLinkContentConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_analysis.rb

Overview

The URL content (text, icon) for the table link configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(custom_icon_content: nil, custom_text_content: nil) ⇒ TableFieldLinkContentConfigurationProperty

Returns a new instance of TableFieldLinkContentConfigurationProperty.

Parameters:



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_contentAWSCDK::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_contentAWSCDK::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_propertiesObject



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_jsiiObject



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