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

com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildSecret.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudbuild.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map

/**
 *
 * @property kmsKeyName Cloud KMS key name to use to decrypt these envs.
 * @property secretEnv Map of environment variable name to its encrypted value.
 * Secret environment variables must be unique across all of a build's secrets,
 * and must be used by at least one build step. Values can be at most 64 KB in size.
 * There can be at most 100 secret values across all of a build's secrets.
 */
public data class GetTriggerBuildSecret(
    public val kmsKeyName: String,
    public val secretEnv: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerBuildSecret): GetTriggerBuildSecret = GetTriggerBuildSecret(
            kmsKeyName = javaType.kmsKeyName(),
            secretEnv = javaType.secretEnv().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy