Skip to content

Commit 62d2c6a

Browse files
mnapolipgrzesik
authored andcommitted
Switch to HTTP APIs by default for Java examples
1 parent 8786b2f commit 62d2c6a

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ region: us-east-1
110110
api keys:
111111
None
112112
endpoints:
113-
GET - https://XXXXXXX.execute-api.us-east-1.amazonaws.com/dev/ping
113+
GET - https://XXXXXXX.execute-api.us-east-1.amazonaws.com/ping
114114
functions:
115115
aws-java-simple-http-endpoint-dev-currentTime: arn:aws:lambda:us-east-1:XXXXXXX:function:aws-java-simple-http-endpoint-dev-currentTime
116116

@@ -146,7 +146,7 @@ REPORT RequestId: XXXXXXX Duration: 0.51 ms Billed Duration: 100 ms Memory Size
146146
Finally you can send an HTTP request directly to the endpoint using a tool like curl
147147

148148
```bash
149-
curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/dev/ping
149+
curl https://XXXXXXX.execute-api.us-east-1.amazonaws.com/ping
150150
```
151151

152152
The expected result should be similar to:
@@ -157,4 +157,4 @@ The expected result should be similar to:
157157

158158
## Scaling
159159

160-
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).
160+
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,18 +1,17 @@
11
service: aws-java-simple-http-endpoint
2-
3-
frameworkVersion: ">=1.2.0 <2.0.0"
2+
frameworkVersion: '2'
43

54
provider:
65
name: aws
76
runtime: java8
8-
7+
98
package:
109
artifact: build/distributions/aws-java-simple-http-endpoint.zip
1110

1211
functions:
1312
currentTime:
1413
handler: com.serverless.Handler
1514
events:
16-
- http:
17-
path: ping
15+
- httpApi:
16+
path: /ping
1817
method: get

0 commit comments

Comments
 (0)