interface PushInputProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.PushInputProps |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#PushInputProps |
Java | software.amazon.awscdk.services.medialive.alpha.PushInputProps |
Python | aws_cdk.aws_medialive_alpha.PushInputProps |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป PushInputProps |
Properties for push-type inputs (RTMP_PUSH, RTP_PUSH, UDP_PUSH).
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 |
|---|---|---|
| destinations? | Push[] | The destinations for push inputs. |
| input | IInput[] | The input security groups that control which CIDR blocks can push to this input. |
destinations?
Type:
Push[]
(optional, default: MediaLive auto-generates destinations)
The destinations for push inputs.
For RTMP push, each destination can have a stream name.
inputSecurityGroups?
Type:
IInput[]
(optional, default: none (only valid for on-premises inputs))
The input security groups that control which CIDR blocks can push to this input.
Required for
cloud inputs; must be omitted for on-premises inputs (InputNetworkLocation.ON_PREMISES),
which do not support security groups.

.NET
Go
Java
Python
TypeScript (