Skip to content
v2.273.0

LabelOptionsProperty Struct ​

The share label options for the labels.

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 labelOptionsProperty: quicksight.CfnAnalysis.LabelOptionsProperty = {
  customLabel: 'customLabel',
  fontConfiguration: {
    fontColor: 'fontColor',
    fontDecoration: 'fontDecoration',
    fontFamily: 'fontFamily',
    fontSize: {
      absolute: 'absolute',
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  visibility: 'visibility',
};

Properties ​

customLabelstringcustom_labelstrcustomLabelStringCustomLabelstringCustomLabel*string#
The text for the label.
fontConfigurationIResolvable | CfnAnalysis.FontConfigurationPropertyfont_configurationtyping.Union[IResolvable, FontConfigurationProperty]fontConfigurationIResolvableFontConfigurationIResolvableFontConfigurationinterface{}#
The font configuration of the label.
visibilitystringvisibilitystrvisibilityStringVisibilitystringVisibility*string#
Determines whether or not the label is visible.