All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.mediapackage.kotlin.outputs.PackagingConfigurationEncryptionContractConfiguration.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@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)
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy