
com.pulumi.awsnative.elasticbeanstalk.kotlin.outputs.ApplicationMaxCountRule.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.elasticbeanstalk.kotlin.outputs
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
/**
*
* @property deleteSourceFromS3 Set to true to delete a version's source bundle from Amazon S3 when Elastic Beanstalk deletes the application version.
* @property enabled Specify true to apply the rule, or false to disable it.
* @property maxCount Specify the maximum number of application versions to retain.
*/
public data class ApplicationMaxCountRule(
public val deleteSourceFromS3: Boolean? = null,
public val enabled: Boolean? = null,
public val maxCount: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.elasticbeanstalk.outputs.ApplicationMaxCountRule): ApplicationMaxCountRule = ApplicationMaxCountRule(
deleteSourceFromS3 = javaType.deleteSourceFromS3().map({ args0 -> args0 }).orElse(null),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
maxCount = javaType.maxCount().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy