# CfnRouterInput

Represents a router input in AWS Elemental MediaConnect that is used to ingest content to be transmitted to router outputs.

Extends: [Construct](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Construct.html) › [CfnElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnElement.html) › [CfnRefElement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnRefElement.html) › [CfnResource](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnResource.html) › CfnRouterInput
Implements: [IInspectable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IInspectable.html), [ITaggableV2](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.ITaggableV2.html), [IEnvironmentAware](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.IEnvironmentAware.html), [IRouterInputRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_mediaconnect.IRouterInputRef.html), IConstruct, IDependable

- CloudFormation: [`AWS::MediaConnect::RouterInput`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-mediaconnect-routerinput.html)
- Source: Generated at build time
- Type last changed: v2.278.0 · 20 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;
declare const default_: any;
const cfnRouterInput = new mediaconnect.CfnRouterInput(this, 'MyCfnRouterInput', {
  configuration: {
    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',
    },
  },
  maximumBitrate: 123,
  name: 'name',
  routingScope: 'routingScope',
  tier: 'tier',

  // the properties below are optional
  availabilityZone: 'availabilityZone',
  contentQualityAnalysisConfiguration: {
    contentLevel: {
      blackFrames: {
        state: 'state',
        thresholdSeconds: 123,
      },
      frozenFrames: {
        state: 'state',
        thresholdSeconds: 123,
      },
      silentAudio: {
        state: 'state',
        thresholdSeconds: 123,
      },
    },
  },
  maintenanceConfiguration: {
    default: default_,
    preferredDayTime: {
      day: 'day',
      time: 'time',
    },
  },
  regionName: 'regionName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  transitEncryption: {
    encryptionKeyConfiguration: {
      automatic: automatic,
      secretsManager: {
        roleArn: 'roleArn',
        secretArn: 'secretArn',
      },
    },

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

Python:

```python
from aws_cdk import CfnTag
# 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
# default_: Any

cfn_router_input = mediaconnect.CfnRouterInput(self, "MyCfnRouterInput",
    configuration=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"
        )
    ),
    maximum_bitrate=123,
    name="name",
    routing_scope="routingScope",
    tier="tier",

    # the properties below are optional
    availability_zone="availabilityZone",
    content_quality_analysis_configuration=mediaconnect.CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty(
        content_level=mediaconnect.CfnRouterInput.ContentQualityAnalysisFeatureConfigurationProperty(
            black_frames=mediaconnect.CfnRouterInput.BlackFramesConfigurationProperty(
                state="state",
                threshold_seconds=123
            ),
            frozen_frames=mediaconnect.CfnRouterInput.FrozenFramesConfigurationProperty(
                state="state",
                threshold_seconds=123
            ),
            silent_audio=mediaconnect.CfnRouterInput.SilentAudioConfigurationProperty(
                state="state",
                threshold_seconds=123
            )
        )
    ),
    maintenance_configuration=mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty(
        default=default_,
        preferred_day_time=mediaconnect.CfnRouterInput.PreferredDayTimeMaintenanceConfigurationProperty(
            day="day",
            time="time"
        )
    ),
    region_name="regionName",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_encryption=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty(
        encryption_key_configuration=mediaconnect.CfnRouterInput.RouterInputTransitEncryptionKeyConfigurationProperty(
            automatic=automatic,
            secrets_manager=mediaconnect.CfnRouterInput.SecretsManagerEncryptionKeyConfigurationProperty(
                role_arn="roleArn",
                secret_arn="secretArn"
            )
        ),

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

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;
Object default_;

CfnRouterInput cfnRouterInput = CfnRouterInput.Builder.create(this, "MyCfnRouterInput")
        .configuration(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())
        .maximumBitrate(123)
        .name("name")
        .routingScope("routingScope")
        .tier("tier")

        // the properties below are optional
        .availabilityZone("availabilityZone")
        .contentQualityAnalysisConfiguration(RouterContentQualityAnalysisConfigurationProperty.builder()
                .contentLevel(ContentQualityAnalysisFeatureConfigurationProperty.builder()
                        .blackFrames(BlackFramesConfigurationProperty.builder()
                                .state("state")
                                .thresholdSeconds(123)
                                .build())
                        .frozenFrames(FrozenFramesConfigurationProperty.builder()
                                .state("state")
                                .thresholdSeconds(123)
                                .build())
                        .silentAudio(SilentAudioConfigurationProperty.builder()
                                .state("state")
                                .thresholdSeconds(123)
                                .build())
                        .build())
                .build())
        .maintenanceConfiguration(MaintenanceConfigurationProperty.builder()
                .default(default_)
                .preferredDayTime(PreferredDayTimeMaintenanceConfigurationProperty.builder()
                        .day("day")
                        .time("time")
                        .build())
                .build())
        .regionName("regionName")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .transitEncryption(RouterInputTransitEncryptionProperty.builder()
                .encryptionKeyConfiguration(RouterInputTransitEncryptionKeyConfigurationProperty.builder()
                        .automatic(automatic)
                        .secretsManager(SecretsManagerEncryptionKeyConfigurationProperty.builder()
                                .roleArn("roleArn")
                                .secretArn("secretArn")
                                .build())
                        .build())

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

var cfnRouterInput = new CfnRouterInput(this, "MyCfnRouterInput", new CfnRouterInputProps {
    Configuration = 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"
        }
    },
    MaximumBitrate = 123,
    Name = "name",
    RoutingScope = "routingScope",
    Tier = "tier",

    // the properties below are optional
    AvailabilityZone = "availabilityZone",
    ContentQualityAnalysisConfiguration = new RouterContentQualityAnalysisConfigurationProperty {
        ContentLevel = new ContentQualityAnalysisFeatureConfigurationProperty {
            BlackFrames = new BlackFramesConfigurationProperty {
                State = "state",
                ThresholdSeconds = 123
            },
            FrozenFrames = new FrozenFramesConfigurationProperty {
                State = "state",
                ThresholdSeconds = 123
            },
            SilentAudio = new SilentAudioConfigurationProperty {
                State = "state",
                ThresholdSeconds = 123
            }
        }
    },
    MaintenanceConfiguration = new MaintenanceConfigurationProperty {
        Default = default_,
        PreferredDayTime = new PreferredDayTimeMaintenanceConfigurationProperty {
            Day = "day",
            Time = "time"
        }
    },
    RegionName = "regionName",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } },
    TransitEncryption = new RouterInputTransitEncryptionProperty {
        EncryptionKeyConfiguration = new RouterInputTransitEncryptionKeyConfigurationProperty {
            Automatic = automatic,
            SecretsManager = new SecretsManagerEncryptionKeyConfigurationProperty {
                RoleArn = "roleArn",
                SecretArn = "secretArn"
            }
        },

        // the properties below are optional
        EncryptionKeyType = "encryptionKeyType"
    }
});
```

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{}
var default_ interface{}

cfnRouterInput := awscdk.Aws_mediaconnect.NewCfnRouterInput(this, jsii.String("MyCfnRouterInput"), &CfnRouterInputProps{
	Configuration: &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"),
		},
	},
	MaximumBitrate: jsii.Number(123),
	Name: jsii.String("name"),
	RoutingScope: jsii.String("routingScope"),
	Tier: jsii.String("tier"),

	// the properties below are optional
	AvailabilityZone: jsii.String("availabilityZone"),
	ContentQualityAnalysisConfiguration: &RouterContentQualityAnalysisConfigurationProperty{
		ContentLevel: &ContentQualityAnalysisFeatureConfigurationProperty{
			BlackFrames: &BlackFramesConfigurationProperty{
				State: jsii.String("state"),
				ThresholdSeconds: jsii.Number(123),
			},
			FrozenFrames: &FrozenFramesConfigurationProperty{
				State: jsii.String("state"),
				ThresholdSeconds: jsii.Number(123),
			},
			SilentAudio: &SilentAudioConfigurationProperty{
				State: jsii.String("state"),
				ThresholdSeconds: jsii.Number(123),
			},
		},
	},
	MaintenanceConfiguration: &MaintenanceConfigurationProperty{
		Default: default_,
		PreferredDayTime: &PreferredDayTimeMaintenanceConfigurationProperty{
			Day: jsii.String("day"),
			Time: jsii.String("time"),
		},
	},
	RegionName: jsii.String("regionName"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
	TransitEncryption: &RouterInputTransitEncryptionProperty{
		EncryptionKeyConfiguration: &RouterInputTransitEncryptionKeyConfigurationProperty{
			Automatic: automatic,
			SecretsManager: &SecretsManagerEncryptionKeyConfigurationProperty{
				RoleArn: jsii.String("roleArn"),
				SecretArn: jsii.String("secretArn"),
			},
		},

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

## Initializer

TypeScript:

```ts
new CfnRouterInput(scope: Construct, id: string, props: CfnRouterInputProps)
```

Python:

```python
CfnRouterInput(scope: Construct, id: str, props: CfnRouterInputProps)
```

Java:

```java
new CfnRouterInput(Construct scope, String id, CfnRouterInputProps props)
```

C# / .NET:

```csharp
new CfnRouterInput(Construct scope, string id, CfnRouterInputProps props)
```

Golang:

```go
NewCfnRouterInput(Scope Construct, Id *string, Props CfnRouterInputProps)
```

## Construct Props

- `availabilityZone`: string — The Availability Zone of the router input.

- `configuration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterInputConfigurationProperty.html) (required) — The configuration settings for a router input.

- `contentQualityAnalysisConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty.html) — The content quality analysis configuration for the router input.

  The content quality analysis feature only monitors the first video stream and the first audio stream it encounters within the router input source.

- `maintenanceConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.MaintenanceConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty.html) — The maintenance configuration settings applied to this router input.

- `maximumBitrate`: number (required) — The maximum bitrate for the router input.

- `name`: string (required) — The name of the router input.

- `regionName`: string — The AWS Region where the router input is located.

- `routingScope`: string (required) — Indicates whether the router input is configured for Regional or global routing.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Key-value pairs that can be used to tag and organize this router input.

- `tier`: string (required) — The tier level of the router input.

- `transitEncryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterInputTransitEncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty.html) — Encryption information.

## Properties

- `attrArn`: string — The Amazon Resource Name (ARN) of the router input.

- `attrAssociatedDestinationEndpointArns`: string[] — The Amazon Resource Names (ARNs) of one or more destination endpoints that are associated with this router input.

- `attrContentQualityAnalysisType`: string

- `attrCreatedAt`: string — The timestamp when the router input was created.

- `attrId`: string — The unique identifier of the router input.

- `attrInputType`: string — The type of the router input.

- `attrIpAddress`: string — The IP address of the router input.

- `attrMaintenanceType`: string — The type of maintenance configuration applied to this router input.

- `attrRoutedOutputs`: number — The number of router outputs associated with the router input.

- `attrState`: string — The current state of the router input.

- `attrStreamDetails`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Configuration details for the router input stream.

- `attrStreamDetailsFailoverSourceIndexOneStreamDetailsRtmpPushApplicationName`: string — The name of the RTMP application.

- `attrStreamDetailsFailoverSourceIndexOneStreamDetailsRtmpPushStreamName`: string — The name of the RTMP stream.

- `attrStreamDetailsFailoverSourceIndexZeroStreamDetailsRtmpPushApplicationName`: string — The name of the RTMP application.

- `attrStreamDetailsFailoverSourceIndexZeroStreamDetailsRtmpPushStreamName`: string — The name of the RTMP stream.

- `attrStreamDetailsStandardRtmpPushApplicationName`: string — The name of the RTMP application.

- `attrStreamDetailsStandardRtmpPushStreamName`: string — The name of the RTMP stream.

- `attrUpdatedAt`: string — The timestamp when the router input was last updated.

- `availabilityZone`: string — The Availability Zone of the router input.

- `cdkTagManager`: [TagManager](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.TagManager.html) — Tag Manager which manages the tags for this resource.

- `CFN_RESOURCE_TYPE_NAME`: string (static) — The CloudFormation resource type name for this resource class.

- `cfnOptions`: [ICfnResourceOptions](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.ICfnResourceOptions.html) — Options for this resource, such as condition, update policy etc.

- `cfnResourceType`: string — AWS resource type.

- `configuration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterInputConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterInputConfigurationProperty.html) — The configuration settings for a router input.

- `contentQualityAnalysisConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterContentQualityAnalysisConfigurationProperty.html) — The content quality analysis configuration for the router input.

- `creationStack`: string[]

- `env`: [ResourceEnvironment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.ResourceEnvironment.html)

- `logicalId`: string — The logical ID for this CloudFormation stack element.

  The logical ID of the element
  is calculated from the path of the resource node in the construct tree.

  To override this value, use `overrideLogicalId(newLogicalId)`.

- `maintenanceConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.MaintenanceConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.MaintenanceConfigurationProperty.html) — The maintenance configuration settings applied to this router input.

- `maximumBitrate`: number — The maximum bitrate for the router input.

- `name`: string — The name of the router input.

- `node`: [Node](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.Node.html) — The tree node.

- `ref`: string — Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.

  If, by any chance, the intrinsic reference of a resource is not a string, you could
  coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.

- `regionName`: string — The AWS Region where the router input is located.

- `routerInputRef`: [RouterInputReference](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_mediaconnect.RouterInputReference.html) — A reference to a RouterInput resource.

- `routingScope`: string — Indicates whether the router input is configured for Regional or global routing.

- `stack`: [Stack](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Stack.html) — The stack in which this element is defined.

  CfnElements must be defined within a stack scope (directly or indirectly).

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Key-value pairs that can be used to tag and organize this router input.

- `tier`: string — The tier level of the router input.

- `transitEncryption`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRouterInput.RouterInputTransitEncryptionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnRouterInput.RouterInputTransitEncryptionProperty.html) — Encryption information.

## Methods

- `addDeletionOverride(path: string): void` — Syntactic sugar for `addOverride(path, undefined)`.

  **Parameters**

  - `path` — The path of the value to delete.

- `addDependency(target: CfnResource): void` — Use `addResourceDependency` instead.

  This method has been renamed to `addResourceDependency` to more clearly
  set it apart from `construct.node.addDependency`. See the documentation
  of that function for more details.

- `addDependsOn(target: CfnResource): void` — Use `addResourceDependency` instead.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method has been renamed to `addResourceDependency`, which makes it
  more clear that this method operates at a different level from the
  construct-level `construct.node.addDependency()` mechanism.

- `addMetadata(key: string, value: any): void` — Add a value to the CloudFormation Resource Metadata.

- `addOverride(path: string, value: any): void` — Adds an override to the synthesized CloudFormation resource.

  To add a
  property override, either use `addPropertyOverride` or prefix `path` with
  "Properties." (i.e. `Properties.TopicName`).

  If the override is nested, separate each nested level using a dot (.) in the path parameter.
  If there is an array as part of the nesting, specify the index in the path.

  To include a literal `.` in the property name, prefix with a `\`. In most
  programming languages you will need to write this as `"\\."` because the
  `\` itself will need to be escaped.

  For example,
  ```typescript
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
  cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
  ```
  would add the overrides
  ```json
  "Properties": {
    "GlobalSecondaryIndexes": [
      {
        "Projection": {
          "NonKeyAttributes": [ "myattribute" ]
          ...
        }
        ...
      },
      {
        "ProjectionType": "INCLUDE"
        ...
      },
    ]
    ...
  }
  ```

  The `value` argument to `addOverride` will not be processed or translated
  in any way. Pass raw JSON values in here with the correct capitalization
  for CloudFormation. If you pass CDK classes or structs, they will be
  rendered with lowercased key names, and CloudFormation will reject the
  template.

  **Parameters**

  - `path` — - The path of the property, you can use dot notation to override values in complex types.
  - `value` — - The value.

- `addPropertyDeletionOverride(propertyPath: string): void` — Adds an override that deletes the value of a property from the resource definition.

  **Parameters**

  - `propertyPath` — The path to the property.

- `addPropertyOverride(propertyPath: string, value: any): void` — Adds an override to a resource property.

  Syntactic sugar for `addOverride("Properties.<...>", value)`.

  **Parameters**

  - `propertyPath` — The path of the property.
  - `value` — The value.

- `addResourceDependency(target: CfnResource, reason?: string): void` — Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

  This can be used for resources across stacks (or nested stack) boundaries
  and the dependency will automatically be transferred to the relevant scope.

  This method only adds dependencies between L1 resources. If you are
  looking for a generic construct-to-construct dependency mechanism that works
  for all constructs including L2s, use `construct.node.addDependency` instead.

- `applyCrossStackReferenceStrength(strength: ReferenceStrength): void` — Sets the cross-stack reference strength for this resource.

  When set, any cross-stack reference to this resource will use the specified
  strength instead of the global default from the consuming stack's context.

  **Parameters**

  - `strength` — - The reference strength to use for this resource.

- `applyRemovalPolicy(policy?: RemovalPolicy, options?: RemovalPolicyOptions): void` — Sets the deletion policy of the resource based on the removal policy specified.

  The Removal Policy controls what happens to this resource when it stops
  being managed by CloudFormation, either because you've removed it from the
  CDK application or because you've made a change that requires the resource
  to be replaced.

  The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
  account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
  cases, a snapshot can be taken of the resource prior to deletion
  (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
  can be found in the following link:

- `arnForRouterInput(resource: IRouterInputRef): string` (static)

- `cfnPropertyName(cdkPropertyName: string): string`

- `getAtt(attributeName: string, typeHint?: ResolutionTypeHint): Reference` — Returns a token for an runtime attribute of this resource.

  Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
  in case there is no generated attribute.

  **Parameters**

  - `attributeName` — The name of the attribute.

- `getMetadata(key: string): any` — Retrieve a value value from the CloudFormation Resource Metadata.

- `inspect(inspector: TreeInspector): void` — Examines the CloudFormation resource and discloses attributes.

  **Parameters**

  - `inspector` — tree inspector to collect and process attributes.

- `isCfnElement(x: any): boolean` (static) — Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).

  Uses duck-typing instead of `instanceof` to allow stack elements from different
  versions of this library to be included in the same stack.

  **Returns:** The construct as a stack element or undefined if it is not a stack element.

- `isCfnResource(x: any): boolean` (static) — Check whether the given object is a CfnResource.

- `isCfnRouterInput(x: any): boolean` (static) — Checks whether the given object is a CfnRouterInput.

- `isConstruct(x: any): boolean` (static) — Checks if `x` is a construct.

  Use this method instead of `instanceof` to properly detect `Construct`
  instances, even when the construct library is symlinked.

  Explanation: in JavaScript, multiple copies of the `constructs` library on
  disk are seen as independent, completely different libraries. As a
  consequence, the class `Construct` in each copy of the `constructs` library
  is seen as a different class, and an instance of one class will not test as
  `instanceof` the other class. `npm install` will not create installations
  like this, but users may manually symlink construct libraries together or
  use a monorepo tool: in those cases, multiple copies of the `constructs`
  library can be accidentally installed, and `instanceof` will behave
  unpredictably. It is safest to avoid using `instanceof`, and using
  this type-testing method instead.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Construct`.

- `obtainDependencies(): Stack | CfnResource[]` — Retrieves an array of resources and stacks this resource depends on.

  For resources depended on directly, returns the `CfnResource` object. For
  dependencies on other stacks, returns the `Stack` object. The order of the
  array is not guaranteed.

- `overrideLogicalId(newLogicalId: string): void` — Overrides the auto-generated logical ID with a specific ID.

  **Parameters**

  - `newLogicalId` — The new logical ID to use for this stack element.

- `removeDependency(target: CfnResource): void` — Use `removeResourceDependency` instead

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `removeResourceDependency(target: CfnResource): void` — Indicates that this resource no longer depends on another resource.

  This can be used for resources across stacks (including nested stacks)
  and the dependency will automatically be removed from the relevant scope.

- `replaceDependency(target: CfnResource, newTarget: CfnResource): void` — Replaces one dependency with another.

  **Parameters**

  - `target` — The dependency to replace.
  - `newTarget` — The new dependency to add.

- `toString(): string` — Returns a string representation of this construct.

  **Returns:** a string representation of this resource

- `with(...mixins: IMixin[]): IConstruct` — Applies one or more mixins to this construct.

  Mixins are applied in order. The list of constructs is captured at the
  start of the call, so constructs added by a mixin will not be visited.
  Use multiple `with()` calls if subsequent mixins should apply to added
  constructs.
