Skip to content
v2.278.0

MergeRouterInputProtocolConfigurationProperty 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';
const mergeRouterInputProtocolConfigurationProperty: mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty = {
  rist: {
    port: 123,
    recoveryLatencyMilliseconds: 123,
  },
  rtp: {
    port: 123,

    // the properties below are optional
    forwardErrorCorrection: 'forwardErrorCorrection',
  },
  srtCaller: {
    minimumLatencyMilliseconds: 123,
    sourceAddress: 'sourceAddress',
    sourcePort: 123,

    // the properties below are optional
    decryptionConfiguration: {
      encryptionKey: {
        roleArn: 'roleArn',
        secretArn: 'secretArn',
      },
    },
    streamId: 'streamId',
  },
  srtListener: {
    minimumLatencyMilliseconds: 123,
    port: 123,

    // the properties below are optional
    decryptionConfiguration: {
      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

merge_router_input_protocol_configuration_property = mediaconnect.CfnRouterInput.MergeRouterInputProtocolConfigurationProperty(
    rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
        port=123,
        recovery_latency_milliseconds=123
    ),
    rtp=mediaconnect.CfnRouterInput.RtpRouterInputConfigurationProperty(
        port=123,

        # the properties below are optional
        forward_error_correction="forwardErrorCorrection"
    ),
    srt_caller=mediaconnect.CfnRouterInput.SrtCallerRouterInputConfigurationProperty(
        minimum_latency_milliseconds=123,
        source_address="sourceAddress",
        source_port=123,

        # the properties below are optional
        decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
            encryption_key=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                role_arn="roleArn",
                secret_arn="secretArn"
            )
        ),
        stream_id="streamId"
    ),
    srt_listener=mediaconnect.CfnRouterInput.SrtListenerRouterInputConfigurationProperty(
        minimum_latency_milliseconds=123,
        port=123,

        # the properties below are optional
        decryption_configuration=mediaconnect.CfnRouterInput.SrtDecryptionConfigurationProperty(
            encryption_key=mediaconnect.CfnRouterInput.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.*;

MergeRouterInputProtocolConfigurationProperty mergeRouterInputProtocolConfigurationProperty = MergeRouterInputProtocolConfigurationProperty.builder()
        .rist(RistRouterInputConfigurationProperty.builder()
                .port(123)
                .recoveryLatencyMilliseconds(123)
                .build())
        .rtp(RtpRouterInputConfigurationProperty.builder()
                .port(123)

                // the properties below are optional
                .forwardErrorCorrection("forwardErrorCorrection")
                .build())
        .srtCaller(SrtCallerRouterInputConfigurationProperty.builder()
                .minimumLatencyMilliseconds(123)
                .sourceAddress("sourceAddress")
                .sourcePort(123)

                // the properties below are optional
                .decryptionConfiguration(SrtDecryptionConfigurationProperty.builder()
                        .encryptionKey(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                .roleArn("roleArn")
                                .secretArn("secretArn")
                                .build())
                        .build())
                .streamId("streamId")
                .build())
        .srtListener(SrtListenerRouterInputConfigurationProperty.builder()
                .minimumLatencyMilliseconds(123)
                .port(123)

                // the properties below are optional
                .decryptionConfiguration(SrtDecryptionConfigurationProperty.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 mergeRouterInputProtocolConfigurationProperty = new MergeRouterInputProtocolConfigurationProperty {
    Rist = new RistRouterInputConfigurationProperty {
        Port = 123,
        RecoveryLatencyMilliseconds = 123
    },
    Rtp = new RtpRouterInputConfigurationProperty {
        Port = 123,

        // the properties below are optional
        ForwardErrorCorrection = "forwardErrorCorrection"
    },
    SrtCaller = new SrtCallerRouterInputConfigurationProperty {
        MinimumLatencyMilliseconds = 123,
        SourceAddress = "sourceAddress",
        SourcePort = 123,

        // the properties below are optional
        DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
            EncryptionKey = new SecretsManagerEncryptionKeyConfigurationProperty {
                RoleArn = "roleArn",
                SecretArn = "secretArn"
            }
        },
        StreamId = "streamId"
    },
    SrtListener = new SrtListenerRouterInputConfigurationProperty {
        MinimumLatencyMilliseconds = 123,
        Port = 123,

        // the properties below are optional
        DecryptionConfiguration = new SrtDecryptionConfigurationProperty {
            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"

mergeRouterInputProtocolConfigurationProperty := &MergeRouterInputProtocolConfigurationProperty{
	Rist: &RistRouterInputConfigurationProperty{
		Port: jsii.Number(123),
		RecoveryLatencyMilliseconds: jsii.Number(123),
	},
	Rtp: &RtpRouterInputConfigurationProperty{
		Port: jsii.Number(123),

		// the properties below are optional
		ForwardErrorCorrection: jsii.String("forwardErrorCorrection"),
	},
	SrtCaller: &SrtCallerRouterInputConfigurationProperty{
		MinimumLatencyMilliseconds: jsii.Number(123),
		SourceAddress: jsii.String("sourceAddress"),
		SourcePort: jsii.Number(123),

		// the properties below are optional
		DecryptionConfiguration: &SrtDecryptionConfigurationProperty{
			EncryptionKey: &SecretsManagerEncryptionKeyConfigurationProperty{
				RoleArn: jsii.String("roleArn"),
				SecretArn: jsii.String("secretArn"),
			},
		},
		StreamId: jsii.String("streamId"),
	},
	SrtListener: &SrtListenerRouterInputConfigurationProperty{
		MinimumLatencyMilliseconds: jsii.Number(123),
		Port: jsii.Number(123),

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

Properties ​

ristoptionalIResolvable | CfnRouterInput.RistRouterInputConfigurationPropertyristoptionaltyping.Union[IResolvable, RistRouterInputConfigurationProperty]ristoptionalIResolvableRistoptionalIResolvableRistoptionalinterface{} #
The configuration settings for a router input using the RIST (Reliable Internet Stream Transport) protocol, including the port and recovery latency.
rtpoptionalIResolvable | CfnRouterInput.RtpRouterInputConfigurationPropertyrtpoptionaltyping.Union[IResolvable, RtpRouterInputConfigurationProperty]rtpoptionalIResolvableRtpoptionalIResolvableRtpoptionalinterface{} #
The configuration settings for a Router Input using the RTP (Real-Time Transport Protocol) protocol, including the port and forward error correction state.
srtCalleroptionalIResolvable | CfnRouterInput.SrtCallerRouterInputConfigurationPropertysrt_calleroptionaltyping.Union[IResolvable, SrtCallerRouterInputConfigurationProperty]srtCalleroptionalIResolvableSrtCalleroptionalIResolvableSrtCalleroptionalinterface{} #
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in caller mode, including the source address and port, minimum latency, stream ID, and decryption key configuration.
srtListeneroptionalIResolvable | CfnRouterInput.SrtListenerRouterInputConfigurationPropertysrt_listeneroptionaltyping.Union[IResolvable, SrtListenerRouterInputConfigurationProperty]srtListeneroptionalIResolvableSrtListeneroptionalIResolvableSrtListeneroptionalinterface{} #
The configuration settings for a router input using the SRT (Secure Reliable Transport) protocol in listener mode, including the port, minimum latency, and decryption key configuration.