
com.pulumi.awsnative.mediatailor.kotlin.outputs.PlaybackConfigurationDashConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediatailor.kotlin.outputs
import com.pulumi.awsnative.mediatailor.kotlin.enums.PlaybackConfigurationDashConfigurationOriginManifestType
import kotlin.String
import kotlin.Suppress
/**
* The configuration for DASH PUT operations.
* @property manifestEndpointPrefix The URL generated by MediaTailor to initiate a DASH playback session. The session uses server-side reporting.
* @property mpdLocation The setting that controls whether MediaTailor includes the Location tag in DASH manifests. MediaTailor populates the Location tag with the URL for manifest update requests, to be used by players that don't support sticky redirects. Disable this if you have CDN routing rules set up for accessing MediaTailor manifests, and you are either using client-side reporting or your players support sticky HTTP redirects. Valid values are DISABLED and EMT_DEFAULT. The EMT_DEFAULT setting enables the inclusion of the tag and is the default value.
* @property originManifestType The setting that controls whether MediaTailor handles manifests from the origin server as multi-period manifests or single-period manifests. If your origin server produces single-period manifests, set this to SINGLE_PERIOD. The default setting is MULTI_PERIOD. For multi-period manifests, omit this setting or set it to MULTI_PERIOD.
*/
public data class PlaybackConfigurationDashConfiguration(
public val manifestEndpointPrefix: String? = null,
public val mpdLocation: String? = null,
public val originManifestType: PlaybackConfigurationDashConfigurationOriginManifestType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediatailor.outputs.PlaybackConfigurationDashConfiguration): PlaybackConfigurationDashConfiguration = PlaybackConfigurationDashConfiguration(
manifestEndpointPrefix = javaType.manifestEndpointPrefix().map({ args0 -> args0 }).orElse(null),
mpdLocation = javaType.mpdLocation().map({ args0 -> args0 }).orElse(null),
originManifestType = javaType.originManifestType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.mediatailor.kotlin.enums.PlaybackConfigurationDashConfigurationOriginManifestType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy