Class OutputDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.OutputDestination
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.300Z")
@Stability(Experimental)
public class OutputDestination
extends software.amazon.jsii.JsiiObject
(experimental) A general URL-based output destination — an S3 bucket or an HTTP(S) endpoint.
Used by HLS, MS Smooth, and CMAF Ingest output groups. Each output group's destinations
prop is typed to the destination valid for its protocol, so an invalid pairing (e.g. a UDP
destination on an HLS group) is a compile-time error rather than a deploy-time failure.
Example:
Stack stack;
IInput input;
IBucket bucket;
EncodeConfiguration video;
Channel.Builder.create(stack, "Channel")
.inputs(List.of(InputAttachment.builder().input(input).build()))
.availBlanking(AvailBlanking.builder()
.state(AvailBlankingState.ENABLED)
.image(FileLocation.fromBucket(bucket, "slates/avail.png"))
.build())
.blackoutSlate(BlackoutSlate.builder()
.state(BlackoutSlateState.ENABLED)
.image(FileLocation.fromBucket(bucket, "slates/blackout.png"))
.build())
.outputGroups(List.of(OutputGroupConfiguration.hls(HlsOutputGroupProps.builder()
.name("hls")
.destinations(List.of(OutputDestination.toBucket(bucket, "live/stream")))
.outputs(List.of(HlsOutputDefinition.builder().encodes(List.of(video)).outputName("hls_out").build()))
.build())))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOutputDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedOutputDestination(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputDestination(experimental) Deliver to an S3 bucket (auto-grants write to the channel role).static OutputDestination(experimental) Deliver to an S3 bucket (auto-grants write to the channel role).static OutputDestination(experimental) Deliver to a raw URL — typically anhttps://origin (or ans3ssl://path).static OutputDestinationurl(String url, OutputDestinationOptions options) (experimental) Deliver to a raw URL — typically anhttps://origin (or ans3ssl://path).Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
OutputDestination
protected OutputDestination(software.amazon.jsii.JsiiObjectRef objRef) -
OutputDestination
protected OutputDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
toBucket
@Stability(Experimental) @NotNull public static OutputDestination toBucket(@NotNull IBucket bucket, @Nullable String prefix) (experimental) Deliver to an S3 bucket (auto-grants write to the channel role).- Parameters:
bucket- This parameter is required.prefix-
-
toBucket
(experimental) Deliver to an S3 bucket (auto-grants write to the channel role).- Parameters:
bucket- This parameter is required.
-
url
@Stability(Experimental) @NotNull public static OutputDestination url(@NotNull String url, @Nullable OutputDestinationOptions options) (experimental) Deliver to a raw URL — typically anhttps://origin (or ans3ssl://path).- Parameters:
url- This parameter is required.options-
-
url
(experimental) Deliver to a raw URL — typically anhttps://origin (or ans3ssl://path).- Parameters:
url- This parameter is required.
-