# BridgeNetworkSourceProperty

The source of the bridge.

A network source originates at your premises.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';
const bridgeNetworkSourceProperty: mediaconnect.CfnBridgeSource.BridgeNetworkSourceProperty = {
  multicastIp: 'multicastIp',
  networkName: 'networkName',
  port: 123,
  protocol: 'protocol',

  // the properties below are optional
  multicastSourceSettings: {
    multicastSourceIp: 'multicastSourceIp',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

bridge_network_source_property = mediaconnect.CfnBridgeSource.BridgeNetworkSourceProperty(
    multicast_ip="multicastIp",
    network_name="networkName",
    port=123,
    protocol="protocol",

    # the properties below are optional
    multicast_source_settings=mediaconnect.CfnBridgeSource.MulticastSourceSettingsProperty(
        multicast_source_ip="multicastSourceIp"
    )
)
```

Java:

```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.*;

BridgeNetworkSourceProperty bridgeNetworkSourceProperty = BridgeNetworkSourceProperty.builder()
        .multicastIp("multicastIp")
        .networkName("networkName")
        .port(123)
        .protocol("protocol")

        // the properties below are optional
        .multicastSourceSettings(MulticastSourceSettingsProperty.builder()
                .multicastSourceIp("multicastSourceIp")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var bridgeNetworkSourceProperty = new BridgeNetworkSourceProperty {
    MulticastIp = "multicastIp",
    NetworkName = "networkName",
    Port = 123,
    Protocol = "protocol",

    // the properties below are optional
    MulticastSourceSettings = new MulticastSourceSettingsProperty {
        MulticastSourceIp = "multicastSourceIp"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

bridgeNetworkSourceProperty := &BridgeNetworkSourceProperty{
	MulticastIp: jsii.String("multicastIp"),
	NetworkName: jsii.String("networkName"),
	Port: jsii.Number(123),
	Protocol: jsii.String("protocol"),

	// the properties below are optional
	MulticastSourceSettings: &MulticastSourceSettingsProperty{
		MulticastSourceIp: jsii.String("multicastSourceIp"),
	},
}
```

## Properties

- `multicastIp`: string (required) — The network source multicast IP.

- `multicastSourceSettings`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBridgeSource.MulticastSourceSettingsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_mediaconnect.CfnBridgeSource.MulticastSourceSettingsProperty.html) — The settings related to the multicast source.

- `networkName`: string (required) — The network source's gateway network name.

- `port`: number (required) — The network source port.

- `protocol`: string (required) — The network source protocol.

  > AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
