Skip to content
v2.277.0

Experimental

@aws-cdk/aws-mediaconnect-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

RouterInputEndpoint Struct ​

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}.

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';
const routerInputEndpoint: mediaconnect_alpha.RouterInputEndpoint = {
  port: 123,
  url: 'url',
};
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
// 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();
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"
};
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 ​

portnumberportint | floatportNumberPortdoublePort*float64required#
The listening port at which the router input accepts upstream content.
urlstringurlstrurlStringUrlstringUrl*stringrequired#
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.