All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.apprunner.kotlin.outputs.GetAutoScalingConfigurationResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.apprunner.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property autoScalingConfigurationArn The Amazon Resource Name (ARN) of this auto scaling configuration.
 * @property autoScalingConfigurationRevision The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName.
 * @property latest It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
 */
public data class GetAutoScalingConfigurationResult(
    public val autoScalingConfigurationArn: String? = null,
    public val autoScalingConfigurationRevision: Int? = null,
    public val latest: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.apprunner.outputs.GetAutoScalingConfigurationResult): GetAutoScalingConfigurationResult = GetAutoScalingConfigurationResult(
            autoScalingConfigurationArn = javaType.autoScalingConfigurationArn().map({ args0 ->
                args0
            }).orElse(null),
            autoScalingConfigurationRevision = javaType.autoScalingConfigurationRevision().map({ args0 ->
                args0
            }).orElse(null),
            latest = javaType.latest().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy