com.pulumi.aws.codebuild.kotlin.outputs.GetFleetScalingConfigurationTargetTrackingScalingConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.codebuild.kotlin.outputs
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property metricType The metric type to determine auto-scaling.
* @property targetValue The value of metric_type when to start scaling.
*/
public data class GetFleetScalingConfigurationTargetTrackingScalingConfig(
public val metricType: String,
public val targetValue: Double,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.codebuild.outputs.GetFleetScalingConfigurationTargetTrackingScalingConfig): GetFleetScalingConfigurationTargetTrackingScalingConfig =
GetFleetScalingConfigurationTargetTrackingScalingConfig(
metricType = javaType.metricType(),
targetValue = javaType.targetValue(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy