All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ivs.kotlin.outputs.VideoProperties.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ivs.kotlin.outputs

import kotlin.Double
import kotlin.Int
import kotlin.Suppress

/**
 * Video configuration. Default: video resolution 1280x720, bitrate 2500 kbps, 30 fps
 * @property bitrate Bitrate for generated output, in bps. Default: 2500000.
 * @property framerate Video frame rate, in fps. Default: 30.
 * @property height Video-resolution height. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
 * @property width Video-resolution width. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.
 */
public data class VideoProperties(
    public val bitrate: Int? = null,
    public val framerate: Double? = null,
    public val height: Int? = null,
    public val width: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ivs.outputs.VideoProperties): VideoProperties = VideoProperties(
            bitrate = javaType.bitrate().map({ args0 -> args0 }).orElse(null),
            framerate = javaType.framerate().map({ args0 -> args0 }).orElse(null),
            height = javaType.height().map({ args0 -> args0 }).orElse(null),
            width = javaType.width().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy