com.pulumi.gcp.container.kotlin.outputs.AwsNodePoolConfigAutoscalingMetricsCollection.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property granularity The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".
* @property metrics The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify granularity and don't specify any metrics, all metrics are enabled.
*/
public data class AwsNodePoolConfigAutoscalingMetricsCollection(
public val granularity: String,
public val metrics: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.AwsNodePoolConfigAutoscalingMetricsCollection): AwsNodePoolConfigAutoscalingMetricsCollection =
AwsNodePoolConfigAutoscalingMetricsCollection(
granularity = javaType.granularity(),
metrics = javaType.metrics().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy