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

com.pulumi.awsnative.cloudwatch.kotlin.outputs.MetricStreamStatisticsConfiguration.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cloudwatch.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * This structure specifies a list of additional statistics to stream, and the metrics to stream those additional statistics for. All metrics that match the combination of metric name and namespace will be streamed with the extended statistics, no matter their dimensions.
 * @property additionalStatistics The additional statistics to stream for the metrics listed in IncludeMetrics.
 * @property includeMetrics An array that defines the metrics that are to have additional statistics streamed.
 */
public data class MetricStreamStatisticsConfiguration(
    public val additionalStatistics: List,
    public val includeMetrics: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.cloudwatch.outputs.MetricStreamStatisticsConfiguration): MetricStreamStatisticsConfiguration = MetricStreamStatisticsConfiguration(
            additionalStatistics = javaType.additionalStatistics().map({ args0 -> args0 }),
            includeMetrics = javaType.includeMetrics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.cloudwatch.kotlin.outputs.MetricStreamStatisticsMetric.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy