
com.pulumi.awsnative.lambda.kotlin.outputs.AliasRoutingConfiguration.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.Suppress
import kotlin.collections.List
/**
* The traffic-shifting configuration of a Lambda function alias.
* @property additionalVersionWeights The second version, and the percentage of traffic that's routed to it.
*/
public data class AliasRoutingConfiguration(
public val additionalVersionWeights: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.AliasRoutingConfiguration): AliasRoutingConfiguration = AliasRoutingConfiguration(
additionalVersionWeights = javaType.additionalVersionWeights().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lambda.kotlin.outputs.AliasVersionWeight.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy