Experimental
@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
BridgeNetworkInput Struct
A named network source for an ingress bridge.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
declare const bridgeProtocol: mediaconnect_alpha.BridgeProtocol;
declare const gatewayNetwork: mediaconnect_alpha.GatewayNetwork;
const bridgeNetworkInput: mediaconnect_alpha.BridgeNetworkInput = {
name: 'name',
source: {
multicastIp: 'multicastIp',
network: gatewayNetwork,
port: 123,
protocol: bridgeProtocol,
// the properties below are optional
multicastSourceIp: 'multicastSourceIp',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
# bridge_protocol: mediaconnect_alpha.BridgeProtocol
# gateway_network: mediaconnect_alpha.GatewayNetwork
bridge_network_input = mediaconnect_alpha.BridgeNetworkInput(
name="name",
source=mediaconnect_alpha.BridgeNetworkSource(
multicast_ip="multicastIp",
network=gateway_network,
port=123,
protocol=bridge_protocol,
# the properties below are optional
multicast_source_ip="multicastSourceIp"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.alpha.*;
BridgeProtocol bridgeProtocol;
GatewayNetwork gatewayNetwork;
BridgeNetworkInput bridgeNetworkInput = BridgeNetworkInput.builder()
.name("name")
.source(BridgeNetworkSource.builder()
.multicastIp("multicastIp")
.network(gatewayNetwork)
.port(123)
.protocol(bridgeProtocol)
// the properties below are optional
.multicastSourceIp("multicastSourceIp")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaConnect.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect.Alpha;
BridgeProtocol bridgeProtocol;
GatewayNetwork gatewayNetwork;
var bridgeNetworkInput = new BridgeNetworkInput {
Name = "name",
Source = new BridgeNetworkSource {
MulticastIp = "multicastIp",
Network = gatewayNetwork,
Port = 123,
Protocol = bridgeProtocol,
// the properties below are optional
MulticastSourceIp = "multicastSourceIp"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import mediaconnect_alpha "github.com/aws/aws-cdk-go/awsmediaconnectalpha"
var bridgeProtocol BridgeProtocol
var gatewayNetwork GatewayNetwork
bridgeNetworkInput := &BridgeNetworkInput{
Name: jsii.String("name"),
Source: &BridgeNetworkSource{
MulticastIp: jsii.String("multicastIp"),
Network: gatewayNetwork,
Port: jsii.Number(123),
Protocol: bridgeProtocol,
// the properties below are optional
MulticastSourceIp: jsii.String("multicastSourceIp"),
},
}
Properties
The name of the network source.
Must be unique among sources on the bridge.
sourceBridgeNetworkSourcesourceBridgeNetworkSourcesourceBridgeNetworkSourceSourceBridgeNetworkSourceSourceBridgeNetworkSourcerequired#The network source configuration describing the multicast endpoint the bridge listens to.