

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::MediaLive::Channel HlsBasicPutSettings
<a name="aws-properties-medialive-channel-hlsbasicputsettings"></a>

The configuration of HLS Basic Put Settings.

The parent of this entity is HlsCdnSettings.

## Syntax
<a name="aws-properties-medialive-channel-hlsbasicputsettings-syntax"></a>

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

### JSON
<a name="aws-properties-medialive-channel-hlsbasicputsettings-syntax.json"></a>

```
{
  "[ConnectionRetryInterval](#cfn-medialive-channel-hlsbasicputsettings-connectionretryinterval)" : Integer,
  "[FilecacheDuration](#cfn-medialive-channel-hlsbasicputsettings-filecacheduration)" : Integer,
  "[NumRetries](#cfn-medialive-channel-hlsbasicputsettings-numretries)" : Integer,
  "[RestartDelay](#cfn-medialive-channel-hlsbasicputsettings-restartdelay)" : Integer
}
```

### YAML
<a name="aws-properties-medialive-channel-hlsbasicputsettings-syntax.yaml"></a>

```
  [ConnectionRetryInterval](#cfn-medialive-channel-hlsbasicputsettings-connectionretryinterval): Integer
  [FilecacheDuration](#cfn-medialive-channel-hlsbasicputsettings-filecacheduration): Integer
  [NumRetries](#cfn-medialive-channel-hlsbasicputsettings-numretries): Integer
  [RestartDelay](#cfn-medialive-channel-hlsbasicputsettings-restartdelay): Integer
```

## Properties
<a name="aws-properties-medialive-channel-hlsbasicputsettings-properties"></a>

`ConnectionRetryInterval`  <a name="cfn-medialive-channel-hlsbasicputsettings-connectionretryinterval"></a>
The number of seconds to wait before retrying a connection to the CDN if the connection is lost.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`FilecacheDuration`  <a name="cfn-medialive-channel-hlsbasicputsettings-filecacheduration"></a>
The size, in seconds, of the file cache for streaming outputs.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`NumRetries`  <a name="cfn-medialive-channel-hlsbasicputsettings-numretries"></a>
The number of retry attempts that MediaLive makes before the channel is put into an error state.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`RestartDelay`  <a name="cfn-medialive-channel-hlsbasicputsettings-restartdelay"></a>
If a streaming output fails, the number of seconds to wait until a restart is initiated. A value of 0 means never restart.  
*Required*: No  
*Type*: Integer  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)