com.pulumi.awsnative.pipes.kotlin.outputs.PipeEcsEnvironmentFile.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.pipes.kotlin.outputs
import com.pulumi.awsnative.pipes.kotlin.enums.PipeEcsEnvironmentFileType
import kotlin.String
import kotlin.Suppress
/**
*
* @property type The file type to use. The only supported value is `s3` .
* @property value The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.
*/
public data class PipeEcsEnvironmentFile(
public val type: PipeEcsEnvironmentFileType,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeEcsEnvironmentFile): PipeEcsEnvironmentFile = PipeEcsEnvironmentFile(
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.enums.PipeEcsEnvironmentFileType.Companion.toKotlin(args0)
}),
`value` = javaType.`value`(),
)
}
}