Skip to content
v2.278.0

Experimental

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

NetworkRoute Struct ​

A route for a MediaLive Network.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const networkRoute: medialive_alpha.NetworkRoute = {
  cidr: 'cidr',
  gateway: 'gateway',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

network_route = medialive_alpha.NetworkRoute(
    cidr="cidr",
    gateway="gateway"
)
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.medialive.alpha.*;

NetworkRoute networkRoute = NetworkRoute.builder()
        .cidr("cidr")
        .gateway("gateway")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var networkRoute = new NetworkRoute {
    Cidr = "cidr",
    Gateway = "gateway"
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

networkRoute := &NetworkRoute{
	Cidr: jsii.String("cidr"),
	Gateway: jsii.String("gateway"),
}

Properties ​

cidrstringcidrstrcidrStringCidrstringCidr*string required #
The CIDR block for the route.
gatewaystringgatewaystrgatewayStringGatewaystringGateway*string required #
The gateway for the route.