Class: AWSCDK::QuickSight::CfnTemplate::FontWeightProperty

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



10864
10865
10866
10867
# File 'quick_sight/cfn_template.rb', line 10864

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.



10873
10874
10875
# File 'quick_sight/cfn_template.rb', line 10873

def name
  @name
end

Class Method Details

.jsii_propertiesObject



10875
10876
10877
10878
10879
# File 'quick_sight/cfn_template.rb', line 10875

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

Instance Method Details

#to_jsiiObject



10881
10882
10883
10884
10885
10886
10887
# File 'quick_sight/cfn_template.rb', line 10881

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