Skip to content

Commit 96c8e7f

Browse files
author
awstools
committed
feat(client-amplify): Adds a new value (WEB_COMPUTE) to the Platform enum that allows customers to create Amplify Apps with Server-Side Rendering support.
1 parent 8baf756 commit 96c8e7f

File tree

2 files changed

+362
-298
lines changed

2 files changed

+362
-298
lines changed

clients/client-amplify/src/models/models_0.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export interface CustomRule {
141141

142142
export enum Platform {
143143
WEB = "WEB",
144+
WEB_COMPUTE = "WEB_COMPUTE",
144145
WEB_DYNAMIC = "WEB_DYNAMIC",
145146
}
146147

@@ -164,7 +165,10 @@ export interface CreateAppRequest {
164165
repository?: string;
165166

166167
/**
167-
* <p> The platform or framework for an Amplify app. </p>
168+
* <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
169+
* For a dynamic server-side rendered (SSR) app, set the platform type to
170+
* <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
171+
* <code>WEB_DYNAMIC</code>.</p>
168172
*/
169173
platform?: Platform | string;
170174

@@ -336,7 +340,10 @@ export interface App {
336340
repository: string | undefined;
337341

338342
/**
339-
* <p> The platform for the Amplify app. </p>
343+
* <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
344+
* For a dynamic server-side rendered (SSR) app, set the platform type to
345+
* <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
346+
* <code>WEB_DYNAMIC</code>.</p>
340347
*/
341348
platform: Platform | string | undefined;
342349

@@ -2147,7 +2154,10 @@ export interface UpdateAppRequest {
21472154
description?: string;
21482155

21492156
/**
2150-
* <p> The platform for an Amplify app. </p>
2157+
* <p> The platform for the Amplify app. For a static app, set the platform type to <code>WEB</code>.
2158+
* For a dynamic server-side rendered (SSR) app, set the platform type to
2159+
* <code>WEB_COMPUTE</code>. For an app requiring Amplify Hosting's original SSR support only, set the platform type to
2160+
* <code>WEB_DYNAMIC</code>.</p>
21512161
*/
21522162
platform?: Platform | string;
21532163

0 commit comments

Comments
 (0)