com.pulumi.awsnative.evidently.kotlin.outputs.LaunchStepConfig.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.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 LaunchStepConfig(
public val groupWeights: List,
public val segmentOverrides: List? = null,
public val startTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.evidently.outputs.LaunchStepConfig): LaunchStepConfig = LaunchStepConfig(
groupWeights = javaType.groupWeights().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.evidently.kotlin.outputs.LaunchGroupToWeight.Companion.toKotlin(args0)
})
}),
segmentOverrides = javaType.segmentOverrides().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.evidently.kotlin.outputs.LaunchSegmentOverride.Companion.toKotlin(args0)
})
}),
startTime = javaType.startTime(),
)
}
}