-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputtemplate.yaml
33 lines (33 loc) · 1.22 KB
/
outputtemplate.yaml
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
29
30
31
32
33
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: Template for CountryCapital
Parameters: {}
Globals:
Api:
EndpointConfiguration: REGIONAL
Cors:
AllowMethods: "'*,DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT'"
AllowHeaders: "'*,Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token,access-control-allow-credentials,access-control-allow-origin,x-orgid,x-coachid,x-playerid,x-coachid,x-tournyid,observe,Access-Control-Allow-Origin'"
AllowOrigin: "'*'"
Name: Microservices.CountryCapital
Resources:
DefaultFunction:
Type: AWS::Serverless::Function
Properties:
Handler: Microservices.CountryCapital.API::Microservices.CountryCapital.API.LambdaEntryPoint::FunctionHandlerAsync
FunctionName: CountryCapitalServerlessApi
Runtime: dotnetcore3.1
CodeUri: s3://countrycapital/f4e21484860c49a953d3a6844c61c143
Description: CountryCapital API
MemorySize: 256
Timeout: 30
Role: arn:aws:iam::829136968147:role/lambda_execute_role
Policies:
- AWSLambdaFullAccess
Events:
PutResource:
Type: Api
Properties:
Path: /{proxy+}
Method: ANY
Outputs: {}