
com.pulumi.awsnative.iot.kotlin.outputs.GetResourceSpecificLoggingResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import com.pulumi.awsnative.iot.kotlin.enums.ResourceSpecificLoggingLogLevel
import kotlin.String
import kotlin.Suppress
/**
*
* @property logLevel The log level for a specific target. Valid values are: ERROR, WARN, INFO, DEBUG, or DISABLED.
* @property targetId Unique Id for a Target (TargetType:TargetName), this will be internally built to serve as primary identifier for a log target.
*/
public data class GetResourceSpecificLoggingResult(
public val logLevel: ResourceSpecificLoggingLogLevel? = null,
public val targetId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetResourceSpecificLoggingResult): GetResourceSpecificLoggingResult = GetResourceSpecificLoggingResult(
logLevel = javaType.logLevel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.iot.kotlin.enums.ResourceSpecificLoggingLogLevel.Companion.toKotlin(args0)
})
}).orElse(null),
targetId = javaType.targetId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy