

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

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

The display options of a control.

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

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

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

```
{
  "[DateTimeFormat](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-datetimeformat)" : String,
  "[InfoIconLabelOptions](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-infoiconlabeloptions)" : SheetControlInfoIconLabelOptions,
  "[TitleOptions](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-titleoptions)" : LabelOptions
}
```

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

```
  [DateTimeFormat](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-datetimeformat): String
  [InfoIconLabelOptions](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-infoiconlabeloptions): 
    SheetControlInfoIconLabelOptions
  [TitleOptions](#cfn-quicksight-template-relativedatetimecontroldisplayoptions-titleoptions): 
    LabelOptions
```

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

`DateTimeFormat`  <a name="cfn-quicksight-template-relativedatetimecontroldisplayoptions-datetimeformat"></a>
Customize how dates are formatted in controls.  
*Required*: No  
*Type*: String  
*Minimum*: `1`  
*Maximum*: `128`  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`InfoIconLabelOptions`  <a name="cfn-quicksight-template-relativedatetimecontroldisplayoptions-infoiconlabeloptions"></a>
The configuration of info icon label options.  
*Required*: No  
*Type*: [SheetControlInfoIconLabelOptions](aws-properties-quicksight-template-sheetcontrolinfoiconlabeloptions.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TitleOptions`  <a name="cfn-quicksight-template-relativedatetimecontroldisplayoptions-titleoptions"></a>
The options to configure the title visibility, name, and font size.  
*Required*: No  
*Type*: [LabelOptions](aws-properties-quicksight-template-labeloptions.md)  
*Update requires*: [No interruption](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)