Class RouterInputProps
(experimental) Properties for creating a Router Input.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MediaConnect.Alpha
Assembly: Amazon.CDK.AWS.MediaConnect.Alpha.dll
Syntax (csharp)
public class RouterInputProps : IRouterInputProps
Syntax (vb)
Public Class RouterInputProps Implements IRouterInputProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
RouterNetworkInterface networkInterface;
var input = new RouterInput(stack, "FailoverInput", new RouterInputProps {
RouterInputName = "failover-input",
MaximumBitrate = Bitrate.Mbps(10),
RoutingScope = RoutingScope.REGIONAL,
Tier = RouterInputTier.INPUT_50,
Configuration = RouterInputConfiguration.Failover(new FailoverConfigurationProps {
NetworkInterface = networkInterface,
Protocols = new [] { RouterInputProtocol.Rist(new RistProtocolProps {
Port = 5000,
RecoveryLatency = Duration.Millis(1000)
}), RouterInputProtocol.Rist(new RistProtocolProps {
Port = 5002, // Must not be consecutive with primary port
RecoveryLatency = Duration.Millis(1000)
}) },
SourcePriority = SourcePriorityConfig.PrimarySecondary(PrimarySource.FIRST_SOURCE)
})
});
Synopsis
Constructors
| RouterInputProps() | (experimental) Properties for creating a Router Input. |
Properties
| Configuration | (experimental) Configuration for the Router Input (standard, failover, merge, or MediaConnect flow). |
| MaintenanceConfiguration | (experimental) Maintenance window configuration. |
| MaximumBitrate | (experimental) Maximum bitrate in bits per second that the Router Input can handle. |
| RegionName | (experimental) AWS region where the Router Input will be created (i.e. us-east-1). |
| RouterInputName | (experimental) Name of the Router Input. |
| RoutingScope | (experimental) Routing scope for the Router Input. |
| Tags | (experimental) Tags to add to the Router Input. |
| Tier | (experimental) Select a tier based on your maximum bitrate requirements. |
| TransitEncryption | (experimental) Transit encryption configuration using AWS Secrets Manager. |
Constructors
RouterInputProps()
(experimental) Properties for creating a Router Input.
public RouterInputProps()
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
Stack stack;
RouterNetworkInterface networkInterface;
var input = new RouterInput(stack, "FailoverInput", new RouterInputProps {
RouterInputName = "failover-input",
MaximumBitrate = Bitrate.Mbps(10),
RoutingScope = RoutingScope.REGIONAL,
Tier = RouterInputTier.INPUT_50,
Configuration = RouterInputConfiguration.Failover(new FailoverConfigurationProps {
NetworkInterface = networkInterface,
Protocols = new [] { RouterInputProtocol.Rist(new RistProtocolProps {
Port = 5000,
RecoveryLatency = Duration.Millis(1000)
}), RouterInputProtocol.Rist(new RistProtocolProps {
Port = 5002, // Must not be consecutive with primary port
RecoveryLatency = Duration.Millis(1000)
}) },
SourcePriority = SourcePriorityConfig.PrimarySecondary(PrimarySource.FIRST_SOURCE)
})
});
Properties
Configuration
(experimental) Configuration for the Router Input (standard, failover, merge, or MediaConnect flow).
public RouterInputConfiguration Configuration { get; set; }
Property Value
Remarks
Stability: Experimental
MaintenanceConfiguration
(experimental) Maintenance window configuration.
public IMaintenanceConfiguration? MaintenanceConfiguration { get; set; }
Property Value
Remarks
Default: - Default maintenance window will be used
Stability: Experimental
MaximumBitrate
(experimental) Maximum bitrate in bits per second that the Router Input can handle.
public Bitrate MaximumBitrate { get; set; }
Property Value
Remarks
Stability: Experimental
RegionName
(experimental) AWS region where the Router Input will be created (i.e. us-east-1).
public string? RegionName { get; set; }
Property Value
Remarks
Must match the region of the flows, flow outputs, and network interfaces it connects to — MediaConnect rejects a cross-region connection at deploy.
Default: - Same as the stack's region
Stability: Experimental
RouterInputName
(experimental) Name of the Router Input.
public string? RouterInputName { get; set; }
Property Value
Remarks
Default: - Generated automatically
Stability: Experimental
RoutingScope
(experimental) Routing scope for the Router Input.
public RoutingScope RoutingScope { get; set; }
Property Value
Remarks
Stability: Experimental
Tags
(experimental) Tags to add to the Router Input.
public IDictionary<string, string>? Tags { get; set; }
Property Value
Remarks
Default: - No tagging
Stability: Experimental
Tier
(experimental) Select a tier based on your maximum bitrate requirements.
public RouterInputTier? Tier { get; set; }
Property Value
Remarks
Default: RouterInputTier.INPUT_20
Stability: Experimental
TransitEncryption
(experimental) Transit encryption configuration using AWS Secrets Manager.
public ITransitEncryption? TransitEncryption { get; set; }
Property Value
Remarks
When provided without a role, a scoped IAM role is automatically created with read access to the secret.
Default: - Automatic encryption will be configured
Stability: Experimental