jonaskriks / aws-apigateway-lambda-authorizer-blueprints

Blueprints and examples for Lambda-based custom Authorizers for use in API Gateway.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amazon API Gateway - Custom Authorizer Blueprints for AWS Lambda

We've added blueprints and examples in 3 languages for Lambda-based custom Authorizers for use in API Gateway.

Java

Not available in the Lambda console. Use the AuthPolicy object to generate and serialize IAM policies for your custom authorizer. See javadoc comments for more details.

NodeJS

Also available in the Lambda console, the NodeJS blueprint makes it easy to generate IAM policies, including Conditions.

Python

Also available in the Lambda console, the Python blueprint includes the AuthPolicy class, which makes generating IAM policies simple and easy to understand.

Go

Not available in the Lambda console. Use the AuthorizerResponse object to generate IAM policies for your custom authorizer. See comments for more details.

Rust

Not available in the Lambda console. Using awslabs/aws-lambda-rust-runtime. Use the APIGatewayPolicyBuilder object to generate IAM policies for your custom authorizer. See comments for more details.

Docs

For more details, see public documentation for:

About

Blueprints and examples for Lambda-based custom Authorizers for use in API Gateway.

License:Apache License 2.0


Languages

Language:C# 29.0%Language:Java 21.1%Language:JavaScript 19.8%Language:Python 13.8%Language:Go 8.3%Language:Rust 8.0%