
com.pulumi.awsnative.codedeploy.kotlin.outputs.DeploymentConfigTimeBasedCanary.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codedeploy.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property canaryInterval The number of minutes between the first and second traffic shifts of a `TimeBasedCanary` deployment.
* @property canaryPercentage The percentage of traffic to shift in the first increment of a `TimeBasedCanary` deployment.
*/
public data class DeploymentConfigTimeBasedCanary(
public val canaryInterval: Int,
public val canaryPercentage: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codedeploy.outputs.DeploymentConfigTimeBasedCanary): DeploymentConfigTimeBasedCanary = DeploymentConfigTimeBasedCanary(
canaryInterval = javaType.canaryInterval(),
canaryPercentage = javaType.canaryPercentage(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy