Class: AWSCDK::QuickSight::CfnAnalysis::TableFieldCustomTextContentProperty

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

Overview

The custom text content (value, font configuration) for the table link content configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(font_configuration:, value: nil) ⇒ TableFieldCustomTextContentProperty

Returns a new instance of TableFieldCustomTextContentProperty.

Parameters:



28132
28133
28134
28135
28136
28137
# File 'quick_sight/cfn_analysis.rb', line 28132

def initialize(font_configuration:, value: nil)
  @font_configuration = font_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnAnalysis::FontConfigurationProperty.new(**font_configuration.transform_keys(&:to_sym)) : font_configuration
  Jsii::Type.check_type(@font_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmbkFuYWx5c2lzLkZvbnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "fontConfiguration")
  @value = value
  Jsii::Type.check_type(@value, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "value") unless @value.nil?
end

Instance Attribute Details

#font_configurationAWSCDK::IResolvable, AWSCDK::QuickSight::CfnAnalysis::FontConfigurationProperty (readonly)

The font configuration of the custom text content for the table URL link content.



28143
28144
28145
# File 'quick_sight/cfn_analysis.rb', line 28143

def font_configuration
  @font_configuration
end

#valueString? (readonly)

The string value of the custom text content for the table URL link content.



28148
28149
28150
# File 'quick_sight/cfn_analysis.rb', line 28148

def value
  @value
end

Class Method Details

.jsii_propertiesObject



28150
28151
28152
28153
28154
28155
# File 'quick_sight/cfn_analysis.rb', line 28150

def self.jsii_properties
  {
    :font_configuration => "fontConfiguration",
    :value => "value",
  }
end

Instance Method Details

#to_jsiiObject



28157
28158
28159
28160
28161
28162
28163
28164
# File 'quick_sight/cfn_analysis.rb', line 28157

def to_jsii
  result = {}
  result.merge!({
    "fontConfiguration" => @font_configuration,
    "value" => @value,
  })
  result.compact
end