
com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationHlsPackage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackage.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.collections.List
/**
* An HTTP Live Streaming (HLS) packaging configuration.
* @property encryption Parameters for encrypting content.
* @property hlsManifests A list of HLS manifest configurations.
* @property includeDvbSubtitles When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.
* @property segmentDurationSeconds Duration (in seconds) of each fragment. Actual fragments are rounded to the nearest multiple of the source fragment duration.
* @property useAudioRenditionGroup When enabled, audio streams will be placed in rendition groups in the output.
*/
public data class PackagingConfigurationHlsPackage(
public val encryption: PackagingConfigurationHlsEncryption? = null,
public val hlsManifests: List,
public val includeDvbSubtitles: Boolean? = null,
public val segmentDurationSeconds: Int? = null,
public val useAudioRenditionGroup: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.PackagingConfigurationHlsPackage): PackagingConfigurationHlsPackage = PackagingConfigurationHlsPackage(
encryption = javaType.encryption().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationHlsEncryption.Companion.toKotlin(args0)
})
}).orElse(null),
hlsManifests = javaType.hlsManifests().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationHlsManifest.Companion.toKotlin(args0)
})
}),
includeDvbSubtitles = javaType.includeDvbSubtitles().map({ args0 -> args0 }).orElse(null),
segmentDurationSeconds = javaType.segmentDurationSeconds().map({ args0 -> args0 }).orElse(null),
useAudioRenditionGroup = javaType.useAudioRenditionGroup().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy