# NdiDiscoveryServerConfigProperty

Specifies the configuration settings for individual NDI discovery servers.

A maximum of 3 servers is allowed.

- Source: Generated at build time
- Type last changed: v2.187.0 · 31 Mar 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 ndiDiscoveryServerConfigProperty: mediaconnect.CfnFlow.NdiDiscoveryServerConfigProperty = {
  discoveryServerAddress: 'discoveryServerAddress',
  vpcInterfaceAdapter: 'vpcInterfaceAdapter',

  // the properties below are optional
  discoveryServerPort: 123,
};
```

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

ndi_discovery_server_config_property = mediaconnect.CfnFlow.NdiDiscoveryServerConfigProperty(
    discovery_server_address="discoveryServerAddress",
    vpc_interface_adapter="vpcInterfaceAdapter",

    # the properties below are optional
    discovery_server_port=123
)
```

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

NdiDiscoveryServerConfigProperty ndiDiscoveryServerConfigProperty = NdiDiscoveryServerConfigProperty.builder()
        .discoveryServerAddress("discoveryServerAddress")
        .vpcInterfaceAdapter("vpcInterfaceAdapter")

        // the properties below are optional
        .discoveryServerPort(123)
        .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 ndiDiscoveryServerConfigProperty = new NdiDiscoveryServerConfigProperty {
    DiscoveryServerAddress = "discoveryServerAddress",
    VpcInterfaceAdapter = "vpcInterfaceAdapter",

    // the properties below are optional
    DiscoveryServerPort = 123
};
```

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"

ndiDiscoveryServerConfigProperty := &NdiDiscoveryServerConfigProperty{
	DiscoveryServerAddress: jsii.String("discoveryServerAddress"),
	VpcInterfaceAdapter: jsii.String("vpcInterfaceAdapter"),

	// the properties below are optional
	DiscoveryServerPort: jsii.Number(123),
}
```

## Properties

- `discoveryServerAddress`: string (required) — The unique network address of the NDI discovery server.

- `discoveryServerPort`: number — The port for the NDI discovery server.

  Defaults to 5959 if a custom port isn't specified.

- `vpcInterfaceAdapter`: string (required) — The identifier for the Virtual Private Cloud (VPC) network interface used by the flow.
