# InputDestinationProperty

The settings for a PUSH type input.

- 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 inputDestinationProperty: medialive.CfnInput.InputDestinationProperty = {
  ip: 'ip',
  network: 'network',
  networkRoutes: [{
    cidr: 'cidr',
    gateway: 'gateway',
  }],
  port: 'port',
  staticIpAddress: 'staticIpAddress',
  streamName: 'streamName',
  url: 'url',
  vpc: {
    availabilityZone: 'availabilityZone',
    networkInterfaceId: 'networkInterfaceId',
  },
};
```

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_property = medialive.CfnInput.InputDestinationProperty(
    ip="ip",
    network="network",
    network_routes=[medialive.CfnInput.InputDestinationRouteProperty(
        cidr="cidr",
        gateway="gateway"
    )],
    port="port",
    static_ip_address="staticIpAddress",
    stream_name="streamName",
    url="url",
    vpc=medialive.CfnInput.InputDestinationVpcProperty(
        availability_zone="availabilityZone",
        network_interface_id="networkInterfaceId"
    )
)
```

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

InputDestinationProperty inputDestinationProperty = InputDestinationProperty.builder()
        .ip("ip")
        .network("network")
        .networkRoutes(List.of(InputDestinationRouteProperty.builder()
                .cidr("cidr")
                .gateway("gateway")
                .build()))
        .port("port")
        .staticIpAddress("staticIpAddress")
        .streamName("streamName")
        .url("url")
        .vpc(InputDestinationVpcProperty.builder()
                .availabilityZone("availabilityZone")
                .networkInterfaceId("networkInterfaceId")
                .build())
        .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 inputDestinationProperty = new InputDestinationProperty {
    Ip = "ip",
    Network = "network",
    NetworkRoutes = new [] { new InputDestinationRouteProperty {
        Cidr = "cidr",
        Gateway = "gateway"
    } },
    Port = "port",
    StaticIpAddress = "staticIpAddress",
    StreamName = "streamName",
    Url = "url",
    Vpc = new InputDestinationVpcProperty {
        AvailabilityZone = "availabilityZone",
        NetworkInterfaceId = "networkInterfaceId"
    }
};
```

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"

inputDestinationProperty := &InputDestinationProperty{
	Ip: jsii.String("ip"),
	Network: jsii.String("network"),
	NetworkRoutes: []interface{}{
		&InputDestinationRouteProperty{
			Cidr: jsii.String("cidr"),
			Gateway: jsii.String("gateway"),
		},
	},
	Port: jsii.String("port"),
	StaticIpAddress: jsii.String("staticIpAddress"),
	StreamName: jsii.String("streamName"),
	Url: jsii.String("url"),
	Vpc: &InputDestinationVpcProperty{
		AvailabilityZone: jsii.String("availabilityZone"),
		NetworkInterfaceId: jsii.String("networkInterfaceId"),
	},
}
```

## Properties

- `ip`: string — The system-generated static IP address of endpoint.

  It remains fixed for the lifetime of the input.

- `network`: string — The ID of the attached network.

- `networkRoutes`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputDestinationRouteProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputDestinationRouteProperty.html)[] — If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input is going to be on the customer local network.

- `port`: string — The port number for the input.

- `staticIpAddress`: string — The static IP address for the input destination.

- `streamName`: string — The stream name for the input destination.

- `url`: string — This represents the endpoint that the customer stream will be pushed to.

- `vpc`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnInput.InputDestinationVpcProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputDestinationVpcProperty.html) — The properties for a VPC type input destination.
