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

The network location of a MediaLive input — the AWS cloud, or an on-premises network for MediaLive Anywhere.

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

## Example

```ts
declare const stack: Stack;

const network = new medialive.Network(stack, 'Network', {
  networkName: 'on-prem-network',
  ipPools: ['192.168.1.0/24'],
});

new medialive.Input(stack, 'OnPremInput', {
  inputName: 'on-prem-rtp',
  inputNetworkLocation: medialive.InputNetworkLocation.ON_PREMISES,
  input: medialive.InputConfiguration.rtpPush({
    destinations: [{
      network,
      networkRoutes: [{ cidr: '10.0.0.0/24', gateway: '10.0.0.1' }],
      staticIpAddress: '192.168.1.50',
    }],
  }),
});
```

## Properties

- `AWS`: [InputNetworkLocation](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.InputNetworkLocation.html) (static) — The input exists in the AWS cloud (the default).

- `ON_PREMISES`: [InputNetworkLocation](/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.InputNetworkLocation.html) (static) — The input exists in an on-premises network (MediaLive Anywhere).

- `value`: string — The underlying string value passed to CloudFormation.

## Methods

- `of(value: string): InputNetworkLocation // chainable` (static) — A value not yet modelled by AWS CDK.
