Created
January 23, 2023 01:39
-
-
Save joshmenden/52651bc11dba8e77cedae1c86596fc32 to your computer and use it in GitHub Desktop.
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
const golangLambda = new lambda.Function(this, 'golang-lambda-function-cdk-template-func', { | |
functionName: "GolangLambdaFunctionCDKTemplateFunc", | |
runtime: lambda.Runtime.GO_1_X, | |
timeout: cdk.Duration.seconds(15), | |
memorySize: 128, | |
handler: 'main', | |
code: lambda.Code.fromAsset(path.join(__dirname, '/../../golang-lambda-function-cdk-template.zip')), | |
environment: { REGION: cdk.Stack.of(this).region }, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment