-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-cdk/aws-amplify): (Add Platform property to amplify.App) #24076
Labels
@aws-cdk/aws-amplify
Related to AWS Amplify
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Comments
kevinold
added
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
labels
Feb 8, 2023
kevinold
added a commit
to kevinold/aws-cdk
that referenced
this issue
Feb 8, 2023
Adds AppPlatforms enum for WEB, WEB_COMPUTE or WEB_DYNAMIC Adds platform property to AppProps Passes platform property to declared Amplify app fixes aws#24076
kevinold
added a commit
to kevinold/aws-cdk
that referenced
this issue
Feb 8, 2023
Adds AppPlatforms enum for WEB, WEB_COMPUTE or WEB_DYNAMIC Adds platform property to AppProps Passes platform property to declared Amplify app fixes aws#24076
khushail
added
p2
effort/small
Small work item – less than a day of effort
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Feb 8, 2023
kevinold
added a commit
to kevinold/aws-cdk
that referenced
this issue
Feb 8, 2023
Adds AppPlatforms enum for WEB, WEB_COMPUTE or WEB_DYNAMIC Adds platform property to AppProps Passes platform property to declared Amplify app fixes aws#24076
PR for this feature #23818 |
4 tasks
Thanks again for the issue and PR kevinold, the new PR for this issue is here #23818 |
mergify bot
pushed a commit
that referenced
this issue
Aug 25, 2023
### Problem: The Amplify App L2 construct does not support the ability for customers to configure a SSR app without reaching down into the lower level L1. ### Solution: Expose the `platform` field used to set SSG vs SSR hosted applications. Do not expose `WEB_DYNAMIC` as SSRv1 is on the deprecation path. ### Testing Done: * `yarn build+test` * added new tests for `platform` field * updated snapshots for new default value Closes #24076 and #23325 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-amplify
Related to AWS Amplify
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
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 thePlatform
to "WEB_COMPUTE".Proposed Solution
Add a
platform
property to theAppProps
foramplify.App
.Other Information
No response
Acknowledgements
CDK version used
2.63.2
Environment details (OS name and version, etc.)
MacOS Monterey 12.6.2
The text was updated successfully, but these errors were encountered: