You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
9
+
Globals:
10
+
Function:
11
+
Timeout: 3
12
+
13
+
Resources:
14
+
HelloWorldFunction:
15
+
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
16
+
Properties:
17
+
CodeUri: hello_world/
18
+
Handler: app.lambda_handler
19
+
Runtime: python3.12
20
+
Architectures:
21
+
- x86_64
22
+
Events:
23
+
HelloWorld:
24
+
Type: Api
25
+
Properties:
26
+
Path: /hello
27
+
Method: get
28
+
29
+
Outputs:
30
+
# ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
31
+
# Find out more about other implicit resources you can reference within SAM
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
9
+
Globals:
10
+
Function:
11
+
Timeout: 3
12
+
13
+
Resources:
14
+
HelloWorldFunction:
15
+
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
16
+
Properties:
17
+
CodeUri: hello_world/
18
+
Handler: app.lambda_handler
19
+
Runtime: python3.12
20
+
Architectures:
21
+
- x86_64
22
+
Events:
23
+
HelloWorld:
24
+
Type: Api
25
+
Properties:
26
+
Path: /hello
27
+
Method: get
28
+
HelloWorldName:
29
+
Type: Api
30
+
Properties:
31
+
Path: /hello/{name}
32
+
Method: get
33
+
34
+
Outputs:
35
+
# ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
36
+
# Find out more about other implicit resources you can reference within SAM
0 commit comments