Skip to content
v2.278.0

RouterOutputProtocolConfigurationProperty Struct ​

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';

declare const public_: any;
const routerOutputProtocolConfigurationProperty: mediaconnect.CfnRouterOutput.RouterOutputProtocolConfigurationProperty = {
  rist: {
    destinationAddress: 'destinationAddress',
    destinationPort: 123,
  },
  rtmpPush: {
    applicationName: 'applicationName',
    destinationAddress: 'destinationAddress',
    destinationPort: 123,
    streamName: 'streamName',

    // the properties below are optional
    tlsEncryption: {
      encryptionConfiguration: {
        public: public_,
      },

      // the properties below are optional
      encryptionType: 'encryptionType',
    },
  },
  rtp: {
    destinationAddress: 'destinationAddress',
    destinationPort: 123,

    // the properties below are optional
    forwardErrorCorrection: 'forwardErrorCorrection',
  },
  srtCaller: {
    destinationAddress: 'destinationAddress',
    destinationPort: 123,
    minimumLatencyMilliseconds: 123,

    // the properties below are optional
    encryptionConfiguration: {
      encryptionKey: {
        roleArn: 'roleArn',
        secretArn: 'secretArn',
      },
    },
    streamId: 'streamId',
  },
  srtListener: {
    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

# public_: Any

router_output_protocol_configuration_property = mediaconnect.CfnRouterOutput.RouterOutputProtocolConfigurationProperty(
    rist=mediaconnect.CfnRouterOutput.RistRouterOutputConfigurationProperty(
        destination_address="destinationAddress",
        destination_port=123
    ),
    rtmp_push=mediaconnect.CfnRouterOutput.RtmpPushRouterOutputConfigurationProperty(
        application_name="applicationName",
        destination_address="destinationAddress",
        destination_port=123,
        stream_name="streamName",

        # the properties below are optional
        tls_encryption=mediaconnect.CfnRouterOutput.TlsEncryptionProperty(
            encryption_configuration=mediaconnect.CfnRouterOutput.TlsEncryptionConfigurationProperty(
                public=public_
            ),

            # the properties below are optional
            encryption_type="encryptionType"
        )
    ),
    rtp=mediaconnect.CfnRouterOutput.RtpRouterOutputConfigurationProperty(
        destination_address="destinationAddress",
        destination_port=123,

        # the properties below are optional
        forward_error_correction="forwardErrorCorrection"
    ),
    srt_caller=mediaconnect.CfnRouterOutput.SrtCallerRouterOutputConfigurationProperty(
        destination_address="destinationAddress",
        destination_port=123,
        minimum_latency_milliseconds=123,

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

Object public_;

RouterOutputProtocolConfigurationProperty routerOutputProtocolConfigurationProperty = RouterOutputProtocolConfigurationProperty.builder()
        .rist(RistRouterOutputConfigurationProperty.builder()
                .destinationAddress("destinationAddress")
                .destinationPort(123)
                .build())
        .rtmpPush(RtmpPushRouterOutputConfigurationProperty.builder()
                .applicationName("applicationName")
                .destinationAddress("destinationAddress")
                .destinationPort(123)
                .streamName("streamName")

                // the properties below are optional
                .tlsEncryption(TlsEncryptionProperty.builder()
                        .encryptionConfiguration(TlsEncryptionConfigurationProperty.builder()
                                .public(public_)
                                .build())

                        // the properties below are optional
                        .encryptionType("encryptionType")
                        .build())
                .build())
        .rtp(RtpRouterOutputConfigurationProperty.builder()
                .destinationAddress("destinationAddress")
                .destinationPort(123)

                // the properties below are optional
                .forwardErrorCorrection("forwardErrorCorrection")
                .build())
        .srtCaller(SrtCallerRouterOutputConfigurationProperty.builder()
                .destinationAddress("destinationAddress")
                .destinationPort(123)
                .minimumLatencyMilliseconds(123)

                // the properties below are optional
                .encryptionConfiguration(SrtEncryptionConfigurationProperty.builder()
                        .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                .roleArn("roleArn")
                                .secretArn("secretArn")
                                .build())
                        .build())
                .streamId("streamId")
                .build())
        .srtListener(SrtListenerRouterOutputConfigurationProperty.builder()
                .minimumLatencyMilliseconds(123)
                .port(123)

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

var routerOutputProtocolConfigurationProperty = new RouterOutputProtocolConfigurationProperty {
    Rist = new RistRouterOutputConfigurationProperty {
        DestinationAddress = "destinationAddress",
        DestinationPort = 123
    },
    RtmpPush = new RtmpPushRouterOutputConfigurationProperty {
        ApplicationName = "applicationName",
        DestinationAddress = "destinationAddress",
        DestinationPort = 123,
        StreamName = "streamName",

        // the properties below are optional
        TlsEncryption = new TlsEncryptionProperty {
            EncryptionConfiguration = new TlsEncryptionConfigurationProperty {
                Public = public_
            },

            // the properties below are optional
            EncryptionType = "encryptionType"
        }
    },
    Rtp = new RtpRouterOutputConfigurationProperty {
        DestinationAddress = "destinationAddress",
        DestinationPort = 123,

        // the properties below are optional
        ForwardErrorCorrection = "forwardErrorCorrection"
    },
    SrtCaller = new SrtCallerRouterOutputConfigurationProperty {
        DestinationAddress = "destinationAddress",
        DestinationPort = 123,
        MinimumLatencyMilliseconds = 123,

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

var public_ interface{}

routerOutputProtocolConfigurationProperty := &RouterOutputProtocolConfigurationProperty{
	Rist: &RistRouterOutputConfigurationProperty{
		DestinationAddress: jsii.String("destinationAddress"),
		DestinationPort: jsii.Number(123),
	},
	RtmpPush: &RtmpPushRouterOutputConfigurationProperty{
		ApplicationName: jsii.String("applicationName"),
		DestinationAddress: jsii.String("destinationAddress"),
		DestinationPort: jsii.Number(123),
		StreamName: jsii.String("streamName"),

		// the properties below are optional
		TlsEncryption: &TlsEncryptionProperty{
			EncryptionConfiguration: &TlsEncryptionConfigurationProperty{
				Public: public_,
			},

			// the properties below are optional
			EncryptionType: jsii.String("encryptionType"),
		},
	},
	Rtp: &RtpRouterOutputConfigurationProperty{
		DestinationAddress: jsii.String("destinationAddress"),
		DestinationPort: jsii.Number(123),

		// the properties below are optional
		ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
	},
	SrtCaller: &SrtCallerRouterOutputConfigurationProperty{
		DestinationAddress: jsii.String("destinationAddress"),
		DestinationPort: jsii.Number(123),
		MinimumLatencyMilliseconds: jsii.Number(123),

		// the properties below are optional
		EncryptionConfiguration: &SrtEncryptionConfigurationProperty{
			EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
				RoleArn: jsii.String("roleArn"),
				SecretArn: jsii.String("secretArn"),
			},
		},
		StreamId: jsii.String("streamId"),
	},
	SrtListener: &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 ​

ristoptionalIResolvable | CfnRouterOutput.RistRouterOutputConfigurationPropertyristoptionaltyping.Union[IResolvable, RistRouterOutputConfigurationProperty]ristoptionalIResolvableRistoptionalIResolvableRistoptionalinterface{} #
The configuration settings for a router output using the RIST (Reliable Internet Stream Transport) protocol, including the destination address and port.
rtmpPushoptionalIResolvable | CfnRouterOutput.RtmpPushRouterOutputConfigurationPropertyrtmp_pushoptionaltyping.Union[IResolvable, RtmpPushRouterOutputConfigurationProperty]rtmpPushoptionalIResolvableRtmpPushoptionalIResolvableRtmpPushoptionalinterface{} #
The configuration settings for a router output that pushes a stream to a destination using the RTMP (Real-Time Messaging Protocol) protocol, or RTMPS (RTMP over TLS) when TLS encryption is specified.

These settings include the destination address and port, the application and stream names, and optional TLS encryption configuration.

rtpoptionalIResolvable | CfnRouterOutput.RtpRouterOutputConfigurationPropertyrtpoptionaltyping.Union[IResolvable, RtpRouterOutputConfigurationProperty]rtpoptionalIResolvableRtpoptionalIResolvableRtpoptionalinterface{} #
The configuration settings for a router output using the RTP (Real-Time Transport Protocol) protocol, including the destination address and port, and forward error correction state.
srtCalleroptionalIResolvable | CfnRouterOutput.SrtCallerRouterOutputConfigurationPropertysrt_calleroptionaltyping.Union[IResolvable, SrtCallerRouterOutputConfigurationProperty]srtCalleroptionalIResolvableSrtCalleroptionalIResolvableSrtCalleroptionalinterface{} #
The configuration settings for a router output using the SRT (Secure Reliable Transport) protocol in caller mode, including the destination address and port, minimum latency, stream ID, and encryption key configuration.
srtListeneroptionalIResolvable | CfnRouterOutput.SrtListenerRouterOutputConfigurationPropertysrt_listeneroptionaltyping.Union[IResolvable, SrtListenerRouterOutputConfigurationProperty]srtListeneroptionalIResolvableSrtListeneroptionalIResolvableSrtListeneroptionalinterface{} #
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.