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

com.pulumi.awsnative.lambda.kotlin.outputs.VersionRuntimePolicy.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lambda.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Runtime Management Config of a function.
 * @property runtimeVersionArn The ARN of the runtime the function is configured to use. If the runtime update mode is manual, the ARN is returned, otherwise null is returned.
 * @property updateRuntimeOn The runtime update mode.
 */
public data class VersionRuntimePolicy(
    public val runtimeVersionArn: String? = null,
    public val updateRuntimeOn: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.VersionRuntimePolicy): VersionRuntimePolicy = VersionRuntimePolicy(
            runtimeVersionArn = javaType.runtimeVersionArn().map({ args0 -> args0 }).orElse(null),
            updateRuntimeOn = javaType.updateRuntimeOn(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy