Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Pattern: AWS Lambda REST API behind Amazon ALB with resource-path Listener Rule (Python & SAM) #2027

Merged

Conversation

bb245
Copy link
Contributor

@bb245 bb245 commented Jan 9, 2024

Issue #1991

Description of changes:
This setup orchestrates the deployment of an Application Load Balancer, configures path-based routes directing traffic to a Python-based AWS Lambda function, and leverages the AWS Lambda Powertools for Python library. The Lambda function, serving as the target, records details of the incoming ALB event, along with the API and context objects, logging them to an Amazon CloudWatch Logs log group and Amazon X-Ray.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

.gitignore Outdated Show resolved Hide resolved
alb-lambda-rest-api-sam-py/README.md Outdated Show resolved Hide resolved
alb-lambda-rest-api-sam-py/example-pattern.json Outdated Show resolved Hide resolved
alb-lambda-rest-api-sam-py/README.md Show resolved Hide resolved
@bb245 bb245 force-pushed the bb245-feature-alb-lambda-rest-api-sam-py branch from 3b393f4 to 54d03eb Compare January 10, 2024 16:52
@bb245 bb245 force-pushed the bb245-feature-alb-lambda-rest-api-sam-py branch from 032a9aa to aa37686 Compare January 10, 2024 21:16
@bb245
Copy link
Contributor Author

bb245 commented Jan 12, 2024

@bfreiberg, fyi please, i've addressed a lint issue and tested the changes.

@bfreiberg
Copy link
Contributor

Looks good, thank you for your contribution.

@bb245
Copy link
Contributor Author

bb245 commented Jan 13, 2024

Looks good, thank you for your contribution.

Thank you!

@benjasl-stripe benjasl-stripe merged commit 044bd45 into aws-samples:main Jan 15, 2024
2 checks passed
@bb245 bb245 deleted the bb245-feature-alb-lambda-rest-api-sam-py branch January 15, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants