class InputNetworkLocation
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.InputNetworkLocation |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#InputNetworkLocation |
Java | software.amazon.awscdk.services.medialive.alpha.InputNetworkLocation |
Python | aws_cdk.aws_medialive_alpha.InputNetworkLocation |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป InputNetworkLocation |
The network location of a MediaLive input โ the AWS cloud, or an on-premises network for MediaLive Anywhere.
Example
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
| Name | Type | Description |
|---|---|---|
| value | string | The underlying string value passed to CloudFormation. |
| static AWS | Input | The input exists in the AWS cloud (the default). |
| static ON_PREMISES | Input | The input exists in an on-premises network (MediaLive Anywhere). |
value
Type:
string
The underlying string value passed to CloudFormation.
static AWS
Type:
Input
The input exists in the AWS cloud (the default).
static ON_PREMISES
Type:
Input
The input exists in an on-premises network (MediaLive Anywhere).
Methods
| Name | Description |
|---|---|
| static of(value) | A value not yet modelled by AWS CDK. |
static of(value)
public static of(value: string): InputNetworkLocation
Parameters
- value
string
Returns
A value not yet modelled by AWS CDK.

.NET
Go
Java
Python
TypeScript (