Class ThumbnailConfiguration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ivs.alpha.ThumbnailConfiguration
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:51.844Z")
@Stability(Experimental)
public class ThumbnailConfiguration
extends software.amazon.jsii.JsiiObject
(experimental) Thumbnail configuration for IVS Recording configuration.
Example:
Bucket recordingBucket;
RecordingConfiguration recordingConfiguration = RecordingConfiguration.Builder.create(this, "RecordingConfiguration")
.bucket(recordingBucket)
// set thumbnail settings
.thumbnailConfiguration(ThumbnailConfiguration.interval(Resolution.HD, List.of(Storage.LATEST, Storage.SEQUENTIAL), Duration.seconds(30)))
.build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedThumbnailConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedThumbnailConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic ThumbnailConfigurationdisable()(experimental) Disable the generation of thumbnails for recorded video.(experimental) Thumbnail recording mode.(experimental) The desired resolution of recorded thumbnails for a stream.(experimental) The format in which thumbnails are recorded for a stream.(experimental) The targeted thumbnail-generation interval.static ThumbnailConfigurationinterval()(experimental) Enable the generation of thumbnails for recorded video at a time interval.static ThumbnailConfigurationinterval(Resolution resolution) (experimental) Enable the generation of thumbnails for recorded video at a time interval.static ThumbnailConfigurationinterval(Resolution resolution, List<? extends Storage> storage) (experimental) Enable the generation of thumbnails for recorded video at a time interval.static ThumbnailConfigurationinterval(Resolution resolution, List<? extends Storage> storage, Duration targetInterval) (experimental) Enable the generation of thumbnails for recorded video at a time interval.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
-
ThumbnailConfiguration
protected ThumbnailConfiguration(software.amazon.jsii.JsiiObjectRef objRef) -
ThumbnailConfiguration
protected ThumbnailConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
disable
(experimental) Disable the generation of thumbnails for recorded video. -
interval
@Stability(Experimental) @NotNull public static ThumbnailConfiguration interval(@Nullable Resolution resolution, @Nullable List<? extends Storage> storage, @Nullable Duration targetInterval) (experimental) Enable the generation of thumbnails for recorded video at a time interval.- Parameters:
resolution- The desired resolution of recorded thumbnails for a stream.storage- The format in which thumbnails are recorded for a stream.targetInterval- The targeted thumbnail-generation interval.
-
interval
@Stability(Experimental) @NotNull public static ThumbnailConfiguration interval(@Nullable Resolution resolution, @Nullable List<? extends Storage> storage) (experimental) Enable the generation of thumbnails for recorded video at a time interval.- Parameters:
resolution- The desired resolution of recorded thumbnails for a stream.storage- The format in which thumbnails are recorded for a stream.
-
interval
@Stability(Experimental) @NotNull public static ThumbnailConfiguration interval(@Nullable Resolution resolution) (experimental) Enable the generation of thumbnails for recorded video at a time interval.- Parameters:
resolution- The desired resolution of recorded thumbnails for a stream.
-
interval
(experimental) Enable the generation of thumbnails for recorded video at a time interval. -
getRecordingMode
(experimental) Thumbnail recording mode.If you do not specify this property,
ThumbnailRecordingMode.INTERVALis set. -
getResolution
(experimental) The desired resolution of recorded thumbnails for a stream.If you do not specify this property, same resolution as Input stream is used.
-
getStorage
(experimental) The format in which thumbnails are recorded for a stream.If you do not specify this property,
ThumbnailStorage.SEQUENTIALis set. -
getTargetInterval
(experimental) The targeted thumbnail-generation interval.Must be between 1 and 60 seconds. If you do not specify this property,
Duration.seconds(60)is set.
-