
com.pulumi.awsnative.mediapackage.kotlin.outputs.OriginEndpointDashEncryption.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.mediapackage.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
* @property keyRotationIntervalSeconds Time (in seconds) between each encryption key rotation.
* @property spekeKeyProvider Parameters for the SPEKE key provider.
*/
public data class OriginEndpointDashEncryption(
public val keyRotationIntervalSeconds: Int? = null,
public val spekeKeyProvider: OriginEndpointSpekeKeyProvider,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.OriginEndpointDashEncryption): OriginEndpointDashEncryption = OriginEndpointDashEncryption(
keyRotationIntervalSeconds = javaType.keyRotationIntervalSeconds().map({ args0 ->
args0
}).orElse(null),
spekeKeyProvider = javaType.spekeKeyProvider().let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.outputs.OriginEndpointSpekeKeyProvider.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy