Interface PushInputProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PushInputProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.310Z")
@Stability(Experimental)
public interface PushInputProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Properties for push-type inputs (RTMP_PUSH, RTP_PUSH, UDP_PUSH).
Example:
Stack stack;
Network network = Network.Builder.create(stack, "Network")
.networkName("on-prem-network")
.ipPools(List.of("192.168.1.0/24"))
.build();
Input.Builder.create(stack, "OnPremInput")
.inputName("on-prem-rtp")
.inputNetworkLocation(InputNetworkLocation.ON_PREMISES)
.input(InputConfiguration.rtpPush(PushInputProps.builder()
.destinations(List.of(PushInputDestination.builder()
.network(network)
.networkRoutes(List.of(NetworkRoute.builder().cidr("10.0.0.0/24").gateway("10.0.0.1").build()))
.staticIpAddress("192.168.1.50")
.build()))
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPushInputPropsstatic final classAn implementation forPushInputProps -
Method Summary
Modifier and TypeMethodDescriptionstatic PushInputProps.Builderbuilder()default List<PushInputDestination> (experimental) The destinations for push inputs.default List<IInputSecurityGroupRef> (experimental) The input security groups that control which CIDR blocks can push to this input.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinations
(experimental) The destinations for push inputs.For RTMP push, each destination can have a stream name.
Default: - MediaLive auto-generates destinations
-
getInputSecurityGroups
(experimental) 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.Default: - none (only valid for on-premises inputs)
-
builder
- Returns:
- a
PushInputProps.BuilderofPushInputProps
-