Skip to content
v2.275.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 ​

fontColoroptionalstringfont_coloroptionalstrfontColoroptionalStringFontColoroptionalstringFontColoroptional*string#
Determines the color of the text.
fontDecorationoptionalstringfont_decorationoptionalstrfontDecorationoptionalStringFontDecorationoptionalstringFontDecorationoptional*string#
Determines the appearance of decorative lines on the text.
fontFamilyoptionalstringfont_familyoptionalstrfontFamilyoptionalStringFontFamilyoptionalstringFontFamilyoptional*string#
The font family that you want to use.
fontSizeoptionalIResolvable | CfnDashboard.FontSizePropertyfont_sizeoptionaltyping.Union[IResolvable, FontSizeProperty]fontSizeoptionalIResolvableFontSizeoptionalIResolvableFontSizeoptionalinterface{}#
The option that determines the text display size.
fontStyleoptionalstringfont_styleoptionalstrfontStyleoptionalStringFontStyleoptionalstringFontStyleoptional*string#
Determines the text display face that is inherited by the given font family.
fontWeightoptionalIResolvable | CfnDashboard.FontWeightPropertyfont_weightoptionaltyping.Union[IResolvable, FontWeightProperty]fontWeightoptionalIResolvableFontWeightoptionalIResolvableFontWeightoptionalinterface{}#
The option that determines the text display weight, or boldness.