

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::QuickSight::Template AxisLabelOptions
<a name="aws-properties-quicksight-template-axislabeloptions"></a>

The label options for a chart axis. You must specify the field that the label is targeted to.

## Syntax
<a name="aws-properties-quicksight-template-axislabeloptions-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-quicksight-template-axislabeloptions-syntax.json"></a>

```
{
  "[ApplyTo](#cfn-quicksight-template-axislabeloptions-applyto)" : AxisLabelReferenceOptions,
  "[CustomLabel](#cfn-quicksight-template-axislabeloptions-customlabel)" : String,
  "[FontConfiguration](#cfn-quicksight-template-axislabeloptions-fontconfiguration)" : FontConfiguration
}
```

### YAML
<a name="aws-properties-quicksight-template-axislabeloptions-syntax.yaml"></a>

```
  [ApplyTo](#cfn-quicksight-template-axislabeloptions-applyto): 
    AxisLabelReferenceOptions
  [CustomLabel](#cfn-quicksight-template-axislabeloptions-customlabel): String
  [FontConfiguration](#cfn-quicksight-template-axislabeloptions-fontconfiguration): 
    FontConfiguration
```

## Properties
<a name="aws-properties-quicksight-template-axislabeloptions-properties"></a>

`ApplyTo`  <a name="cfn-quicksight-template-axislabeloptions-applyto"></a>
The options that indicate which field the label belongs to.  
*Required*: No  
*Type*: [AxisLabelReferenceOptions](aws-properties-quicksight-template-axislabelreferenceoptions.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`CustomLabel`  <a name="cfn-quicksight-template-axislabeloptions-customlabel"></a>
The text for the axis label.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FontConfiguration`  <a name="cfn-quicksight-template-axislabeloptions-fontconfiguration"></a>
The font configuration of the axis label.  
*Required*: No  
*Type*: [FontConfiguration](aws-properties-quicksight-template-fontconfiguration.md)  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)