Class: AWSCDK::QuickSight::CfnTemplate::TableFieldCustomTextContentProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
quick_sight/cfn_template.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:



26000
26001
26002
26003
26004
26005
# File 'quick_sight/cfn_template.rb', line 26000

def initialize(font_configuration:, value: nil)
  @font_configuration = font_configuration.is_a?(Hash) ? ::AWSCDK::QuickSight::CfnTemplate::FontConfigurationProperty.new(**font_configuration.transform_keys(&:to_sym)) : font_configuration
  Jsii::Type.check_type(@font_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19xdWlja3NpZ2h0LkNmblRlbXBsYXRlLkZvbnRDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "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::CfnTemplate::FontConfigurationProperty (readonly)

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



26011
26012
26013
# File 'quick_sight/cfn_template.rb', line 26011

def font_configuration
  @font_configuration
end

#valueString? (readonly)

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



26016
26017
26018
# File 'quick_sight/cfn_template.rb', line 26016

def value
  @value
end

Class Method Details

.jsii_propertiesObject



26018
26019
26020
26021
26022
26023
# File 'quick_sight/cfn_template.rb', line 26018

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

Instance Method Details

#to_jsiiObject



26025
26026
26027
26028
26029
26030
26031
26032
# File 'quick_sight/cfn_template.rb', line 26025

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