Lambda function using PowerTools → Secrets Manager
Lambda function that uses PowerTools to get Secrets Manager secret and call an API.
This pattern creates an AWS Lambda function to call a protected API endpoint using an API Key retrieved using Lambda Powertools from AWS SecretsManager. It is deployed with the AWS Cloud Development Kit (AWS CDK) in Python.