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

com.pulumi.aws.codebuild.kotlin.outputs.ProjectEnvironmentEnvironmentVariable.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.codebuild.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property name Environment variable's name or key.
 * @property type Type of environment variable. Valid values: `PARAMETER_STORE`, `PLAINTEXT`, `SECRETS_MANAGER`.
 * @property value Environment variable's value.
 */
public data class ProjectEnvironmentEnvironmentVariable(
    public val name: String,
    public val type: String? = null,
    public val `value`: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.codebuild.outputs.ProjectEnvironmentEnvironmentVariable): ProjectEnvironmentEnvironmentVariable = ProjectEnvironmentEnvironmentVariable(
            name = javaType.name(),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
            `value` = javaType.`value`(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy