Skip to content

Instantly share code, notes, and snippets.

@fl0wo
Created December 12, 2022 20:17
Show Gist options
  • Save fl0wo/3e0da618087c02ba371b6b5a5fb13f5f to your computer and use it in GitHub Desktop.
Save fl0wo/3e0da618087c02ba371b6b5a5fb13f5f to your computer and use it in GitHub Desktop.
GetStytchAuthorizerIntegrationLambda
export const getStytchAuthorizerIntegrationLambda = (
stack: Construct,
id:string,
options:InfrastructureOptions) => {
const authorizerFn = new NodejsFunction(stack, id, {
entry: `${__dirname}/check_stytch_authorizer.ts`,
architecture: Architecture.ARM_64,
environment:{
}
});
return authorizerFn;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment