AWS Lambda

We currently support AWS Lambda for Python.

from Archetype import Archetype, archetype_login_required

## Add the archetype_login_required as a decorator to your lambda handler
@archetype_login_required()  
def lambda_handler(event, context):
    # Your function
    return {
        'statusCode': 200,
        'body': json.dumps('Hello from Lambda!')
    }