# SrtSettingsProperty

The configured sources for this SRT input.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

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

- `srtCallerSources`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.SrtCallerSourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.SrtCallerSourceProperty.html)[] — Placeholder documentation for __listOfSrtCallerSource.

- `srtListenerSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.SrtListenerSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.SrtListenerSettingsProperty.html) — 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.
