com.pulumi.awsnative.logs.kotlin.enums.LogGroupClass.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.logs.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies the log group class for this log group. There are two classes:
* + The ``Standard`` log class supports all CWL features.
* + The ``Infrequent Access`` log class supports a subset of CWL features and incurs lower costs.
* For details about the features supported by each class, see [Log classes](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch_Logs_Log_Classes.html)
*/
public enum class LogGroupClass(
public val javaValue: com.pulumi.awsnative.logs.enums.LogGroupClass,
) : ConvertibleToJava {
Standard(com.pulumi.awsnative.logs.enums.LogGroupClass.Standard),
InfrequentAccess(com.pulumi.awsnative.logs.enums.LogGroupClass.InfrequentAccess),
;
override fun toJava(): com.pulumi.awsnative.logs.enums.LogGroupClass = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.logs.enums.LogGroupClass): LogGroupClass =
LogGroupClass.values().first { it.javaValue == javaType }
}
}