Class: AWSCDK::QuickSight::CfnTheme::FontProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QuickSight::CfnTheme::FontProperty
- Defined in:
- quick_sight/cfn_theme.rb
Overview
Determines the font settings.
Instance Attribute Summary collapse
-
#font_family ⇒ String?
readonly
Determines the font family settings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(font_family: nil) ⇒ FontProperty
constructor
A new instance of FontProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(font_family: nil) ⇒ FontProperty
Returns a new instance of FontProperty.
803 804 805 806 |
# File 'quick_sight/cfn_theme.rb', line 803 def initialize(font_family: nil) @font_family = font_family Jsii::Type.check_type(@font_family, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fontFamily") unless @font_family.nil? end |
Instance Attribute Details
#font_family ⇒ String? (readonly)
Determines the font family settings.
812 813 814 |
# File 'quick_sight/cfn_theme.rb', line 812 def font_family @font_family end |
Class Method Details
.jsii_properties ⇒ Object
814 815 816 817 818 |
# File 'quick_sight/cfn_theme.rb', line 814 def self.jsii_properties { :font_family => "fontFamily", } end |
Instance Method Details
#to_jsii ⇒ Object
820 821 822 823 824 825 826 |
# File 'quick_sight/cfn_theme.rb', line 820 def to_jsii result = {} result.merge!({ "fontFamily" => @font_family, }) result.compact end |