![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.ApplicationVersionLifecycleConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs
import kotlin.Suppress
/**
*
* @property maxAgeRule Specify a max age rule to restrict the length of time that application versions are retained for an application.
* @property maxCountRule Specify a max count rule to restrict the number of application versions that are retained for an application.
*/
public data class ApplicationVersionLifecycleConfig(
public val maxAgeRule: ApplicationMaxAgeRule? = null,
public val maxCountRule: ApplicationMaxCountRule? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.elasticbeanstalk.outputs.ApplicationVersionLifecycleConfig): ApplicationVersionLifecycleConfig = ApplicationVersionLifecycleConfig(
maxAgeRule = javaType.maxAgeRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.ApplicationMaxAgeRule.Companion.toKotlin(args0)
})
}).orElse(null),
maxCountRule = javaType.maxCountRule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.ApplicationMaxCountRule.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy