Class: Aws::Lambda::Types::TracingConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::TracingConfig
- Includes:
- Structure
- Defined in:
- 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
-
#mode ⇒ String
Can be either PassThrough or Active.
Instance Attribute Details
#mode ⇒ String
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.
2000 2001 2002 2003 |
# File 'lib/aws-sdk-lambda/types.rb', line 2000 class TracingConfig < Struct.new( :mode) include Aws::Structure end |