# InputDestinationRouteProperty

A network route configuration.

- Source: Generated at build time
- Type last changed: v2.275.0 · 26 Oct 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const inputDestinationRouteProperty: medialive.CfnInput.InputDestinationRouteProperty = {
  cidr: 'cidr',
  gateway: 'gateway',
};
```

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_medialive as medialive

input_destination_route_property = medialive.CfnInput.InputDestinationRouteProperty(
    cidr="cidr",
    gateway="gateway"
)
```

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

InputDestinationRouteProperty inputDestinationRouteProperty = InputDestinationRouteProperty.builder()
        .cidr("cidr")
        .gateway("gateway")
        .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.MediaLive;

var inputDestinationRouteProperty = new InputDestinationRouteProperty {
    Cidr = "cidr",
    Gateway = "gateway"
};
```

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"

inputDestinationRouteProperty := &InputDestinationRouteProperty{
	Cidr: jsii.String("cidr"),
	Gateway: jsii.String("gateway"),
}
```

## Properties

- `cidr`: string — The CIDR of the route.

- `gateway`: string — An optional gateway for the route.
