AWS::Lambda::Function TracingConfig - AWS CloudFormation (original) (raw)

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 AWS CloudFormation template, use the following syntax:

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

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.