Skip to content
v2.273.0

TracingConfigProperty Struct ​

The function's AWS X-Ray tracing configuration. To sample and record incoming requests, set Mode to Active .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const tracingConfigProperty: lambda.CfnFunction.TracingConfigProperty = {
  mode: 'mode',
};

Properties ​

modestringmodestrmodeStringModestringMode*string#
The tracing mode.