Skip to content
v2.278.0

SrtOutputDestinationSettingsProperty Struct ​

Example ​

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 srtOutputDestinationSettingsProperty: medialive.CfnChannel.SrtOutputDestinationSettingsProperty = {
  connectionMode: 'connectionMode',
  encryptionPassphraseSecretArn: 'encryptionPassphraseSecretArn',
  listenerPort: 123,
  streamId: 'streamId',
  url: 'url',
};
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_output_destination_settings_property = medialive.CfnChannel.SrtOutputDestinationSettingsProperty(
    connection_mode="connectionMode",
    encryption_passphrase_secret_arn="encryptionPassphraseSecretArn",
    listener_port=123,
    stream_id="streamId",
    url="url"
)
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.*;

SrtOutputDestinationSettingsProperty srtOutputDestinationSettingsProperty = SrtOutputDestinationSettingsProperty.builder()
        .connectionMode("connectionMode")
        .encryptionPassphraseSecretArn("encryptionPassphraseSecretArn")
        .listenerPort(123)
        .streamId("streamId")
        .url("url")
        .build();
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 srtOutputDestinationSettingsProperty = new SrtOutputDestinationSettingsProperty {
    ConnectionMode = "connectionMode",
    EncryptionPassphraseSecretArn = "encryptionPassphraseSecretArn",
    ListenerPort = 123,
    StreamId = "streamId",
    Url = "url"
};
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"

srtOutputDestinationSettingsProperty := &SrtOutputDestinationSettingsProperty{
	ConnectionMode: jsii.String("connectionMode"),
	EncryptionPassphraseSecretArn: jsii.String("encryptionPassphraseSecretArn"),
	ListenerPort: jsii.Number(123),
	StreamId: jsii.String("streamId"),
	Url: jsii.String("url"),
}

Properties ​

connectionModeoptionalstringconnection_modeoptionalstrconnectionModeoptionalStringConnectionModeoptionalstringConnectionModeoptional*string #
encryptionPassphraseSecretArnoptionalstringencryption_passphrase_secret_arnoptionalstrencryptionPassphraseSecretArnoptionalStringEncryptionPassphraseSecretArnoptionalstringEncryptionPassphraseSecretArnoptional*string #
listenerPortoptionalnumberlistener_portoptionalint | floatlistenerPortoptionalNumberListenerPortoptionaldoubleListenerPortoptional*float64 #
streamIdoptionalstringstream_idoptionalstrstreamIdoptionalStringStreamIdoptionalstringStreamIdoptional*string #
urloptionalstringurloptionalstrurloptionalStringUrloptionalstringUrloptional*string #