aws README fixes

This commit is contained in:
Brandon Liu
2022-11-22 10:46:40 +08:00
parent 51c794824c
commit d986c418e4

View File

@@ -18,7 +18,7 @@ Building the Lambda ZIP yourself:
npm run build
```
Upload the resulting `dist/lambda_function.zip` using the Lambda console or paste `dist/index.js`.
Upload the resulting `dist/lambda_function.zip` using the Lambda console or paste `dist/index.mjs`.
Configure these Lambda environment variables:
@@ -48,10 +48,6 @@ API Gateway (HTTP or REST):
}
```
### Monitoring
TBD
### Lambda@Edge
Lambda@Edge's multi-region features have little benefit when fetching data from S3 in a single region, and Lambda@Edge [doesn't support](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-restrictions.html) environment variables or responses over 1 MB. For globally distributed caching, use CloudFront in combination with Lambda Function URLs.