> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# HlsBasicPutCdnProps

Properties for HLS Basic PUT CDN settings.

Used as argument in: [HlsCdnSettings.basicPut](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.HlsCdnSettings.html#basicput)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/output-group.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/output-group.ts#L265)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
import * as cdk from 'aws-cdk-lib';
const hlsBasicPutCdnProps: medialive_alpha.HlsBasicPutCdnProps = {
  connectionRetryInterval: 123,
  filecacheDuration: cdk.Duration.minutes(30),
  numRetries: 123,
  restartDelay: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
import aws_cdk as cdk

hls_basic_put_cdn_props = medialive_alpha.HlsBasicPutCdnProps(
    connection_retry_interval=123,
    filecache_duration=cdk.Duration.minutes(30),
    num_retries=123,
    restart_delay=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
import software.amazon.awscdk.*;

HlsBasicPutCdnProps hlsBasicPutCdnProps = HlsBasicPutCdnProps.builder()
        .connectionRetryInterval(123)
        .filecacheDuration(Duration.minutes(30))
        .numRetries(123)
        .restartDelay(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
using Amazon.CDK;

var hlsBasicPutCdnProps = new HlsBasicPutCdnProps {
    ConnectionRetryInterval = 123,
    FilecacheDuration = Duration.Minutes(30),
    NumRetries = 123,
    RestartDelay = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"

hlsBasicPutCdnProps := &HlsBasicPutCdnProps{
	ConnectionRetryInterval: jsii.Number(123),
	FilecacheDuration: cdk.Duration_Minutes(jsii.Number(30)),
	NumRetries: jsii.Number(123),
	RestartDelay: jsii.Number(123),
}
```

## Properties

- `connectionRetryInterval`: number = 1 — The number of seconds to wait before retrying a connection to the CDN.

- `filecacheDuration`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) = Duration.seconds(300) — The size of the file cache for streaming outputs.

- `numRetries`: number = 10 — The number of retry attempts.

- `restartDelay`: number = 1 — The number of seconds to wait before restarting after a failure.
