com.pulumi.awsnative.cloudwatch.kotlin.outputs.MetricStreamStatisticsMetric.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.cloudwatch.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A structure that specifies the metric name and namespace for one metric that is going to have additional statistics included in the stream.
* @property metricName The name of the metric.
* @property namespace The namespace of the metric.
*/
public data class MetricStreamStatisticsMetric(
public val metricName: String,
public val namespace: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudwatch.outputs.MetricStreamStatisticsMetric): MetricStreamStatisticsMetric = MetricStreamStatisticsMetric(
metricName = javaType.metricName(),
namespace = javaType.namespace(),
)
}
}