Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.evidently.kotlin.inputs
import com.pulumi.awsnative.evidently.inputs.LaunchStepConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property groupWeights An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
* @property segmentOverrides An array of structures that you can use to specify different traffic splits for one or more audience *segments* . A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
* For more information, see [Use segments to focus your audience](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html) .
* @property startTime The date and time to start this step of the launch. Use UTC format, `yyyy-MM-ddTHH:mm:ssZ` . For example, `2025-11-25T23:59:59Z`
*/
public data class LaunchStepConfigArgs(
public val groupWeights: Output>,
public val segmentOverrides: Output>? = null,
public val startTime: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.evidently.inputs.LaunchStepConfigArgs =
com.pulumi.awsnative.evidently.inputs.LaunchStepConfigArgs.builder()
.groupWeights(
groupWeights.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.segmentOverrides(
segmentOverrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.startTime(startTime.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LaunchStepConfigArgs].
*/
@PulumiTagMarker
public class LaunchStepConfigArgsBuilder internal constructor() {
private var groupWeights: Output>? = null
private var segmentOverrides: Output>? = null
private var startTime: Output? = null
/**
* @param value An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
*/
@JvmName("kuqmagthxjmmtueg")
public suspend fun groupWeights(`value`: Output>) {
this.groupWeights = value
}
@JvmName("ajkhwcjvgimebtuc")
public suspend fun groupWeights(vararg values: Output) {
this.groupWeights = Output.all(values.asList())
}
/**
* @param values An array of structures that define how much launch traffic to allocate to each launch group during this step of the launch.
*/
@JvmName("gdqqiqkslktetfoc")
public suspend fun groupWeights(values: List