Describe the feature
Amplify accepts a Platform property via CloudFormation, but this is not accessible via the CDK.
Use Case
I am looking to deploy single-page applications (SPAs) and server-rendered applications (SSR) to Amplify via CDK.
The Platform defaults to "WEB" if not set, and deploying an SSR application via the CDK, I need a way to set the Platform to "WEB_COMPUTE".
Proposed Solution
Add a platform property to the AppProps for amplify.App.
Other Information
No response
Acknowledgements
CDK version used
2.63.2
Environment details (OS name and version, etc.)
MacOS Monterey 12.6.2
Describe the feature
Amplify accepts a
Platformproperty via CloudFormation, but this is not accessible via the CDK.Use Case
I am looking to deploy single-page applications (SPAs) and server-rendered applications (SSR) to Amplify via CDK.
The
Platformdefaults to "WEB" if not set, and deploying an SSR application via the CDK, I need a way to set thePlatformto "WEB_COMPUTE".Proposed Solution
Add a
platformproperty to theAppPropsforamplify.App.Other Information
No response
Acknowledgements
CDK version used
2.63.2
Environment details (OS name and version, etc.)
MacOS Monterey 12.6.2