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
Copy file name to clipboardExpand all lines: example/template.yaml
-41
Original file line number
Diff line number
Diff line change
@@ -12,24 +12,6 @@ Globals:
12
12
Runtime: java11
13
13
14
14
Resources:
15
-
HelloWorldFunction:
16
-
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
17
-
Properties:
18
-
CodeUri: HelloWorldFunction
19
-
Handler: helloworld.App::handleRequest
20
-
MemorySize: 512
21
-
Environment: # More info about Env Vars: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#environment-object
22
-
Variables:
23
-
POWERTOOLS_SERVICE_NAME: "Payment Service"
24
-
POWERTOOLS_LOG_LEVEL: INFO
25
-
Tracing: Active
26
-
Events:
27
-
HelloWorld:
28
-
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
29
-
Properties:
30
-
Path: /hello
31
-
Method: get
32
-
33
15
HelloWorldValidationFunction:
34
16
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
35
17
Properties:
@@ -44,23 +26,6 @@ Resources:
44
26
Path: /hello
45
27
Method: post
46
28
47
-
HelloWorldStreamFunction:
48
-
Type: AWS::Serverless::Function
49
-
Properties:
50
-
CodeUri: HelloWorldFunction
51
-
Handler: helloworld.AppStream::handleRequest
52
-
MemorySize: 512
53
-
Tracing: Active
54
-
Environment:
55
-
Variables:
56
-
POWERTOOLS_LOGGER_SAMPLE_RATE: 0.7
57
-
Events:
58
-
HelloWorld:
59
-
Type: Api
60
-
Properties:
61
-
Path: /hellostream
62
-
Method: get
63
-
64
29
HelloWorldParamsFunction:
65
30
Type: AWS::Serverless::Function
66
31
Properties:
@@ -194,16 +159,10 @@ Outputs:
194
159
HelloWorldApi:
195
160
Description: "API Gateway endpoint URL for Prod stage for Hello World function"
0 commit comments