You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Lambda::Types::TracingConfig

  • Object
show all
Defined in:



When passing TracingConfig as input to an Aws::Client method, you can use a vanilla Hash:

  mode: "Active", # accepts Active, PassThrough

The parent object that contains your function's tracing settings.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


Can be either PassThrough or 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.

Possible values:

  • Active
  • PassThrough


  • (String)

    Can be either PassThrough or Active.