SrtSettingsProperty Struct
The configured sources for this SRT input.
| Source | |
|---|---|
| Type last changed |
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 srtSettingsProperty: medialive.CfnInput.SrtSettingsProperty = {
srtCallerSources: [{
decryption: {
algorithm: 'algorithm',
passphraseSecretArn: 'passphraseSecretArn',
},
minimumLatency: 123,
srtListenerAddress: 'srtListenerAddress',
srtListenerPort: 'srtListenerPort',
streamId: 'streamId',
}],
srtListenerSettings: {
decryption: {
algorithm: 'algorithm',
passphraseSecretArn: 'passphraseSecretArn',
},
minimumLatency: 123,
streamId: 'streamId',
},
};
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
srt_settings_property = medialive.CfnInput.SrtSettingsProperty(
srt_caller_sources=[medialive.CfnInput.SrtCallerSourceProperty(
decryption=medialive.CfnInput.SrtCallerDecryptionProperty(
algorithm="algorithm",
passphrase_secret_arn="passphraseSecretArn"
),
minimum_latency=123,
srt_listener_address="srtListenerAddress",
srt_listener_port="srtListenerPort",
stream_id="streamId"
)],
srt_listener_settings=medialive.CfnInput.SrtListenerSettingsProperty(
decryption=medialive.CfnInput.SrtListenerDecryptionProperty(
algorithm="algorithm",
passphrase_secret_arn="passphraseSecretArn"
),
minimum_latency=123,
stream_id="streamId"
)
)
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.*;
SrtSettingsProperty srtSettingsProperty = SrtSettingsProperty.builder()
.srtCallerSources(List.of(SrtCallerSourceProperty.builder()
.decryption(SrtCallerDecryptionProperty.builder()
.algorithm("algorithm")
.passphraseSecretArn("passphraseSecretArn")
.build())
.minimumLatency(123)
.srtListenerAddress("srtListenerAddress")
.srtListenerPort("srtListenerPort")
.streamId("streamId")
.build()))
.srtListenerSettings(SrtListenerSettingsProperty.builder()
.decryption(SrtListenerDecryptionProperty.builder()
.algorithm("algorithm")
.passphraseSecretArn("passphraseSecretArn")
.build())
.minimumLatency(123)
.streamId("streamId")
.build())
.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 srtSettingsProperty = new SrtSettingsProperty {
SrtCallerSources = new [] { new SrtCallerSourceProperty {
Decryption = new SrtCallerDecryptionProperty {
Algorithm = "algorithm",
PassphraseSecretArn = "passphraseSecretArn"
},
MinimumLatency = 123,
SrtListenerAddress = "srtListenerAddress",
SrtListenerPort = "srtListenerPort",
StreamId = "streamId"
} },
SrtListenerSettings = new SrtListenerSettingsProperty {
Decryption = new SrtListenerDecryptionProperty {
Algorithm = "algorithm",
PassphraseSecretArn = "passphraseSecretArn"
},
MinimumLatency = 123,
StreamId = "streamId"
}
};
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"
srtSettingsProperty := &SrtSettingsProperty{
SrtCallerSources: []interface{}{
&SrtCallerSourceProperty{
Decryption: &SrtCallerDecryptionProperty{
Algorithm: jsii.String("algorithm"),
PassphraseSecretArn: jsii.String("passphraseSecretArn"),
},
MinimumLatency: jsii.Number(123),
SrtListenerAddress: jsii.String("srtListenerAddress"),
SrtListenerPort: jsii.String("srtListenerPort"),
StreamId: jsii.String("streamId"),
},
},
SrtListenerSettings: &SrtListenerSettingsProperty{
Decryption: &SrtListenerDecryptionProperty{
Algorithm: jsii.String("algorithm"),
PassphraseSecretArn: jsii.String("passphraseSecretArn"),
},
MinimumLatency: jsii.Number(123),
StreamId: jsii.String("streamId"),
},
}
Properties
srtCallerSourcesoptionalIResolvable | IResolvable | CfnInput.SrtCallerSourceProperty[]srt_caller_sourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SrtCallerSourceProperty]]]srtCallerSourcesoptionalIResolvableSrtCallerSourcesoptionalIResolvableSrtCallerSourcesoptionalinterface{} #Placeholder documentation for __listOfSrtCallerSource.
srtListenerSettingsoptionalIResolvable | CfnInput.srt_listener_settingsoptionaltyping.Union[IResolvable, SrtListenerSettingsProperty]srtListenerSettingsoptionalIResolvableSrtListenerSettingsoptionalIResolvableSrtListenerSettingsoptionalinterface{} #The configuration for a source that uses SRT as the connection protocol.
In terms of establishing the connection, MediaLive is the listener and the upstream system is the caller.