com.pulumi.awsnative.mediatailor.kotlin.inputs.PlaybackConfigurationManifestProcessingRulesArgs.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.mediatailor.kotlin.inputs
import com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationManifestProcessingRulesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The configuration for manifest processing rules. Manifest processing rules enable customization of the personalized manifests created by MediaTailor.
* @property adMarkerPassthrough For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.
*/
public data class PlaybackConfigurationManifestProcessingRulesArgs(
public val adMarkerPassthrough: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationManifestProcessingRulesArgs =
com.pulumi.awsnative.mediatailor.inputs.PlaybackConfigurationManifestProcessingRulesArgs.builder()
.adMarkerPassthrough(
adMarkerPassthrough?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [PlaybackConfigurationManifestProcessingRulesArgs].
*/
@PulumiTagMarker
public class PlaybackConfigurationManifestProcessingRulesArgsBuilder internal constructor() {
private var adMarkerPassthrough: Output? = null
/**
* @param value For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.
*/
@JvmName("jgphpckbcrjdlfob")
public suspend fun adMarkerPassthrough(`value`: Output) {
this.adMarkerPassthrough = value
}
/**
* @param value For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.
*/
@JvmName("crqiskxbiqremmtr")
public suspend fun adMarkerPassthrough(`value`: PlaybackConfigurationAdMarkerPassthroughArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.adMarkerPassthrough = mapped
}
/**
* @param argument For HLS, when set to true, MediaTailor passes through EXT-X-CUE-IN, EXT-X-CUE-OUT, and EXT-X-SPLICEPOINT-SCTE35 ad markers from the origin manifest to the MediaTailor personalized manifest. No logic is applied to these ad markers. For example, if EXT-X-CUE-OUT has a value of 60, but no ads are filled for that ad break, MediaTailor will not set the value to 0.
*/
@JvmName("brfqesehxxnybqhp")
public suspend fun adMarkerPassthrough(argument: suspend PlaybackConfigurationAdMarkerPassthroughArgsBuilder.() -> Unit) {
val toBeMapped = PlaybackConfigurationAdMarkerPassthroughArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.adMarkerPassthrough = mapped
}
internal fun build(): PlaybackConfigurationManifestProcessingRulesArgs =
PlaybackConfigurationManifestProcessingRulesArgs(
adMarkerPassthrough = adMarkerPassthrough,
)
}