Skip to content
v2.278.0

SrtListenerRouterOutputConfigurationProperty Struct ​

The configuration settings for a router output using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and encryption key configuration.

Example ​

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 srtListenerRouterOutputConfigurationProperty: mediaconnect.CfnRouterOutput.SrtListenerRouterOutputConfigurationProperty = {
  minimumLatencyMilliseconds: 123,
  port: 123,

  // the properties below are optional
  encryptionConfiguration: {
    encryptionKey: {
      roleArn: 'roleArn',
      secretArn: 'secretArn',
    },
  },
};
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_listener_router_output_configuration_property = mediaconnect.CfnRouterOutput.SrtListenerRouterOutputConfigurationProperty(
    minimum_latency_milliseconds=123,
    port=123,

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

SrtListenerRouterOutputConfigurationProperty srtListenerRouterOutputConfigurationProperty = SrtListenerRouterOutputConfigurationProperty.builder()
        .minimumLatencyMilliseconds(123)
        .port(123)

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

var srtListenerRouterOutputConfigurationProperty = new SrtListenerRouterOutputConfigurationProperty {
    MinimumLatencyMilliseconds = 123,
    Port = 123,

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

srtListenerRouterOutputConfigurationProperty := &SrtListenerRouterOutputConfigurationProperty{
	MinimumLatencyMilliseconds: jsii.Number(123),
	Port: jsii.Number(123),

	// the properties below are optional
	EncryptionConfiguration: &SrtEncryptionConfigurationProperty{
		EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
			RoleArn: jsii.String("roleArn"),
			SecretArn: jsii.String("secretArn"),
		},
	},
}

Properties ​

encryptionConfigurationoptionalIResolvable | CfnRouterOutput.SrtEncryptionConfigurationPropertyencryption_configurationoptionaltyping.Union[IResolvable, SrtEncryptionConfigurationProperty]encryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalinterface{} #
Contains the configuration settings for encrypting SRT streams, including the encryption key details and encryption parameters.
minimumLatencyMillisecondsnumberminimum_latency_millisecondsint | floatminimumLatencyMillisecondsNumberMinimumLatencyMillisecondsdoubleMinimumLatencyMilliseconds*float64 required #
The minimum latency in milliseconds for the SRT protocol in listener mode.
portnumberportint | floatportNumberPortdoublePort*float64 required #
The port number for the SRT protocol in listener mode.