
com.pulumi.awsnative.appsync.kotlin.enums.ResolverMetricsConfig.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.appsync.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Enables or disables enhanced resolver metrics for specified resolvers. Note that ``MetricsConfig`` won't be used unless the ``resolverLevelMetricsBehavior`` value is set to ``PER_RESOLVER_METRICS``. If the ``resolverLevelMetricsBehavior`` is set to ``FULL_REQUEST_RESOLVER_METRICS`` instead, ``MetricsConfig`` will be ignored. However, you can still set its value.
*/
public enum class ResolverMetricsConfig(
public val javaValue: com.pulumi.awsnative.appsync.enums.ResolverMetricsConfig,
) : ConvertibleToJava {
Enabled(com.pulumi.awsnative.appsync.enums.ResolverMetricsConfig.Enabled),
Disabled(com.pulumi.awsnative.appsync.enums.ResolverMetricsConfig.Disabled),
;
override fun toJava(): com.pulumi.awsnative.appsync.enums.ResolverMetricsConfig = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.appsync.enums.ResolverMetricsConfig): ResolverMetricsConfig = ResolverMetricsConfig.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy