
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointHlsManifestConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackagev2.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Retrieve the HTTP live streaming (HLS) manifest configuration.
* @property childManifestName A short string that's appended to the endpoint URL. The child manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default child manifest name, index_1. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
* @property filterConfiguration
* @property manifestName A short short string that's appended to the endpoint URL. The manifest name creates a unique path to this endpoint. If you don't enter a value, MediaPackage uses the default manifest name, index. MediaPackage automatically inserts the format extension, such as .m3u8. You can't use the same manifest name if you use HLS manifest and low-latency HLS manifest. The manifestName on the HLSManifest object overrides the manifestName you provided on the originEndpoint object.
* @property manifestWindowSeconds The total duration (in seconds) of the manifest's content.
* @property programDateTimeIntervalSeconds Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,
* EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.
* The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.
* ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.
* Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.
* @property scteHls THE SCTE-35 HLS configuration associated with the HLS manifest configuration.
* @property url The egress domain URL for stream delivery from MediaPackage.
*/
public data class OriginEndpointHlsManifestConfiguration(
public val childManifestName: String? = null,
public val filterConfiguration: OriginEndpointFilterConfiguration? = null,
public val manifestName: String,
public val manifestWindowSeconds: Int? = null,
public val programDateTimeIntervalSeconds: Int? = null,
public val scteHls: OriginEndpointScteHls? = null,
public val url: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackagev2.outputs.OriginEndpointHlsManifestConfiguration): OriginEndpointHlsManifestConfiguration = OriginEndpointHlsManifestConfiguration(
childManifestName = javaType.childManifestName().map({ args0 -> args0 }).orElse(null),
filterConfiguration = javaType.filterConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointFilterConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
manifestName = javaType.manifestName(),
manifestWindowSeconds = javaType.manifestWindowSeconds().map({ args0 -> args0 }).orElse(null),
programDateTimeIntervalSeconds = javaType.programDateTimeIntervalSeconds().map({ args0 ->
args0
}).orElse(null),
scteHls = javaType.scteHls().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediapackagev2.kotlin.outputs.OriginEndpointScteHls.Companion.toKotlin(args0)
})
}).orElse(null),
url = javaType.url().map({ args0 -> args0 }).orElse(null),
)
}
}