You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform
242
242
* type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR
243
243
* support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>
244
+
* <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set
245
+
* the platform type to <code>WEB_COMPUTE</code> and set the artifacts
246
+
* <code>baseDirectory</code> to <code>.next</code> in the application's build
247
+
* settings. For an example of the build specification settings, see <a href="https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14">Amplify build
248
+
* settings for a Next.js 14 SSG application</a> in the <i>Amplify Hosting User Guide</i>.</p>
244
249
* @public
245
250
*/
246
251
platform?: Platform;
@@ -463,6 +468,8 @@ export interface App {
463
468
* <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform
464
469
* type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR
465
470
* support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>
471
+
* <p>If you are deploying an SSG only app with Next.js 14 or later, you must use the
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/amplify.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1093,7 +1093,7 @@
1093
1093
"platform": {
1094
1094
"target": "com.amazonaws.amplify#Platform",
1095
1095
"traits": {
1096
-
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>",
1096
+
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>\n <p>If you are deploying an SSG only app with Next.js 14 or later, you must use the\n platform type <code>WEB_COMPUTE</code>.</p>",
1097
1097
"smithy.api#required": {}
1098
1098
}
1099
1099
},
@@ -1981,7 +1981,7 @@
1981
1981
"platform": {
1982
1982
"target": "com.amazonaws.amplify#Platform",
1983
1983
"traits": {
1984
-
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>"
1984
+
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>\n <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set\n the platform type to <code>WEB_COMPUTE</code> and set the artifacts\n <code>baseDirectory</code> to <code>.next</code> in the application's build\n settings. For an example of the build specification settings, see <a href=\"https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14\">Amplify build\n settings for a Next.js 14 SSG application</a> in the <i>Amplify Hosting User Guide</i>.</p>"
1985
1985
}
1986
1986
},
1987
1987
"iamServiceRoleArn": {
@@ -6113,7 +6113,7 @@
6113
6113
"platform": {
6114
6114
"target": "com.amazonaws.amplify#Platform",
6115
6115
"traits": {
6116
-
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>"
6116
+
"smithy.api#documentation": "<p>The platform for the Amplify app. For a static app, set the platform type to\n <code>WEB</code>. For a dynamic server-side rendered (SSR) app, set the platform\n type to <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR\n support only, set the platform type to <code>WEB_DYNAMIC</code>.</p>\n <p>If you are deploying an SSG only app with Next.js version 14 or later, you must set\n the platform type to <code>WEB_COMPUTE</code>.</p>"
0 commit comments