Skip to content
v2.278.0

HlsBasicPutSettingsProperty ​

Struct External

The configuration of HLS Basic Put Settings.

The parent of this entity is HlsCdnSettings.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const hlsBasicPutSettingsProperty: medialive.CfnChannel.HlsBasicPutSettingsProperty = {
  connectionRetryInterval: 123,
  filecacheDuration: 123,
  numRetries: 123,
  restartDelay: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

hls_basic_put_settings_property = medialive.CfnChannel.HlsBasicPutSettingsProperty(
    connection_retry_interval=123,
    filecache_duration=123,
    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.*;

HlsBasicPutSettingsProperty hlsBasicPutSettingsProperty = HlsBasicPutSettingsProperty.builder()
        .connectionRetryInterval(123)
        .filecacheDuration(123)
        .numRetries(123)
        .restartDelay(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive;

var hlsBasicPutSettingsProperty = new HlsBasicPutSettingsProperty {
    ConnectionRetryInterval = 123,
    FilecacheDuration = 123,
    NumRetries = 123,
    RestartDelay = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

hlsBasicPutSettingsProperty := &HlsBasicPutSettingsProperty{
	ConnectionRetryInterval: jsii.Number(123),
	FilecacheDuration: jsii.Number(123),
	NumRetries: jsii.Number(123),
	RestartDelay: jsii.Number(123),
}

Properties ​

connectionRetryIntervaloptionalnumberconnection_retry_intervaloptionalint | floatconnectionRetryIntervaloptionalNumberConnectionRetryIntervaloptionaldoubleConnectionRetryIntervaloptional*float64 #
The number of seconds to wait before retrying a connection to the CDN if the connection is lost.
filecacheDurationoptionalnumberfilecache_durationoptionalint | floatfilecacheDurationoptionalNumberFilecacheDurationoptionaldoubleFilecacheDurationoptional*float64 #
The size, in seconds, of the file cache for streaming outputs.
numRetriesoptionalnumbernum_retriesoptionalint | floatnumRetriesoptionalNumberNumRetriesoptionaldoubleNumRetriesoptional*float64 #
The number of retry attempts that MediaLive makes before the channel is put into an error state.
restartDelayoptionalnumberrestart_delayoptionalint | floatrestartDelayoptionalNumberRestartDelayoptionaldoubleRestartDelayoptional*float64 #
If a streaming output fails, the number of seconds to wait until a restart is initiated.

A value of 0 means never restart.