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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb

Overview

Note:

When making an API call, you may pass TracingConfig data as a hash:

{
  mode: "Active", # accepts Active, PassThrough
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#modeString

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.

Returns:

  • (String)


1785
1786
1787
1788
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb', line 1785

class TracingConfig < Struct.new(
  :mode)
  include Aws::Structure
end