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 | The maximum bitrate for the router input. |
| routing | Routing | Indicates whether the router input is configured for Regional or global routing. |
| maintenance | Maintenance | Maintenance window configuration. |
| region | string | The AWS Region where the router input is located. |
| 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
The maximum bitrate for the router input.
routingScope
Type:
Routing
Indicates whether the router input is configured for Regional or global routing.
maintenanceConfiguration?
Type:
Maintenance
(optional, default: Default maintenance window will be used)
Maintenance window configuration.
regionName?
Type:
string
(optional, default: Defaults to the same region as stack)
The AWS Region where the router input is located.
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 (