AWS::Lambda::Function TracingConfig - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Lambda::Function TracingConfig

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Mode" : String }

YAML

Mode: String

Properties

Mode

The tracing mode.

Required: No

Type: String

Allowed values: Active | PassThrough

Update requires: No interruption

Examples

Tracing Configuration

Enable active tracing on a function.

YAML

TracingConfig: Mode: Active