File tree Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -45,26 +45,25 @@ Let's configure our base application to look like the following code snippet.
45
45
```yaml
46
46
AWSTemplateFormatVersion: '2010-09-09'
47
47
Transform: AWS::Serverless-2016-10-31
48
- Description: >
49
- Sample SAM Template for powertools-quickstart
48
+ Description: Sample SAM Template for powertools-quickstart
50
49
Globals:
51
- Function:
52
- Timeout: 3
50
+ Function:
51
+ Timeout: 3
53
52
Resources:
54
- HelloWorldFunction:
55
- Type: AWS::Serverless::Function
56
- Properties:
57
- CodeUri: hello_world/
58
- Handler: app.lambda_handler
59
- Runtime: python3.9
60
- Architectures:
61
- - x86_64
62
- Events:
63
- HelloWorld:
64
- Type: Api
53
+ HelloWorldFunction:
54
+ Type: AWS::Serverless::Function
65
55
Properties:
66
- Path: /hello
67
- Method: get
56
+ CodeUri: hello_world/
57
+ Handler: app.lambda_handler
58
+ Runtime: python3.9
59
+ Architectures:
60
+ - x86_64
61
+ Events:
62
+ HelloWorld:
63
+ Type: Api
64
+ Properties:
65
+ Path: /hello
66
+ Method: get
68
67
Outputs:
69
68
HelloWorldApi:
70
69
Description: "API Gateway endpoint URL for Prod stage for Hello World function"
You can’t perform that action at this time.
0 commit comments