
com.pulumi.awsnative.lambda.kotlin.outputs.FunctionTracingConfig.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.lambda.kotlin.outputs
import com.pulumi.awsnative.lambda.kotlin.enums.FunctionTracingConfigMode
import kotlin.Suppress
/**
* The function's [](https://docs.aws.amazon.com/lambda/latest/dg/services-xray.html) tracing configuration. To sample and record incoming requests, set ``Mode`` to ``Active``.
* @property mode The tracing mode.
*/
public data class FunctionTracingConfig(
public val mode: FunctionTracingConfigMode? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lambda.outputs.FunctionTracingConfig): FunctionTracingConfig = FunctionTracingConfig(
mode = javaType.mode().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lambda.kotlin.enums.FunctionTracingConfigMode.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy