FunctionTracingConfigArgs

data class FunctionTracingConfigArgs(val mode: Output<String>) : ConvertibleToJava<FunctionTracingConfigArgs>

Constructors

Link copied to clipboard
constructor(mode: Output<String>)

Properties

Link copied to clipboard
val mode: Output<String>

Whether to sample and trace a subset of incoming requests with AWS X-Ray. Valid values are PassThrough and Active. If PassThrough, Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1". If Active, Lambda will respect any tracing header it receives from an upstream service. If no tracing header is received, Lambda will call X-Ray for a tracing decision.

Functions

Link copied to clipboard
open override fun toJava(): FunctionTracingConfigArgs