> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# SrtCallerProtocolProps

Properties for SRT Caller protocol configuration.

Used as argument in: [RouterInputProtocol.srtCaller](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.RouterInputProtocol.html#srtcaller)

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/router-input.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/router-input.ts#L437)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import * as cdk from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
import { aws_secretsmanager as secretsmanager } from 'aws-cdk-lib';

declare const role: iam.Role;
declare const secret: secretsmanager.Secret;
const srtCallerProtocolProps: mediaconnect_alpha.SrtCallerProtocolProps = {
  minimumLatency: cdk.Duration.minutes(30),
  sourceAddress: 'sourceAddress',
  sourcePort: 123,

  // the properties below are optional
  decryptionConfiguration: {
    secret: secret,

    // the properties below are optional
    role: role,
  },
  streamId: 'streamId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
import aws_cdk as cdk
from aws_cdk import aws_iam as iam
from aws_cdk import aws_secretsmanager as secretsmanager

# role: iam.Role
# secret: secretsmanager.Secret

srt_caller_protocol_props = mediaconnect_alpha.SrtCallerProtocolProps(
    minimum_latency=cdk.Duration.minutes(30),
    source_address="sourceAddress",
    source_port=123,

    # the properties below are optional
    decryption_configuration=mediaconnect_alpha.RouterSrtEncryption(
        secret=secret,

        # the properties below are optional
        role=role
    ),
    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.alpha.*;
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.secretsmanager.*;

Role role;
Secret secret;

SrtCallerProtocolProps srtCallerProtocolProps = SrtCallerProtocolProps.builder()
        .minimumLatency(Duration.minutes(30))
        .sourceAddress("sourceAddress")
        .sourcePort(123)

        // the properties below are optional
        .decryptionConfiguration(RouterSrtEncryption.builder()
                .secret(secret)

                // the properties below are optional
                .role(role)
                .build())
        .streamId("streamId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
using Amazon.CDK;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.SecretsManager;

Role role;
Secret secret;

var srtCallerProtocolProps = new SrtCallerProtocolProps {
    MinimumLatency = Duration.Minutes(30),
    SourceAddress = "sourceAddress",
    SourcePort = 123,

    // the properties below are optional
    DecryptionConfiguration = new RouterSrtEncryption {
        Secret = secret,

        // the properties below are optional
        Role = role
    },
    StreamId = "streamId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
import cdk "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"
import "github.com/aws/aws-cdk-go/awscdk"

var role Role
var secret Secret

srtCallerProtocolProps := &SrtCallerProtocolProps{
	MinimumLatency: cdk.Duration_Minutes(jsii.Number(30)),
	SourceAddress: jsii.String("sourceAddress"),
	SourcePort: jsii.Number(123),

	// the properties below are optional
	DecryptionConfiguration: &RouterSrtEncryption{
		Secret: secret,

		// the properties below are optional
		Role: role,
	},
	StreamId: jsii.String("streamId"),
}
```

## Properties

- `decryptionConfiguration`: [RouterSrtEncryption](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-mediaconnect-alpha.RouterSrtEncryption.html) — Optional decryption configuration for encrypted SRT streams.

  **Default:** No decryption

- `minimumLatency`: [Duration](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Duration.html) (required) — Minimum latency for SRT.

- `sourceAddress`: string (required) — Source IP address to connect to.

- `sourcePort`: number (required) — Source port to connect to.

- `streamId`: string — Optional stream ID for SRT connection.

  **Default:** No stream ID
