com.pulumi.awsnative.rum.kotlin.enums.AppMonitorMetricDestinationDestination.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.rum.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Defines the destination to send the metrics to. Valid values are CloudWatch and Evidently. If you specify Evidently, you must also specify the ARN of the Evidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.
*/
public enum class AppMonitorMetricDestinationDestination(
public val javaValue: com.pulumi.awsnative.rum.enums.AppMonitorMetricDestinationDestination,
) : ConvertibleToJava {
CloudWatch(com.pulumi.awsnative.rum.enums.AppMonitorMetricDestinationDestination.CloudWatch),
Evidently(com.pulumi.awsnative.rum.enums.AppMonitorMetricDestinationDestination.Evidently),
;
override fun toJava(): com.pulumi.awsnative.rum.enums.AppMonitorMetricDestinationDestination =
javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.rum.enums.AppMonitorMetricDestinationDestination): AppMonitorMetricDestinationDestination =
AppMonitorMetricDestinationDestination.values().first { it.javaValue == javaType }
}
}