Created
August 13, 2023 03:45
-
-
Save ColeMurray/817141f40ec69a575b2fa1f4348f871c to your computer and use it in GitHub Desktop.
Deployment stack for serverless express cdk project
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
import {Stage, StageProps} from "aws-cdk-lib"; | |
import {Construct} from "constructs"; | |
import {DeploymentStack} from "./stack"; | |
interface BackendServiceStageProps extends StageProps { | |
envVars?: Record<string, string>, | |
} | |
export class BackendServiceStage extends Stage { | |
constructor(scope: Construct, id: string, props: BackendServiceStageProps) { | |
super(scope, id, props); | |
new DeploymentStack(this, 'BackendStack', { | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment