HlsAkamaiSettingsProperty Struct
The Akamai settings in an HLS output.
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 hlsAkamaiSettingsProperty: medialive.CfnChannel.HlsAkamaiSettingsProperty = {
connectionRetryInterval: 123,
filecacheDuration: 123,
httpTransferMode: 'httpTransferMode',
numRetries: 123,
restartDelay: 123,
salt: 'salt',
token: 'token',
};
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_akamai_settings_property = medialive.CfnChannel.HlsAkamaiSettingsProperty(
connection_retry_interval=123,
filecache_duration=123,
http_transfer_mode="httpTransferMode",
num_retries=123,
restart_delay=123,
salt="salt",
token="token"
)
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.*;
HlsAkamaiSettingsProperty hlsAkamaiSettingsProperty = HlsAkamaiSettingsProperty.builder()
.connectionRetryInterval(123)
.filecacheDuration(123)
.httpTransferMode("httpTransferMode")
.numRetries(123)
.restartDelay(123)
.salt("salt")
.token("token")
.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 hlsAkamaiSettingsProperty = new HlsAkamaiSettingsProperty {
ConnectionRetryInterval = 123,
FilecacheDuration = 123,
HttpTransferMode = "httpTransferMode",
NumRetries = 123,
RestartDelay = 123,
Salt = "salt",
Token = "token"
};
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"
hlsAkamaiSettingsProperty := &HlsAkamaiSettingsProperty{
ConnectionRetryInterval: jsii.Number(123),
FilecacheDuration: jsii.Number(123),
HttpTransferMode: jsii.String("httpTransferMode"),
NumRetries: jsii.Number(123),
RestartDelay: jsii.Number(123),
Salt: jsii.String("salt"),
Token: jsii.String("token"),
}
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.
httpTransferModeoptionalstringhttp_transfer_modeoptionalstrhttpTransferModeoptionalStringHttpTransferModeoptionalstringHttpTransferModeoptional*string#Specifies whether to use chunked transfer encoding to Akamai.
To enable this feature, contact Akamai.
numRetriesoptionalnumbernum_retriesoptionalint | floatnumRetriesoptionalNumberNumRetriesoptionaldoubleNumRetriesoptional*float64#The number of retry attempts that will be made 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.
The salt for authenticated Akamai.
The token parameter for authenticated Akamai.
If this is not specified, gda is used.