Skip to content
v2.278.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

HlsBasicPutCdnProps Struct ​

Properties for HLS Basic PUT CDN settings.

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';
const hlsBasicPutCdnProps: medialive_alpha.HlsBasicPutCdnProps = {
  connectionRetryInterval: 123,
  filecacheDuration: cdk.Duration.minutes(30),
  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

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
// 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();
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
};
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 ​

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.
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.