# InputDestinationRequestProperty

Settings that apply only if the input is a push type of input.

The parent of this entity is Input.

- Source: Generated at build time
- Type last changed: v2.173.0 · 12 Dec 2024

## 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 inputDestinationRequestProperty: medialive.CfnInput.InputDestinationRequestProperty = {
  network: 'network',
  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.
from aws_cdk import aws_medialive as medialive

input_destination_request_property = medialive.CfnInput.InputDestinationRequestProperty(
    network="network",
    network_routes=[medialive.CfnInput.InputRequestDestinationRouteProperty(
        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.*;

InputDestinationRequestProperty inputDestinationRequestProperty = InputDestinationRequestProperty.builder()
        .network("network")
        .networkRoutes(List.of(InputRequestDestinationRouteProperty.builder()
                .cidr("cidr")
                .gateway("gateway")
                .build()))
        .staticIpAddress("staticIpAddress")
        .streamName("streamName")
        .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 inputDestinationRequestProperty = new InputDestinationRequestProperty {
    Network = "network",
    NetworkRoutes = new [] { new InputRequestDestinationRouteProperty {
        Cidr = "cidr",
        Gateway = "gateway"
    } },
    StaticIpAddress = "staticIpAddress",
    StreamName = "streamName"
};
```

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"

inputDestinationRequestProperty := &InputDestinationRequestProperty{
	Network: jsii.String("network"),
	NetworkRoutes: []interface{}{
		&InputRequestDestinationRouteProperty{
			Cidr: jsii.String("cidr"),
			Gateway: jsii.String("gateway"),
		},
	},
	StaticIpAddress: jsii.String("staticIpAddress"),
	StreamName: jsii.String("streamName"),
}
```

## Properties

- `network`: string

- `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.InputRequestDestinationRouteProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_medialive.CfnInput.InputRequestDestinationRouteProperty.html)[]

- `staticIpAddress`: string

- `streamName`: string — The stream name (application name/application instance) for the location the RTMP source content will be pushed to in MediaLive.
