> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# PushInputDestination

A destination for a push-type input.

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/input.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/input.ts#L493)

## Example

TypeScript:

```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';
import { aws_medialive as interfaces_medialive } from 'aws-cdk-lib/interfaces';

declare const networkRef: interfaces_medialive.INetworkRef;
const pushInputDestination: medialive_alpha.PushInputDestination = {
  network: networkRef,
  networkRoutes: [{
    cidr: 'cidr',
    gateway: 'gateway',
  }],
  staticIpAddress: 'staticIpAddress',
  streamName: 'streamName',
};
```

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_medialive_alpha as medialive_alpha
from aws_cdk.interfaces import aws_medialive as interfaces_medialive

# network_ref: interfaces_medialive.INetworkRef

push_input_destination = medialive_alpha.PushInputDestination(
    network=network_ref,
    network_routes=[medialive_alpha.NetworkRoute(
        cidr="cidr",
        gateway="gateway"
    )],
    static_ip_address="staticIpAddress",
    stream_name="streamName"
)
```

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.alpha.*;
import software.amazon.awscdk.interfaces.medialive.*;

INetworkRef networkRef;

PushInputDestination pushInputDestination = PushInputDestination.builder()
        .network(networkRef)
        .networkRoutes(List.of(NetworkRoute.builder()
                .cidr("cidr")
                .gateway("gateway")
                .build()))
        .staticIpAddress("staticIpAddress")
        .streamName("streamName")
        .build();
```

C# / .NET:

```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;
using Amazon.CDK.Interfaces.MediaLive;

INetworkRef networkRef;

var pushInputDestination = new PushInputDestination {
    Network = networkRef,
    NetworkRoutes = new [] { new NetworkRoute {
        Cidr = "cidr",
        Gateway = "gateway"
    } },
    StaticIpAddress = "staticIpAddress",
    StreamName = "streamName"
};
```

Golang:

```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"
import "github.com/aws/aws-cdk-go/awscdk"

var networkRef INetworkRef

pushInputDestination := &PushInputDestination{
	Network: networkRef,
	NetworkRoutes: []NetworkRoute{
		&NetworkRoute{
			Cidr: jsii.String("cidr"),
			Gateway: jsii.String("gateway"),
		},
	},
	StaticIpAddress: jsii.String("staticIpAddress"),
	StreamName: jsii.String("streamName"),
}
```

## Properties

- `network`: [INetworkRef](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.interfaces.aws_medialive.INetworkRef.html) — The MediaLive Anywhere network this push destination lives on.

  **Default:** AWS-managed network

  Required when the input's
  `inputNetworkLocation` is `ON_PREMISES`.

- `networkRoutes`: [NetworkRoute](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.NetworkRoute.html)[] — The routes to the push destination on the local network.

  **Default:** no routes

  Required for
  on-premises (`ON_PREMISES`) push inputs.

- `staticIpAddress`: string — A static IP address to assign to the push destination on the local network.

  **Default:** MediaLive Anywhere uses one from the IP pool specified on the selected network (service default)

- `streamName`: string = auto-generated — The stream name for RTMP push destinations (application name/instance).
