mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"name": "ModuletwoBrowserify",
|
|
"envVars": [],
|
|
"package": {
|
|
"optimize": {
|
|
"builder": "browserify",
|
|
"minify": true,
|
|
"ignore": [],
|
|
"exclude": [
|
|
"aws-sdk"
|
|
],
|
|
"includePaths": []
|
|
},
|
|
"excludePatterns": []
|
|
},
|
|
"plugins": [],
|
|
"cloudFormation": {
|
|
"lambda": {
|
|
"Function": {
|
|
"Type": "AWS::Lambda::Function",
|
|
"Properties": {
|
|
"Runtime": "nodejs",
|
|
"Handler": "modules/moduletwo/browserify/handler.handler",
|
|
"Role": {
|
|
"Ref": "aaLambdaRoleArn"
|
|
},
|
|
"Code": {
|
|
"S3Bucket": "",
|
|
"S3Key": ""
|
|
},
|
|
"Timeout": 6,
|
|
"MemorySize": 1024
|
|
}
|
|
}
|
|
},
|
|
"apiGateway": {
|
|
"Endpoint": {
|
|
"Type": "AWS::ApiGateway::Endpoint",
|
|
"Path": "bundle/browserify",
|
|
"Method": "GET",
|
|
"AuthorizationType": "none",
|
|
"ApiKeyRequired": false,
|
|
"RequestTemplates": {},
|
|
"RequestParameters": {},
|
|
"Responses": {
|
|
"400": {
|
|
"statusCode": "400"
|
|
},
|
|
"default": {
|
|
"statusCode": "200",
|
|
"responseParameters": {},
|
|
"responseTemplates": {
|
|
"application/json": ""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|