Class S3OutputDestination
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.medialive.alpha.S3OutputDestination
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:41.321Z")
@Stability(Experimental)
public class S3OutputDestination
extends software.amazon.jsii.JsiiObject
(experimental) A destination for an Archive or Frame Capture output group — always an S3 bucket.
Example:
IBucket bucket;
EncodeConfiguration video;
EncodeConfiguration audio;
OutputGroupConfiguration.archive(ArchiveOutputGroupProps.builder()
.name("archive")
.destinations(List.of(S3OutputDestination.toBucket(bucket, "archive/recording")))
.rolloverInterval(Duration.seconds(600))
.outputs(List.of(ArchiveOutputDefinition.builder().encodes(List.of(video, audio)).outputName("archive_out").build()))
.build());
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedS3OutputDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedS3OutputDestination(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic S3OutputDestination(experimental) Deliver to an S3 bucket (auto-grants write to the channel role).static S3OutputDestination(experimental) Deliver to an S3 bucket (auto-grants write to the channel role).static S3OutputDestination(experimental) Deliver to a raws3ssl://path (escape hatch when you don't have a bucket construct).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
-
S3OutputDestination
protected S3OutputDestination(software.amazon.jsii.JsiiObjectRef objRef) -
S3OutputDestination
protected S3OutputDestination(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
toBucket
@Stability(Experimental) @NotNull public static S3OutputDestination 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
@Stability(Experimental) @NotNull public static S3OutputDestination toBucket(@NotNull IBucket bucket) (experimental) Deliver to an S3 bucket (auto-grants write to the channel role).- Parameters:
bucket- This parameter is required.
-
url
(experimental) Deliver to a raws3ssl://path (escape hatch when you don't have a bucket construct).- Parameters:
url- This parameter is required.
-