Class RtmpDestination

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.RtmpDestination
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:41.316Z") @Stability(Experimental) public abstract class RtmpDestination extends software.amazon.jsii.JsiiObject
(experimental) A destination for an RTMP output group.

Use the static factory methods to create.

Example:

 EncodeConfiguration video;
 EncodeConfiguration audio;
 OutputGroupConfiguration.rtmp(RtmpOutputGroupProps.builder()
         .name("social")
         .outputs(List.of(RtmpOutputDefinition.builder()
                 .encodes(List.of(video, audio))
                 .outputName("live")
                 .destinations(List.of(RtmpDestination.url("rtmp://rtmp.example.com/live", "your-stream-key")))
                 .build()))
         .build());
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    RtmpDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    RtmpDestination(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    url(String url, String streamName)
    (experimental) Create an RTMP destination.
    url(String url, String streamName, OutputDestinationOptions options)
    (experimental) Create an RTMP destination.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • RtmpDestination

      protected RtmpDestination(software.amazon.jsii.JsiiObjectRef objRef)
    • RtmpDestination

      protected RtmpDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • RtmpDestination

      @Stability(Experimental) protected RtmpDestination()
  • Method Details

    • url

      @Stability(Experimental) @NotNull public static RtmpDestination url(@NotNull String url, @NotNull String streamName, @Nullable OutputDestinationOptions options)
      (experimental) Create an RTMP destination.

      Parameters:
      url - The RTMP endpoint URL (e.g. rtmp://host/appname). This parameter is required.
      streamName - The stream name (stream key). This parameter is required.
      options - Optional credentials.
    • url

      @Stability(Experimental) @NotNull public static RtmpDestination url(@NotNull String url, @NotNull String streamName)
      (experimental) Create an RTMP destination.

      Parameters:
      url - The RTMP endpoint URL (e.g. rtmp://host/appname). This parameter is required.
      streamName - The stream name (stream key). This parameter is required.