Skip to content

Commit cc17756

Browse files
mnapolipgrzesik
authored andcommitted
Switch to HTTP APIs by default for Ruby example
1 parent dbd310f commit cc17756

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

aws-ruby-simple-http-endpoint/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ stack: serverless-ruby-simple-http-endpoint-dev
4747
api keys:
4848
None
4949
endpoints:
50-
GET - https://spmfbzc6ja.execute-api.us-east-1.amazonaws.com/dev/ping
50+
GET - https://spmfbzc6ja.execute-api.us-east-1.amazonaws.com/ping
5151
functions:
5252
current_time: serverless-ruby-simple-http-endpoint-dev-current_time
5353
layers:
@@ -59,9 +59,9 @@ Serverless: Removing old service artifacts from S3...
5959
Send an HTTP request directly to the endpoint using a tool like curl:
6060

6161
```bash
62-
curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/dev/ping
62+
curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/ping
6363
```
6464

6565
## Scaling
6666

67-
By default, AWS Lambda limits the total concurrent executions across all functions within a given region to 100. The default limit is a safety limit that protects you from costs due to potential runaway or recursive functions during initial development and testing. To increase this limit above the default, follow the steps in [To request a limit increase for concurrent executions](http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html#increase-concurrent-executions-limit).
67+
By default, AWS Lambda limits the total concurrent executions across all functions within a given region to 1000. The default limit is a safety limit that protects you from costs due to potential runaway or recursive functions during initial development and testing. To increase this limit above the default, follow the steps in [To request a limit increase for concurrent executions](http://docs.aws.amazon.com/lambda/latest/dg/concurrent-executions.html#increase-concurrent-executions-limit).
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
service: serverless-ruby-simple-http-endpoint
2-
3-
frameworkVersion: ">=2.1.0 <3.0.0"
2+
frameworkVersion: '2'
43

54
provider:
65
name: aws
@@ -10,6 +9,6 @@ functions:
109
current_time:
1110
handler: handler.endpoint
1211
events:
13-
- http:
14-
path: ping
15-
method: get
12+
- httpApi:
13+
path: /ping
14+
method: get

0 commit comments

Comments
 (0)