Created
June 14, 2023 13:25
-
-
Save foontzoot/66ceec1025ba926311456927199d05d6 to your computer and use it in GitHub Desktop.
template for .NET 6 Lambda serverless application running on ARM64 processors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Transform": "AWS::Serverless-2016-10-31", | |
"Description": "An AWS Serverless Application.", | |
"Resources": { | |
"Get": { | |
"Type": "AWS::Serverless::Function", | |
"Properties": { | |
"Handler": "LambdaServerlessApplicationOnArm64::LambdaServerlessApplicationOnArm64.Functions::Get", | |
"Architectures": ["arm64"], | |
"Runtime": "dotnet6", | |
"CodeUri": "", | |
"MemorySize": 256, | |
"Timeout": 30, | |
"Role": null, | |
"Policies": [ | |
"AWSLambdaBasicExecutionRole" | |
], | |
"Events": { | |
"RootGet": { | |
"Type": "Api", | |
"Properties": { | |
"Path": "/", | |
"Method": "GET" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"Outputs": { | |
"ApiURL": { | |
"Description": "API endpoint URL for Prod environment", | |
"Value": { | |
"Fn::Sub": "https://${ServerlessRestApi}.execute-api.${AWS::Region}.amazonaws.com/Prod/" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment