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

Inherits:
Struct
  • Object
show all
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 function's [X-Ray] tracing configuration. To sample and record incoming requests, set `Mode` to `Active`.

[1]: docs.aws.amazon.com/lambda/latest/dg/services-xray.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#modeString

The tracing mode.

Returns:

  • (String)

4988
4989
4990
4991
4992
# File 'lib/aws-sdk-lambda/types.rb', line 4988

class TracingConfig < Struct.new(
  :mode)
  SENSITIVE = []
  include Aws::Structure
end