
com.pulumi.awsnative.lambda.kotlin.outputs.AliasVersionWeight.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.lambda.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
* The traffic-shifting configuration of a Lambda function alias.
* @property functionVersion The qualifier of the second version.
* @property functionWeight The percentage of traffic that the alias routes to the second version.
*/
public data class AliasVersionWeight(
public val functionVersion: String,
public val functionWeight: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.AliasVersionWeight): AliasVersionWeight = AliasVersionWeight(
functionVersion = javaType.functionVersion(),
functionWeight = javaType.functionWeight(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy