79141057

Date: 2024-10-30 12:18:41
Score: 0.5
Natty:
Report link

According to the AWS documentation, the AWS Parameters and Secrets Lambda Extension cannot be used outside of the handler function.

The extension can be invoked only in the INVOKE phase of the the Lambda and not during the INIT phase.

While top-level await occurs during INIT phase

Reference: https://docs.aws.amazon.com/systems-manager/latest/userguide/ps-integration-lambda-extensions.html

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: BigButovskyi