> **Experimental**
>
> `@aws-cdk/aws-medialive-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.
# SrtCallerUrlOptions

Options for a URL-based SRT caller destination (`SrtDestination.callerUrl`).

Used as argument in: [SrtDestination.callerUrl](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.SrtDestination.html#callerurl)

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

## Example

TypeScript:

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

declare const secret: secretsmanager.Secret;
const srtCallerUrlOptions: medialive_alpha.SrtCallerUrlOptions = {
  encryptionPassphraseSecret: secret,

  // the properties below are optional
  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_medialive_alpha as medialive_alpha
from aws_cdk import aws_secretsmanager as secretsmanager

# secret: secretsmanager.Secret

srt_caller_url_options = medialive_alpha.SrtCallerUrlOptions(
    encryption_passphrase_secret=secret,

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

Secret secret;

SrtCallerUrlOptions srtCallerUrlOptions = SrtCallerUrlOptions.builder()
        .encryptionPassphraseSecret(secret)

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

C# / .NET:

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

Secret secret;

var srtCallerUrlOptions = new SrtCallerUrlOptions {
    EncryptionPassphraseSecret = secret,

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

Golang:

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

var secret Secret

srtCallerUrlOptions := &SrtCallerUrlOptions{
	EncryptionPassphraseSecret: secret,

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

## Properties

- `encryptionPassphraseSecret`: [ISecret](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_secretsmanager.ISecret.html) (required) — The Secrets Manager secret containing the encryption passphrase.

  [disable-awslint:prefer-ref-interface]

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

  **Default:** no stream ID
