
com.pulumi.awsnative.evidently.kotlin.outputs.LaunchSegmentOverride.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.evidently.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property evaluationOrder A number indicating the order to use to evaluate segment overrides, if there are more than one. Segment overrides with lower numbers are evaluated first.
* @property segment The ARN of the segment to use for this override.
* @property weights The traffic allocation percentages among the feature variations to assign to this segment. This is a set of key-value pairs. The keys are variation names. The values represent the amount of traffic to allocate to that variation for this segment. This is expressed in thousandths of a percent, so a weight of 50000 represents 50% of traffic.
*/
public data class LaunchSegmentOverride(
public val evaluationOrder: Int,
public val segment: String,
public val weights: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.evidently.outputs.LaunchSegmentOverride): LaunchSegmentOverride = LaunchSegmentOverride(
evaluationOrder = javaType.evaluationOrder(),
segment = javaType.segment(),
weights = javaType.weights().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.evidently.kotlin.outputs.LaunchGroupToWeight.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy