Class: AWSCDK::Connect::CfnWorkspace::FontFamilyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
connect/cfn_workspace.rb

Overview

Contains font family configuration for workspace themes.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default: nil) ⇒ FontFamilyProperty

Returns a new instance of FontFamilyProperty.

Parameters:

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

    The default font family to use in the workspace theme.



643
644
645
646
# File 'connect/cfn_workspace.rb', line 643

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

Instance Attribute Details

#defaultString? (readonly)

The default font family to use in the workspace theme.



652
653
654
# File 'connect/cfn_workspace.rb', line 652

def default
  @default
end

Class Method Details

.jsii_propertiesObject



654
655
656
657
658
# File 'connect/cfn_workspace.rb', line 654

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

Instance Method Details

#to_jsiiObject



660
661
662
663
664
665
666
# File 'connect/cfn_workspace.rb', line 660

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