aws-cdk-lib.aws_quicksight.CfnTemplate.LabelOptionsProperty

interface LabelOptionsProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnTemplate.LabelOptionsProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_LabelOptionsProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnTemplate.LabelOptionsProperty
Pythonaws_cdk.aws_quicksight.CfnTemplate.LabelOptionsProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnTemplate » LabelOptionsProperty

The share label options for the labels.

Example

// 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.CfnTemplate.LabelOptionsProperty = {
  customLabel: 'customLabel',
  fontConfiguration: {
    fontColor: 'fontColor',
    fontDecoration: 'fontDecoration',
    fontSize: {
      relative: 'relative',
    },
    fontStyle: 'fontStyle',
    fontWeight: {
      name: 'name',
    },
  },
  visibility: 'visibility',
};

Properties

NameTypeDescription
customLabel?stringThe text for the label.
fontConfiguration?IResolvable | FontConfigurationPropertyThe font configuration of the label.
visibility?stringDetermines whether or not the label is visible.

customLabel?

Type: string (optional)

The text for the label.


fontConfiguration?

Type: IResolvable | FontConfigurationProperty (optional)

The font configuration of the label.


visibility?

Type: string (optional)

Determines whether or not the label is visible.