Interface RtmpOutputDefinition

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, OutputDefinition
All Known Implementing Classes:
RtmpOutputDefinition.Jsii$Proxy

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.318Z") @Stability(Experimental) public interface RtmpOutputDefinition extends software.amazon.jsii.JsiiSerializable, OutputDefinition
(experimental) Output definition for an RTMP output group.

outputName is normalised (underscores → hyphens) for use as the destination reference ID.

Example:

 // 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.alpha.*;
 import software.amazon.awscdk.*;
 EncodeConfiguration encodeConfiguration;
 RtmpCertificateMode rtmpCertificateMode;
 RtmpDestination rtmpDestination;
 RtmpOutputDefinition rtmpOutputDefinition = RtmpOutputDefinition.builder()
         .destinations(List.of(rtmpDestination))
         .encodes(List.of(encodeConfiguration))
         .outputName("outputName")
         // the properties below are optional
         .certificateMode(rtmpCertificateMode)
         .connectionRetryInterval(Duration.minutes(30))
         .numRetries(123)
         .build();
 
  • Method Details

    • getDestinations

      @Stability(Experimental) @NotNull List<RtmpDestination> getDestinations()
      (experimental) The RTMP destination(s) for this output — one per channel pipeline.

      MediaLive publishes each RTMP output to one destination per pipeline (the console calls these "Destination A" and "Destination B"). Provide a single destination for a SINGLE_PIPELINE channel, or two (A then B) for a STANDARD channel.

    • getCertificateMode

      @Stability(Experimental) @Nullable default RtmpCertificateMode getCertificateMode()
      (experimental) The TLS certificate verification mode.

      Default: - service default

    • getConnectionRetryInterval

      @Stability(Experimental) @Nullable default Duration getConnectionRetryInterval()
      (experimental) The interval between connection retry attempts.

      Default: - service default

    • getNumRetries

      @Stability(Experimental) @Nullable default Number getNumRetries()
      (experimental) The number of retry attempts.

      Default: - service default

    • builder

      @Stability(Experimental) static RtmpOutputDefinition.Builder builder()
      Returns:
      a RtmpOutputDefinition.Builder of RtmpOutputDefinition