zappa_settings.json 752 Bytes
{
    "production": {
        "aws_region": "ap-northeast-2",
        "django_settings": "config.settings",
        "profile_name": "default",
        "project_name": "khubox-api",
        "runtime": "python3.6",
        "s3_bucket": "khubox-deploy",
        "memory_size": 128,
        "vpc_config": {
            "SubnetIds": ["subnet-02d51e69"],
            "SecurityGroupIds": ["sg-09c30d37d6a504f5c"]
        },
        "events": [
            {
                "function": "khubox.lambda.process_upload",
                "event_source": {
                    "arn": "arn:aws:s3:::khubox-files",
                    "events": [
                        "s3:ObjectCreated:Put"
                    ]
                }
            }
        ]
    }
}