We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a50ed07 + 79f3403 commit 1d8a377Copy full SHA for 1d8a377
README.md
@@ -50,13 +50,13 @@ Deploy [Next.js](https://nextjs.org/) apps on [AWS](https://aws.amazon.com/) wit
50
## Basic Example CDK App
51
52
```ts
53
-import { App, Stack } from "aws-cdk-lib";
+import { App, Stack, StackProps } from "aws-cdk-lib";
54
import { Construct } from "constructs";
55
import { fileURLToPath } from "node:url";
56
import { NextjsGlobalFunctions } from "cdk-nextjs";
57
58
class NextjsStack extends Stack {
59
- constructor(scope: Construct, id: string) {
+ constructor(scope: Construct, id: string, props: StackProps = {}) {
60
super(scope, id, props);
61
new NextjsGlobalFunctions(this, "Nextjs", {
62
healthCheckPath: "/api/health",
0 commit comments