Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
SrtCallerUrlOptions Struct
Options for a URL-based SRT caller destination (SrtDestination.callerUrl).
| Stability | Experimental |
|---|---|
| Source | lib/destinations.ts |
Example
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
# 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
// 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();
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"
};
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
encryptionPassphraseSecretISecretencryption_passphrase_secretISecretencryptionPassphraseSecretISecretEncryptionPassphraseSecretISecretEncryptionPassphraseSecretISecret required #The Secrets Manager secret containing the encryption passphrase.
[disable-awslint:prefer-ref-interface]
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string #The stream ID for the SRT connection.
Default: no stream ID