enum Platform
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Amplify.Alpha.Platform |
![]() | github.com/aws/aws-cdk-go/awscdkamplifyalpha/v2#Platform |
![]() | software.amazon.awscdk.services.amplify.alpha.Platform |
![]() | aws_cdk.aws_amplify_alpha.Platform |
![]() | @aws-cdk/aws-amplify-alpha » Platform |
Available hosting platforms to use on the App.
Example
const amplifyApp = new amplify.App(this, 'MyApp', {
platform: amplify.Platform.WEB_COMPUTE,
});
Members
Name | Description |
---|---|
WEB | WEB - Used to indicate that the app is hosted using only static assets. |
WEB_COMPUTE | WEB_COMPUTE - Used to indicate the app is hosted using a combination of server side rendered and static assets. |
WEB
WEB - Used to indicate that the app is hosted using only static assets.
WEB_COMPUTE
WEB_COMPUTE - Used to indicate the app is hosted using a combination of server side rendered and static assets.