Class: AWSCDK::QuickSight::CfnDashboard::FontWeightProperty

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

Overview

The option that determines the text display weight, or boldness.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name: nil) ⇒ FontWeightProperty

Returns a new instance of FontWeightProperty.

Parameters:

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

    The lexical name for the level of boldness of the text display.



11809
11810
11811
11812
# File 'quick_sight/cfn_dashboard.rb', line 11809

def initialize(name: nil)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
end

Instance Attribute Details

#nameString? (readonly)

The lexical name for the level of boldness of the text display.



11818
11819
11820
# File 'quick_sight/cfn_dashboard.rb', line 11818

def name
  @name
end

Class Method Details

.jsii_propertiesObject



11820
11821
11822
11823
11824
# File 'quick_sight/cfn_dashboard.rb', line 11820

def self.jsii_properties
  {
    :name => "name",
  }
end

Instance Method Details

#to_jsiiObject



11826
11827
11828
11829
11830
11831
11832
# File 'quick_sight/cfn_dashboard.rb', line 11826

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