Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
HlsWebdavCdnProps Struct
Properties for HLS WebDAV CDN settings.
| Stability | Experimental |
|---|---|
| Source | lib/output-group.ts |
Example
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';
declare const httpTransferMode: medialive_alpha.HttpTransferMode;
const hlsWebdavCdnProps: medialive_alpha.HlsWebdavCdnProps = {
connectionRetryInterval: 123,
filecacheDuration: cdk.Duration.minutes(30),
httpTransferMode: httpTransferMode,
numRetries: 123,
restartDelay: 123,
};
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
# http_transfer_mode: medialive_alpha.HttpTransferMode
hls_webdav_cdn_props = medialive_alpha.HlsWebdavCdnProps(
connection_retry_interval=123,
filecache_duration=cdk.Duration.minutes(30),
http_transfer_mode=http_transfer_mode,
num_retries=123,
restart_delay=123
)
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.*;
HttpTransferMode httpTransferMode;
HlsWebdavCdnProps hlsWebdavCdnProps = HlsWebdavCdnProps.builder()
.connectionRetryInterval(123)
.filecacheDuration(Duration.minutes(30))
.httpTransferMode(httpTransferMode)
.numRetries(123)
.restartDelay(123)
.build();
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;
HttpTransferMode httpTransferMode;
var hlsWebdavCdnProps = new HlsWebdavCdnProps {
ConnectionRetryInterval = 123,
FilecacheDuration = Duration.Minutes(30),
HttpTransferMode = httpTransferMode,
NumRetries = 123,
RestartDelay = 123
};
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"
var httpTransferMode HttpTransferMode
hlsWebdavCdnProps := &HlsWebdavCdnProps{
ConnectionRetryInterval: jsii.Number(123),
FilecacheDuration: cdk.Duration_Minutes(jsii.Number(30)),
HttpTransferMode: httpTransferMode,
NumRetries: jsii.Number(123),
RestartDelay: jsii.Number(123),
}
Properties
connectionRetryIntervaloptionalnumberconnection_retry_intervaloptionalint | floatconnectionRetryIntervaloptionalNumberConnectionRetryIntervaloptionaldoubleConnectionRetryIntervaloptional*float64 = 1 #The number of seconds to wait before retrying a connection to the CDN.
filecacheDurationoptionalDurationfilecache_durationoptionalDurationfilecacheDurationoptionalDurationFilecacheDurationoptionalDurationFilecacheDurationoptionalDuration = Duration.seconds(300) #The size of the file cache for streaming outputs.
httpTransferModeoptionalHttpTransferModehttp_transfer_modeoptionalHttpTransferModehttpTransferModeoptionalHttpTransferModeHttpTransferModeoptionalHttpTransferModeHttpTransferModeoptionalHttpTransferMode = HttpTransferMode.NON_CHUNKED #Specifies whether to use chunked transfer encoding.
numRetriesoptionalnumbernum_retriesoptionalint | floatnumRetriesoptionalNumberNumRetriesoptionaldoubleNumRetriesoptional*float64 = 10 #The number of retry attempts.
restartDelayoptionalnumberrestart_delayoptionalint | floatrestartDelayoptionalNumberRestartDelayoptionaldoubleRestartDelayoptional*float64 = 1 #The number of seconds to wait before restarting after a failure.