Class: AWSCDK::QuickSight::CfnDashboard::TableFieldCustomTextContentProperty

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



29170
29171
29172
29173
29174
29175
# File 'quick_sight/cfn_dashboard.rb', line 29170

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

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



29181
29182
29183
# File 'quick_sight/cfn_dashboard.rb', line 29181

def font_configuration
  @font_configuration
end

#valueString? (readonly)

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



29186
29187
29188
# File 'quick_sight/cfn_dashboard.rb', line 29186

def value
  @value
end

Class Method Details

.jsii_propertiesObject



29188
29189
29190
29191
29192
29193
# File 'quick_sight/cfn_dashboard.rb', line 29188

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

Instance Method Details

#to_jsiiObject



29195
29196
29197
29198
29199
29200
29201
29202
# File 'quick_sight/cfn_dashboard.rb', line 29195

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