Module: AWSCDK::Lambda::Tracing
- Defined in:
- lambda/tracing.rb
Overview
X-Ray Tracing Modes (https://docs.aws.amazon.com/lambda/latest/dg/API_TracingConfig.html).
Constant Summary collapse
- ACTIVE =
Deprecated.Note:
Default:
Lambda will respect any tracing header it receives from an upstream service.
If no tracing header is received, Lambda will sample the request based on a fixed rate. Please see the Using AWS Lambda with AWS X-Ray documentation for details on this sampling behavior.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.Tracing", "ACTIVE")
- PASS_THROUGH =
Deprecated.Note:
Default:
Lambda will only trace the request from an upstream service if it contains a tracing header with "sampled=1".
Jsii::Enum.new("aws-cdk-lib.aws_lambda.Tracing", "PASS_THROUGH")
- DISABLED =
Deprecated.Note:
Default:
Lambda will not trace any request.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.Tracing", "DISABLED")