Class: AWSCDK::QuickSight::CfnTemplate::TableFieldCustomTextContentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTemplate::TableFieldCustomTextContentProperty
- 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
-
#font_configuration ⇒ AWSCDK::IResolvable, AWSCDK::QuickSight::CfnTemplate::FontConfigurationProperty
readonly
The font configuration of the custom text content for the table URL link content.
-
#value ⇒ String?
readonly
The string value of the custom text content for the table URL link content.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(font_configuration:, value: nil) ⇒ TableFieldCustomTextContentProperty
constructor
A new instance of TableFieldCustomTextContentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(font_configuration:, value: nil) ⇒ TableFieldCustomTextContentProperty
Returns a new instance of TableFieldCustomTextContentProperty.
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_configuration ⇒ AWSCDK::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 |
#value ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |