aws-cdk-lib.aws_lambda.CfnFunction.TracingConfigProperty

interface TracingConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Lambda.CfnFunction.TracingConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#CfnFunction_TracingConfigProperty
Javasoftware.amazon.awscdk.services.lambda.CfnFunction.TracingConfigProperty
Pythonaws_cdk.aws_lambda.CfnFunction.TracingConfigProperty
TypeScript aws-cdk-lib » aws_lambda » CfnFunction » TracingConfigProperty

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

Example

// 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

NameTypeDescription
mode?stringThe tracing mode.

mode?

Type: string (optional)

The tracing mode.