Tracing¶
-
class
aws_cdk.aws_lambda.
Tracing
(value)¶ Bases:
enum.Enum
X-Ray Tracing Modes (https://docs.aws.amazon.com/lambda/latest/dg/API_TracingConfig.html).
Attributes
-
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.
-
DISABLED
¶ Lambda will not trace any request.
-
PASS_THROUGH
¶ Lambda will only trace the request from an upstream service if it contains a tracing header with “sampled=1”.
-