> **Experimental**
>
> `@aws-cdk/aws-mediaconnect-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# RouterInputEndpoint

A single ingest endpoint where the router input listens for upstream content.

Failover and merge configurations expose two endpoints; standard configurations
expose one. Returned by {@link IRouterInput.endpoints}.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/router-input.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-mediaconnect-alpha/lib/router-input.ts#L56)

## Example

TypeScript:

```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';
const routerInputEndpoint: mediaconnect_alpha.RouterInputEndpoint = {
  port: 123,
  url: 'url',
};
```

Python:

```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

router_input_endpoint = mediaconnect_alpha.RouterInputEndpoint(
    port=123,
    url="url"
)
```

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

RouterInputEndpoint routerInputEndpoint = RouterInputEndpoint.builder()
        .port(123)
        .url("url")
        .build();
```

C# / .NET:

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

var routerInputEndpoint = new RouterInputEndpoint {
    Port = 123,
    Url = "url"
};
```

Golang:

```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"

routerInputEndpoint := &RouterInputEndpoint{
	Port: jsii.Number(123),
	Url: jsii.String("url"),
}
```

## Properties

- `port`: number (required) — The listening port at which the router input accepts upstream content.

- `url`: string (required) — The full ingest URL combining protocol scheme, IP, and port.

  For example:
  `srt://203.0.113.10:5000` or `rtp://203.0.113.10:5001`.
