Skip to content
v2.273.0

FontConfigurationProperty Struct ​

Configures the display properties of the given text.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const fontConfigurationProperty: quicksight.CfnDashboard.FontConfigurationProperty = {
  fontColor: 'fontColor',
  fontDecoration: 'fontDecoration',
  fontFamily: 'fontFamily',
  fontSize: {
    absolute: 'absolute',
    relative: 'relative',
  },
  fontStyle: 'fontStyle',
  fontWeight: {
    name: 'name',
  },
};

Properties ​

fontColorstringfont_colorstrfontColorStringFontColorstringFontColor*string#
Determines the color of the text.
fontDecorationstringfont_decorationstrfontDecorationStringFontDecorationstringFontDecoration*string#
Determines the appearance of decorative lines on the text.
fontFamilystringfont_familystrfontFamilyStringFontFamilystringFontFamily*string#
The font family that you want to use.
fontSizeIResolvable | CfnDashboard.FontSizePropertyfont_sizetyping.Union[IResolvable, FontSizeProperty]fontSizeIResolvableFontSizeIResolvableFontSizeinterface{}#
The option that determines the text display size.
fontStylestringfont_stylestrfontStyleStringFontStylestringFontStyle*string#
Determines the text display face that is inherited by the given font family.
fontWeightIResolvable | CfnDashboard.FontWeightPropertyfont_weighttyping.Union[IResolvable, FontWeightProperty]fontWeightIResolvableFontWeightIResolvableFontWeightinterface{}#
The option that determines the text display weight, or boldness.