interface RouterInputProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.RouterInputProps |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#RouterInputProps |
Java | software.amazon.awscdk.services.mediaconnect.alpha.RouterInputProps |
Python | aws_cdk.aws_mediaconnect_alpha.RouterInputProps |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป RouterInputProps |
Properties for creating a Router Input.
Example
declare const stack: Stack;
declare const networkInterface: RouterNetworkInterface;
const input = new RouterInput(stack, 'FailoverInput', {
routerInputName: 'failover-input',
maximumBitrate: Bitrate.mbps(10),
routingScope: RoutingScope.REGIONAL,
tier: RouterInputTier.INPUT_50,
configuration: RouterInputConfiguration.failover({
networkInterface: networkInterface,
protocols: [
RouterInputProtocol.rist({
port: 5000,
recoveryLatency: Duration.millis(1000),
}),
RouterInputProtocol.rist({
port: 5002, // Must not be consecutive with primary port
recoveryLatency: Duration.millis(1000),
}),
],
sourcePriority: SourcePriorityConfig.primarySecondary(PrimarySource.FIRST_SOURCE),
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| configuration | Router | Configuration for the Router Input (standard, failover, merge, or MediaConnect flow). |
| maximum | Bitrate | Maximum bitrate in bits per second that the Router Input can handle. |
| routing | Routing | Routing scope for the Router Input. |
| maintenance | Maintenance | Maintenance window configuration. |
| region | string | AWS region where the Router Input will be created (i.e. us-east-1). |
| router | string | Name of the Router Input. |
| tags? | { [string]: string } | Tags to add to the Router Input. |
| tier? | Router | Select a tier based on your maximum bitrate requirements. |
| transit | Transit | Transit encryption configuration using AWS Secrets Manager. |
configuration
Type:
Router
Configuration for the Router Input (standard, failover, merge, or MediaConnect flow).
maximumBitrate
Type:
Bitrate
Maximum bitrate in bits per second that the Router Input can handle.
routingScope
Type:
Routing
Routing scope for the Router Input.
maintenanceConfiguration?
Type:
Maintenance
(optional, default: Default maintenance window will be used)
Maintenance window configuration.
regionName?
Type:
string
(optional, default: Same as the stack's region)
AWS region where the Router Input will be created (i.e. us-east-1).
Must match the region of the flows, flow outputs, and network interfaces it connects to โ MediaConnect rejects a cross-region connection at deploy.
routerInputName?
Type:
string
(optional, default: Generated automatically)
Name of the Router Input.
tags?
Type:
{ [string]: string }
(optional, default: No tagging)
Tags to add to the Router Input.
tier?
Type:
Router
(optional, default: RouterInputTier.INPUT_20)
Select a tier based on your maximum bitrate requirements.
transitEncryption?
Type:
Transit
(optional, default: Automatic encryption will be configured)
Transit encryption configuration using AWS Secrets Manager.
When provided without a role, a scoped IAM role is automatically created with read access to the secret.

.NET
Go
Java
Python
TypeScript (