Skip to content

Instantly share code, notes, and snippets.

@mgjam
Last active October 27, 2019 16:27
Show Gist options
  • Save mgjam/7f4ac5fb0717dc1835a8aa7327d3adef to your computer and use it in GitHub Desktop.
Save mgjam/7f4ac5fb0717dc1835a8aa7327d3adef to your computer and use it in GitHub Desktop.
private createOutputLambda(): lambda.Function {
const name = 'OutputLambda';
return new lambda.Function(this, name, {
functionName: name,
runtime: lambda.Runtime.DOTNET_CORE_2_1,
code: lambda.Code.asset('../src/appsync/bin/Release/netcoreapp2.1/publish'),
handler: 'appsync::appsync.Function::FunctionHandler',
timeout: cdk.Duration.seconds(15)
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment