# RouterInputConfigurationProperty

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```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 routerInputConfigurationProperty: mediaconnect.CfnRouterInput.RouterInputConfigurationProperty = {
  destinationEndpoint: {
    endpointLifecycleManagement: 'endpointLifecycleManagement',
    sourceTransitDecryption: {
      automatic: automatic,
      secretsManager: {
        encryptionSecret: {
          secretArn: 'secretArn',
        },

        // the properties below are optional
        encryptionSecretType: 'encryptionSecretType',
      },
    },

    // the properties below are optional
    sourceTransitDecryptionType: 'sourceTransitDecryptionType',
  },
  failover: {
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfigurations: [{
      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',
          },
        },
      },
    }],
    sourcePriorityMode: 'sourcePriorityMode',

    // the properties below are optional
    primarySourceIndex: 123,
  },
  mediaConnectFlow: {
    sourceTransitDecryption: {
      encryptionKeyConfiguration: {
        automatic: automatic,
        secretsManager: {
          roleArn: 'roleArn',
          secretArn: 'secretArn',
        },
      },

      // the properties below are optional
      encryptionKeyType: 'encryptionKeyType',
    },

    // the properties below are optional
    flowArn: 'flowArn',
    flowOutputArn: 'flowOutputArn',
  },
  mediaLiveChannel: {
    sourceTransitDecryption: {
      encryptionKeyConfiguration: {
        automatic: automatic,
        secretsManager: {
          roleArn: 'roleArn',
          secretArn: 'secretArn',
        },
      },

      // the properties below are optional
      encryptionKeyType: 'encryptionKeyType',
    },

    // the properties below are optional
    mediaLiveChannelArn: 'mediaLiveChannelArn',
    mediaLiveChannelOutputName: 'mediaLiveChannelOutputName',
    mediaLivePipelineId: 'mediaLivePipelineId',
  },
  merge: {
    mergeRecoveryWindowMilliseconds: 123,
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfigurations: [{
      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',
          },
        },
      },
    }],
  },
  standard: {
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfiguration: {
      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',
          },
        },
      },
    },

    // the properties below are optional
    protocol: 'protocol',
  },
};
```

Python:

```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

router_input_configuration_property = mediaconnect.CfnRouterInput.RouterInputConfigurationProperty(
    destination_endpoint=mediaconnect.CfnRouterInput.DestinationEndpointRouterInputConfigurationProperty(
        endpoint_lifecycle_management="endpointLifecycleManagement",
        source_transit_decryption=mediaconnect.CfnRouterInput.EndpointEncryptionConfigurationProperty(
            automatic=automatic,
            secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEndpointEncryptionConfigurationProperty(
                encryption_secret=mediaconnect.CfnRouterInput.EndpointEncryptionSecretConfigurationProperty(
                    secret_arn="secretArn"
                ),

                # the properties below are optional
                encryption_secret_type="encryptionSecretType"
            )
        ),

        # the properties below are optional
        source_transit_decryption_type="sourceTransitDecryptionType"
    ),
    failover=mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty(
        network_interface_arn="networkInterfaceArn",
        protocol_configurations=[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"
                    )
                )
            )
        )],
        source_priority_mode="sourcePriorityMode",

        # the properties below are optional
        primary_source_index=123
    ),
    media_connect_flow=mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty(
        source_transit_decryption=mediaconnect.CfnRouterInput.FlowTransitEncryptionProperty(
            encryption_key_configuration=mediaconnect.CfnRouterInput.FlowTransitEncryptionKeyConfigurationProperty(
                automatic=automatic,
                secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                    role_arn="roleArn",
                    secret_arn="secretArn"
                )
            ),

            # the properties below are optional
            encryption_key_type="encryptionKeyType"
        ),

        # the properties below are optional
        flow_arn="flowArn",
        flow_output_arn="flowOutputArn"
    ),
    media_live_channel=mediaconnect.CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty(
        source_transit_decryption=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionProperty(
            encryption_key_configuration=mediaconnect.CfnRouterInput.MediaLiveTransitEncryptionKeyConfigurationProperty(
                automatic=automatic,
                secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                    role_arn="roleArn",
                    secret_arn="secretArn"
                )
            ),

            # the properties below are optional
            encryption_key_type="encryptionKeyType"
        ),

        # the properties below are optional
        media_live_channel_arn="mediaLiveChannelArn",
        media_live_channel_output_name="mediaLiveChannelOutputName",
        media_live_pipeline_id="mediaLivePipelineId"
    ),
    merge=mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty(
        merge_recovery_window_milliseconds=123,
        network_interface_arn="networkInterfaceArn",
        protocol_configurations=[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"
                    )
                )
            )
        )]
    ),
    standard=mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty(
        network_interface_arn="networkInterfaceArn",
        protocol_configuration=mediaconnect.CfnRouterInput.RouterInputProtocolConfigurationProperty(
            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"
                    )
                )
            )
        ),

        # the properties below are optional
        protocol="protocol"
    )
)
```

Java:

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

RouterInputConfigurationProperty routerInputConfigurationProperty = RouterInputConfigurationProperty.builder()
        .destinationEndpoint(DestinationEndpointRouterInputConfigurationProperty.builder()
                .endpointLifecycleManagement("endpointLifecycleManagement")
                .sourceTransitDecryption(EndpointEncryptionConfigurationProperty.builder()
                        .automatic(automatic)
                        .secretsManager(SecretsManagerEndpointEncryptionConfigurationProperty.builder()
                                .encryptionSecret(EndpointEncryptionSecretConfigurationProperty.builder()
                                        .secretArn("secretArn")
                                        .build())

                                // the properties below are optional
                                .encryptionSecretType("encryptionSecretType")
                                .build())
                        .build())

                // the properties below are optional
                .sourceTransitDecryptionType("sourceTransitDecryptionType")
                .build())
        .failover(FailoverRouterInputConfigurationProperty.builder()
                .networkInterfaceArn("networkInterfaceArn")
                .protocolConfigurations(List.of(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()))
                .sourcePriorityMode("sourcePriorityMode")

                // the properties below are optional
                .primarySourceIndex(123)
                .build())
        .mediaConnectFlow(MediaConnectFlowRouterInputConfigurationProperty.builder()
                .sourceTransitDecryption(FlowTransitEncryptionProperty.builder()
                        .encryptionKeyConfiguration(FlowTransitEncryptionKeyConfigurationProperty.builder()
                                .automatic(automatic)
                                .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                        .roleArn("roleArn")
                                        .secretArn("secretArn")
                                        .build())
                                .build())

                        // the properties below are optional
                        .encryptionKeyType("encryptionKeyType")
                        .build())

                // the properties below are optional
                .flowArn("flowArn")
                .flowOutputArn("flowOutputArn")
                .build())
        .mediaLiveChannel(MediaLiveChannelRouterInputConfigurationProperty.builder()
                .sourceTransitDecryption(MediaLiveTransitEncryptionProperty.builder()
                        .encryptionKeyConfiguration(MediaLiveTransitEncryptionKeyConfigurationProperty.builder()
                                .automatic(automatic)
                                .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                        .roleArn("roleArn")
                                        .secretArn("secretArn")
                                        .build())
                                .build())

                        // the properties below are optional
                        .encryptionKeyType("encryptionKeyType")
                        .build())

                // the properties below are optional
                .mediaLiveChannelArn("mediaLiveChannelArn")
                .mediaLiveChannelOutputName("mediaLiveChannelOutputName")
                .mediaLivePipelineId("mediaLivePipelineId")
                .build())
        .merge(MergeRouterInputConfigurationProperty.builder()
                .mergeRecoveryWindowMilliseconds(123)
                .networkInterfaceArn("networkInterfaceArn")
                .protocolConfigurations(List.of(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()))
                .build())
        .standard(StandardRouterInputConfigurationProperty.builder()
                .networkInterfaceArn("networkInterfaceArn")
                .protocolConfiguration(RouterInputProtocolConfigurationProperty.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())

                // the properties below are optional
                .protocol("protocol")
                .build())
        .build();
```

C# / .NET:

```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 routerInputConfigurationProperty = new RouterInputConfigurationProperty {
    DestinationEndpoint = new DestinationEndpointRouterInputConfigurationProperty {
        EndpointLifecycleManagement = "endpointLifecycleManagement",
        SourceTransitDecryption = new EndpointEncryptionConfigurationProperty {
            Automatic = automatic,
            SecretsManager = new SecretsManagerEndpointEncryptionConfigurationProperty {
                EncryptionSecret = new EndpointEncryptionSecretConfigurationProperty {
                    SecretArn = "secretArn"
                },

                // the properties below are optional
                EncryptionSecretType = "encryptionSecretType"
            }
        },

        // the properties below are optional
        SourceTransitDecryptionType = "sourceTransitDecryptionType"
    },
    Failover = new FailoverRouterInputConfigurationProperty {
        NetworkInterfaceArn = "networkInterfaceArn",
        ProtocolConfigurations = new [] { 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"
                    }
                }
            }
        } },
        SourcePriorityMode = "sourcePriorityMode",

        // the properties below are optional
        PrimarySourceIndex = 123
    },
    MediaConnectFlow = new MediaConnectFlowRouterInputConfigurationProperty {
        SourceTransitDecryption = new FlowTransitEncryptionProperty {
            EncryptionKeyConfiguration = new FlowTransitEncryptionKeyConfigurationProperty {
                Automatic = automatic,
                SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
                    RoleArn = "roleArn",
                    SecretArn = "secretArn"
                }
            },

            // the properties below are optional
            EncryptionKeyType = "encryptionKeyType"
        },

        // the properties below are optional
        FlowArn = "flowArn",
        FlowOutputArn = "flowOutputArn"
    },
    MediaLiveChannel = new MediaLiveChannelRouterInputConfigurationProperty {
        SourceTransitDecryption = new MediaLiveTransitEncryptionProperty {
            EncryptionKeyConfiguration = new MediaLiveTransitEncryptionKeyConfigurationProperty {
                Automatic = automatic,
                SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
                    RoleArn = "roleArn",
                    SecretArn = "secretArn"
                }
            },

            // the properties below are optional
            EncryptionKeyType = "encryptionKeyType"
        },

        // the properties below are optional
        MediaLiveChannelArn = "mediaLiveChannelArn",
        MediaLiveChannelOutputName = "mediaLiveChannelOutputName",
        MediaLivePipelineId = "mediaLivePipelineId"
    },
    Merge = new MergeRouterInputConfigurationProperty {
        MergeRecoveryWindowMilliseconds = 123,
        NetworkInterfaceArn = "networkInterfaceArn",
        ProtocolConfigurations = new [] { 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"
                    }
                }
            }
        } }
    },
    Standard = new StandardRouterInputConfigurationProperty {
        NetworkInterfaceArn = "networkInterfaceArn",
        ProtocolConfiguration = new RouterInputProtocolConfigurationProperty {
            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"
                    }
                }
            }
        },

        // the properties below are optional
        Protocol = "protocol"
    }
};
```

Golang:

```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{}

routerInputConfigurationProperty := &RouterInputConfigurationProperty{
	DestinationEndpoint: &DestinationEndpointRouterInputConfigurationProperty{
		EndpointLifecycleManagement: jsii.String("endpointLifecycleManagement"),
		SourceTransitDecryption: &EndpointEncryptionConfigurationProperty{
			Automatic: automatic,
			SecretsManager: &SecretsManagerEndpointEncryptionConfigurationProperty{
				EncryptionSecret: &EndpointEncryptionSecretConfigurationProperty{
					SecretArn: jsii.String("secretArn"),
				},

				// the properties below are optional
				EncryptionSecretType: jsii.String("encryptionSecretType"),
			},
		},

		// the properties below are optional
		SourceTransitDecryptionType: jsii.String("sourceTransitDecryptionType"),
	},
	Failover: &FailoverRouterInputConfigurationProperty{
		NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
		ProtocolConfigurations: []interface{}{
			&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"),
						},
					},
				},
			},
		},
		SourcePriorityMode: jsii.String("sourcePriorityMode"),

		// the properties below are optional
		PrimarySourceIndex: jsii.Number(123),
	},
	MediaConnectFlow: &MediaConnectFlowRouterInputConfigurationProperty{
		SourceTransitDecryption: &FlowTransitEncryptionProperty{
			EncryptionKeyConfiguration: &FlowTransitEncryptionKeyConfigurationProperty{
				Automatic: automatic,
				SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
					RoleArn: jsii.String("roleArn"),
					SecretArn: jsii.String("secretArn"),
				},
			},

			// the properties below are optional
			EncryptionKeyType: jsii.String("encryptionKeyType"),
		},

		// the properties below are optional
		FlowArn: jsii.String("flowArn"),
		FlowOutputArn: jsii.String("flowOutputArn"),
	},
	MediaLiveChannel: &MediaLiveChannelRouterInputConfigurationProperty{
		SourceTransitDecryption: &MediaLiveTransitEncryptionProperty{
			EncryptionKeyConfiguration: &MediaLiveTransitEncryptionKeyConfigurationProperty{
				Automatic: automatic,
				SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
					RoleArn: jsii.String("roleArn"),
					SecretArn: jsii.String("secretArn"),
				},
			},

			// the properties below are optional
			EncryptionKeyType: jsii.String("encryptionKeyType"),
		},

		// the properties below are optional
		MediaLiveChannelArn: jsii.String("mediaLiveChannelArn"),
		MediaLiveChannelOutputName: jsii.String("mediaLiveChannelOutputName"),
		MediaLivePipelineId: jsii.String("mediaLivePipelineId"),
	},
	Merge: &MergeRouterInputConfigurationProperty{
		MergeRecoveryWindowMilliseconds: jsii.Number(123),
		NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
		ProtocolConfigurations: []interface{}{
			&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"),
						},
					},
				},
			},
		},
	},
	Standard: &StandardRouterInputConfigurationProperty{
		NetworkInterfaceArn: jsii.String("networkInterfaceArn"),
		ProtocolConfiguration: &RouterInputProtocolConfigurationProperty{
			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"),
					},
				},
			},
		},

		// the properties below are optional
		Protocol: jsii.String("protocol"),
	},
}
```

## Properties

- `destinationEndpoint`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.DestinationEndpointRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.DestinationEndpointRouterInputConfigurationProperty.html) — Configuration settings for a router input that is represented by a destination endpoint.

- `failover`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.FailoverRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.FailoverRouterInputConfigurationProperty.html) — Configuration settings for a failover router input that allows switching between two input sources.

- `mediaConnectFlow`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.MediaConnectFlowRouterInputConfigurationProperty.html) — Configuration settings for connecting a router input to a flow output.

  To connect the router input to the flow output, provide both flowArn and flowOutputArn. To disconnect it, call the update operation and omit both fields while keeping this configuration object. You can't change sourceTransitDecryption while the router input is connected to a flow output. To change it, first disconnect the router input, then update the decryption.

- `mediaLiveChannel`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.MediaLiveChannelRouterInputConfigurationProperty.html) — Configuration settings for connecting a router input to a MediaLive channel output.

  To connect the router input to the MediaLive channel output, provide all three of mediaLiveChannelArn, mediaLivePipelineId, and mediaLiveChannelOutputName. To disconnect it, call the update operation and omit all three fields while keeping this configuration object. You can't change sourceTransitDecryption while the router input is connected to a MediaLive channel output. To change it, first disconnect the router input, then update the decryption.

- `merge`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.MergeRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.MergeRouterInputConfigurationProperty.html) — Configuration settings for a merge router input that combines two input sources.

- `standard`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.StandardRouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.StandardRouterInputConfigurationProperty.html) — The configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.
