Skip to content
v2.274.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

InputNetworkLocation Class ​

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

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 ​

The input exists in the AWS cloud (the default).
ON_PREMISESInputNetworkLocationon_premisesInputNetworkLocationON_PREMISESInputNetworkLocationON_PREMISESInputNetworkLocationON_PREMISESInputNetworkLocationrequiredstatic#
The input exists in an on-premises network (MediaLive Anywhere).
valuestringvaluestrvalueStringValuestringValue*stringrequired#
The underlying string value passed to CloudFormation.

Methods ​

of(value: string): InputNetworkLocation // chainable@staticmethod def of(value: str) -> InputNetworkLocationpublic static InputNetworkLocation of(String value)public static InputNetworkLocation Of(string value)func Of(Value *string) InputNetworkLocationstatic#
A value not yet modelled by AWS CDK.