Class: AWSCDK::QuickSight::CfnAnalysis::FontWeightProperty

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



11056
11057
11058
11059
# File 'quick_sight/cfn_analysis.rb', line 11056

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.



11065
11066
11067
# File 'quick_sight/cfn_analysis.rb', line 11065

def name
  @name
end

Class Method Details

.jsii_propertiesObject



11067
11068
11069
11070
11071
# File 'quick_sight/cfn_analysis.rb', line 11067

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

Instance Method Details

#to_jsiiObject



11073
11074
11075
11076
11077
11078
11079
# File 'quick_sight/cfn_analysis.rb', line 11073

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