Skip to content
v2.275.0

Experimental

@aws-cdk/aws-amplify-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

Platform Enum ​

Available hosting platforms to use on the App.

Example ​

ts
const amplifyApp = new amplify.App(this, 'MyApp', {
  platform: amplify.Platform.WEB_COMPUTE,
});

Members ​

MemberDescription
WEBWEB - Used to indicate that the app is hosted using only static assets.
WEB_COMPUTEWEB_COMPUTE - Used to indicate the app is hosted using a combination of server side rendered and static assets.
WEB_DYNAMICWEB_DYNAMIC - Used to indicate the app is hosted using a fully dynamic architecture, where requests are processed at runtime by backend compute services.

Referenced by ​

  • App.platformplatformplatformPlatformPlatform
  • AppProps.platformplatformplatformPlatformPlatform