Class: AWSCDK::QuickSight::CfnTheme::FontProperty

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

Overview

Determines the font settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(font_family: nil) ⇒ FontProperty

Returns a new instance of FontProperty.

Parameters:

  • font_family (String, nil) (defaults to: nil)

    Determines the font family settings.



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_familyString? (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_propertiesObject



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_jsiiObject



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