interface PublicNetworkConfigurationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.PublicNetworkConfigurationProps |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#PublicNetworkConfigurationProps |
Java | software.amazon.awscdk.services.mediaconnect.alpha.PublicNetworkConfigurationProps |
Python | aws_cdk.aws_mediaconnect_alpha.PublicNetworkConfigurationProps |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป PublicNetworkConfigurationProps |
Properties for public network configuration.
Example
declare const stack: Stack;
declare const mediaLiveInput: medialive.CfnInput;
// 1. A public network interface for the SRT input
const networkInterface = new RouterNetworkInterface(stack, 'NetworkInterface', {
routerNetworkInterfaceName: 'camera-network',
configuration: RouterNetworkConfiguration.publicNetwork({
cidr: ['203.0.113.0/24'],
}),
});
// 2. A router input receiving SRT from an upstream encoder
const input = new RouterInput(stack, 'Input', {
routerInputName: 'camera-input',
maximumBitrate: Bitrate.mbps(10),
routingScope: RoutingScope.REGIONAL,
tier: RouterInputTier.INPUT_20,
configuration: RouterInputConfiguration.standard({
networkInterface,
protocol: RouterInputProtocol.srtListener({
port: 9000,
minimumLatency: Duration.millis(200),
}),
}),
});
// 3. A router output delivering to MediaLive
const output = new RouterOutput(stack, 'Output', {
routerOutputName: 'medialive-output',
maximumBitrate: Bitrate.mbps(10),
routingScope: RoutingScope.REGIONAL,
tier: RouterOutputTier.OUTPUT_20,
configuration: RouterOutputConfiguration.mediaLiveInput({
mediaLiveInputArn: mediaLiveInput.attrArn,
mediaLivePipelineId: MediaLivePipeline.PIPELINE_0,
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| cidr | string[] | CIDR blocks allowed to access the network interface. |
cidr
Type:
string[]
CIDR blocks allowed to access the network interface.

.NET
Go
Java
Python
TypeScript (