forked from micronaut-projects/micronaut-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sam-local.yml
28 lines (28 loc) · 818 Bytes
/
sam-local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Micronaut Starter API - micronaut-starter::micronaut-starter
Globals:
Api:
EndpointConfiguration: REGIONAL
Resources:
MicronautStarterFunction:
Type: AWS::Serverless::Function
Properties:
Handler: not.used.in.provided.runtime
Runtime: provided
CodeUri: build/function.zip
MemorySize: 128
Policies: AWSLambdaBasicExecutionRole
Timeout: 15
Events:
GetResource:
Type: Api
Properties:
Path: /{proxy+}
Method: any
Outputs:
MicronautStarterApi:
Description: URL for application
Value: !Sub 'https://${MicronautStarterFunction}.execute-api.${AWS::Region}.amazonaws.com/'
Export:
Name: MicronautStarterApi