com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.transcoder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property aes128 Configuration for AES-128 encryption.
* @property drmSystems DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.
* Structure is documented below.
* @property id Identifier for this set of encryption options.
* @property mpegCenc Configuration for MPEG Common Encryption (MPEG-CENC).
* Structure is documented below.
* @property sampleAes Configuration for SAMPLE-AES encryption.
* @property secretManagerKeySource Configuration for secrets stored in Google Secret Manager.
* Structure is documented below.
*/
public data class JobTemplateConfigEncryption(
public val aes128: JobTemplateConfigEncryptionAes128? = null,
public val drmSystems: JobTemplateConfigEncryptionDrmSystems? = null,
public val id: String,
public val mpegCenc: JobTemplateConfigEncryptionMpegCenc? = null,
public val sampleAes: JobTemplateConfigEncryptionSampleAes? = null,
public val secretManagerKeySource: JobTemplateConfigEncryptionSecretManagerKeySource? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.transcoder.outputs.JobTemplateConfigEncryption): JobTemplateConfigEncryption = JobTemplateConfigEncryption(
aes128 = javaType.aes128().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryptionAes128.Companion.toKotlin(args0)
})
}).orElse(null),
drmSystems = javaType.drmSystems().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryptionDrmSystems.Companion.toKotlin(args0)
})
}).orElse(null),
id = javaType.id(),
mpegCenc = javaType.mpegCenc().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryptionMpegCenc.Companion.toKotlin(args0)
})
}).orElse(null),
sampleAes = javaType.sampleAes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryptionSampleAes.Companion.toKotlin(args0)
})
}).orElse(null),
secretManagerKeySource = javaType.secretManagerKeySource().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.transcoder.kotlin.outputs.JobTemplateConfigEncryptionSecretManagerKeySource.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy