Skip to content
v2.278.0

FailoverRouterInputProtocolConfigurationProperty 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 automatic: any;
const failoverRouterInputProtocolConfigurationProperty: mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty = {
  rist: {
    port: 123,
    recoveryLatencyMilliseconds: 123,
  },
  rtmpPush: {
    namingConfiguration: {
      automatic: automatic,
      manual: {
        applicationName: 'applicationName',
        streamName: 'streamName',
      },
    },
    port: 123,

    // the properties below are optional
    namingType: 'namingType',
  },
  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

# automatic: Any

failover_router_input_protocol_configuration_property = mediaconnect.CfnRouterInput.FailoverRouterInputProtocolConfigurationProperty(
    rist=mediaconnect.CfnRouterInput.RistRouterInputConfigurationProperty(
        port=123,
        recovery_latency_milliseconds=123
    ),
    rtmp_push=mediaconnect.CfnRouterInput.RtmpPushRouterInputConfigurationProperty(
        naming_configuration=mediaconnect.CfnRouterInput.RtmpPushNamingConfigurationProperty(
            automatic=automatic,
            manual=mediaconnect.CfnRouterInput.ManualRtmpPushNamingConfigurationProperty(
                application_name="applicationName",
                stream_name="streamName"
            )
        ),
        port=123,

        # the properties below are optional
        naming_type="namingType"
    ),
    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.*;

Object automatic;

FailoverRouterInputProtocolConfigurationProperty failoverRouterInputProtocolConfigurationProperty = FailoverRouterInputProtocolConfigurationProperty.builder()
        .rist(RistRouterInputConfigurationProperty.builder()
                .port(123)
                .recoveryLatencyMilliseconds(123)
                .build())
        .rtmpPush(RtmpPushRouterInputConfigurationProperty.builder()
                .namingConfiguration(RtmpPushNamingConfigurationProperty.builder()
                        .automatic(automatic)
                        .manual(ManualRtmpPushNamingConfigurationProperty.builder()
                                .applicationName("applicationName")
                                .streamName("streamName")
                                .build())
                        .build())
                .port(123)

                // the properties below are optional
                .namingType("namingType")
                .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 automatic;

var failoverRouterInputProtocolConfigurationProperty = new FailoverRouterInputProtocolConfigurationProperty {
    Rist = new RistRouterInputConfigurationProperty {
        Port = 123,
        RecoveryLatencyMilliseconds = 123
    },
    RtmpPush = new RtmpPushRouterInputConfigurationProperty {
        NamingConfiguration = new RtmpPushNamingConfigurationProperty {
            Automatic = automatic,
            Manual = new ManualRtmpPushNamingConfigurationProperty {
                ApplicationName = "applicationName",
                StreamName = "streamName"
            }
        },
        Port = 123,

        // the properties below are optional
        NamingType = "namingType"
    },
    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"

var automatic interface{}

failoverRouterInputProtocolConfigurationProperty := &FailoverRouterInputProtocolConfigurationProperty{
	Rist: &RistRouterInputConfigurationProperty{
		Port: jsii.Number(123),
		RecoveryLatencyMilliseconds: jsii.Number(123),
	},
	RtmpPush: &RtmpPushRouterInputConfigurationProperty{
		NamingConfiguration: &RtmpPushNamingConfigurationProperty{
			Automatic: automatic,
			Manual: &ManualRtmpPushNamingConfigurationProperty{
				ApplicationName: jsii.String("applicationName"),
				StreamName: jsii.String("streamName"),
			},
		},
		Port: jsii.Number(123),

		// the properties below are optional
		NamingType: jsii.String("namingType"),
	},
	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.
rtmpPushoptionalIResolvable | CfnRouterInput.RtmpPushRouterInputConfigurationPropertyrtmp_pushoptionaltyping.Union[IResolvable, RtmpPushRouterInputConfigurationProperty]rtmpPushoptionalIResolvableRtmpPushoptionalIResolvableRtmpPushoptionalinterface{} #
The configuration settings for a router input using the RTMP (Real-Time Messaging Protocol) protocol.
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.