class BridgeProtocol
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.BridgeProtocol |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#BridgeProtocol |
Java | software.amazon.awscdk.services.mediaconnect.alpha.BridgeProtocol |
Python | aws_cdk.aws_mediaconnect_alpha.BridgeProtocol |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป BridgeProtocol |
Options for bridge network source and output protocols.
Example
declare const stack: Stack;
const productionNetwork = GatewayNetwork.define({
cidrBlock: '192.168.1.0/24',
name: 'production-network',
});
const gateway = new Gateway(stack, 'MyGateway', {
gatewayName: 'my-gateway',
egressCidrBlocks: ['10.0.0.0/16'],
networks: [productionNetwork],
});
const ingressBridge = new Bridge(stack, 'MyIngressBridge', {
bridgeName: 'my-ingress-bridge',
config: BridgeConfiguration.ingress({
maxBitrate: Bitrate.mbps(10),
maxOutputs: 2,
networkSources: [{
name: 'on-prem-source',
source: {
protocol: BridgeProtocol.RTP,
network: productionNetwork,
multicastIp: '239.1.1.1',
port: 5000,
},
}],
}),
gateway: gateway,
});
Properties
| Name | Type | Description |
|---|---|---|
| value | string | The bridge protocol string value. |
| static RTP | Bridge | Option for RTP. |
| static RTP_FEC | Bridge | Option for RTP-FEC. |
| static UDP | Bridge | Option for UDP. |
value
Type:
string
The bridge protocol string value.
static RTP
Type:
Bridge
Option for RTP.
static RTP_FEC
Type:
Bridge
Option for RTP-FEC.
static UDP
Type:
Bridge
Option for UDP.
Methods
| Name | Description |
|---|---|
| to | Returns the string value. |
| static of(value) | Use a custom bridge protocol value. |
toString()
public toString(): string
Returns
string
Returns the string value.
static of(value)
public static of(value: string): BridgeProtocol
Parameters
- value
stringโ The bridge protocol string value.
Returns
Use a custom bridge protocol value.

.NET
Go
Java
Python
TypeScript (