com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationEncryptionContractConfiguration.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.mediapackage.kotlin.outputs
import com.pulumi.awsnative.mediapackage.kotlin.enums.PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Audio
import com.pulumi.awsnative.mediapackage.kotlin.enums.PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Video
import kotlin.Suppress
/**
* The configuration to use for encrypting one or more content tracks separately for endpoints that use SPEKE 2.0.
* @property presetSpeke20Audio A collection of audio encryption presets.
* @property presetSpeke20Video A collection of video encryption presets.
*/
public data class PackagingConfigurationEncryptionContractConfiguration(
public val presetSpeke20Audio: PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Audio,
public val presetSpeke20Video: PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Video,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.mediapackage.outputs.PackagingConfigurationEncryptionContractConfiguration): PackagingConfigurationEncryptionContractConfiguration =
PackagingConfigurationEncryptionContractConfiguration(
presetSpeke20Audio = javaType.presetSpeke20Audio().let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.enums.PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Audio.Companion.toKotlin(args0)
}),
presetSpeke20Video = javaType.presetSpeke20Video().let({ args0 ->
com.pulumi.awsnative.mediapackage.kotlin.enums.PackagingConfigurationEncryptionContractConfigurationPresetSpeke20Video.Companion.toKotlin(args0)
}),
)
}
}