
com.pulumi.azure.media.kotlin.inputs.StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property customKeysAcquisitionUrlTemplate The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
public data class StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs(
public val customKeysAcquisitionUrlTemplate: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs =
com.pulumi.azure.media.inputs.StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs.builder()
.customKeysAcquisitionUrlTemplate(
customKeysAcquisitionUrlTemplate.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs].
*/
@PulumiTagMarker
public class StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgsBuilder internal constructor() {
private var customKeysAcquisitionUrlTemplate: Output? = null
/**
* @param value The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
@JvmName("ifpwdijilsoejewp")
public suspend fun customKeysAcquisitionUrlTemplate(`value`: Output) {
this.customKeysAcquisitionUrlTemplate = value
}
/**
* @param value The URL template for the custom service that delivers content keys to the end user. This is not required when using Azure Media Services for issuing keys. Changing this forces a new Streaming Policy to be created.
* > **Note** Either `clear_key_encryption` or `drm` must be specified.
*/
@JvmName("yikbotvfxikfvrtx")
public suspend fun customKeysAcquisitionUrlTemplate(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customKeysAcquisitionUrlTemplate = mapped
}
internal fun build(): StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs =
StreamingPolicyCommonEncryptionCbcsClearKeyEncryptionArgs(
customKeysAcquisitionUrlTemplate = customKeysAcquisitionUrlTemplate ?: throw
PulumiNullFieldException("customKeysAcquisitionUrlTemplate"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy