Skip to content

Commit beec914

Browse files
Merge pull request #2 from Sassyprogrammer1/dev
readme file updated
2 parents 57f5c61 + be74d22 commit beec914

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This project contains source code and supporting files for a serverless application that you can deploy with the SAM CLI. It includes the following files and folders.
44

5-
- hello_world - Code for the application's Lambda function.
5+
- app.py - Code for the application's Lambda function.
66
- events - Invocation events that you can use to invoke the function.
77
- tests - Unit tests for the application code.
88
- template.yaml - A template that defines the application's AWS resources.
@@ -80,11 +80,11 @@ The SAM CLI reads the application template to determine the API's routes and the
8080

8181
```yaml
8282
Events:
83-
HelloWorld:
83+
ScheduleFunction:
8484
Type: Api
8585
Properties:
86-
Path: /hello
87-
Method: get
86+
Path: /schedule
87+
Method: post
8888
```
8989
9090
## Add a resource to your application

0 commit comments

Comments
 (0)