Storage

class aws_cdk.aws_ivs_alpha.Storage(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

(experimental) The format in which thumbnails are recorded for a stream.

Stability:

experimental

ExampleMetadata:

infused

Example:

# recording_bucket: s3.Bucket


recording_configuration = ivs.RecordingConfiguration(self, "RecordingConfiguration",
    bucket=recording_bucket,

    # set thumbnail settings
    thumbnail_configuration=ivs.ThumbnailConfiguration.interval(ivs.Resolution.HD, [ivs.Storage.LATEST, ivs.Storage.SEQUENTIAL], Duration.seconds(30))
)

Attributes

LATEST

(experimental) LATEST saves the latest thumbnail in media/thumbnails/latest/thumb.jpg and overwrites it at the interval specified by thumbnailTargetInterval.

Stability:

experimental

SEQUENTIAL

(experimental) SEQUENTIAL records all generated thumbnails in a serial manner, to the media/thumbnails directory.

Stability:

experimental