# SrtCallerRouterInputConfigurationProperty

The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.

- Source: Generated at build time
- Type last changed: v2.227.0 · 21 Nov 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const srtCallerRouterInputConfigurationProperty: mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty = {
  minimumLatencyMilliseconds: 123,
  sourceAddress: 'sourceAddress',
  sourcePort: 123,

  // the properties below are optional
  decryptionConfiguration: {
    encryptionKey: {
      roleArn: 'roleArn',
      secretArn: 'secretArn',
    },
  },
  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_mediaconnect as mediaconnect

srt_caller_router_input_configuration_property = mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
    minimum_latency_milliseconds=123,
    source_address="sourceAddress",
    source_port=123,

    # the properties below are optional
    decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
        encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
            role_arn="roleArn",
            secret_arn="secretArn"
        )
    ),
    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.mediaconnect.*;

SrtCallerRouterInputConfigurationProperty srtCallerRouterInputConfigurationProperty = SrtCallerRouterInputConfigurationProperty.builder()
        .minimumLatencyMilliseconds(123)
        .sourceAddress("sourceAddress")
        .sourcePort(123)

        // the properties below are optional
        .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                        .roleArn("roleArn")
                        .secretArn("secretArn")
                        .build())
                .build())
        .streamId("streamId")
        .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.MediaConnect;

var srtCallerRouterInputConfigurationProperty = new SrtCallerRouterInputConfigurationProperty {
    MinimumLatencyMilliseconds = 123,
    SourceAddress = "sourceAddress",
    SourcePort = 123,

    // the properties below are optional
    DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
        EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
            RoleArn = "roleArn",
            SecretArn = "secretArn"
        }
    },
    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"

srtCallerRouterInputConfigurationProperty := &SrtCallerRouterInputConfigurationProperty{
	MinimumLatencyMilliseconds: jsii.Number(123),
	SourceAddress: jsii.String("sourceAddress"),
	SourcePort: jsii.Number(123),

	// the properties below are optional
	DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
		EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
			RoleArn: jsii.String("roleArn"),
			SecretArn: jsii.String("secretArn"),
		},
	},
	StreamId: jsii.String("streamId"),
}
```

## Properties

- `decryptionConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.SrtDecryptionConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty.html) — Contains the configuration settings for decrypting SRT streams, including the encryption key details and decryption parameters.

- `minimumLatencyMilliseconds`: number (required) — The minimum latency in milliseconds for the SRT protocol in caller mode.

- `sourceAddress`: string (required) — The source IP address for the SRT protocol in caller mode.

- `sourcePort`: number (required) — The source port number for the SRT protocol in caller mode.

- `streamId`: string — The stream ID for the SRT protocol in caller mode.
