Skip to content
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

Question about availability of Amplify Gen2 for gen1 user and comparison to AWS CDK #1634

Open
biller-aivy opened this issue Jun 10, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation needs-product-input Needs non-technical requirements or direction to proceed question Question or confusion about some aspect of the product

Comments

@biller-aivy
Copy link

Environment information

Hello,

I am currently using Amplify Gen1 and eagerly awaiting the Gen2 option for Gen1 users. Is there a date or any details available?

What are the advantages of Amplify gen2 compared to AWS CDK? I could also directly learn CDK and thus move away from the CLI. Why was an extra framework necessary? What makes Amplify better for me in the future?

Thanks in advance for the information!


### Description

Update sheet / comparison with cdk in the docs 
@biller-aivy biller-aivy added the pending-triage Incoming issues that need categorization label Jun 10, 2024
@edwardfoyle edwardfoyle added documentation Improvements or additions to documentation question Question or confusion about some aspect of the product needs-product-input Needs non-technical requirements or direction to proceed and removed pending-triage Incoming issues that need categorization labels Jun 10, 2024
@biller-aivy
Copy link
Author

a short answer would be helpful here. Thanks :)

@biller-aivy
Copy link
Author

So i guess there is no Timeline dir the rls?
And its Not possible to simple answer the question?

@josefaidt
Copy link
Contributor

Hey @biller-aivy 👋 apologies for the delay here! We are actively investigating a migration path for Gen 1 customers 🙂 Gen 2 provides similar abstractions as Gen 1, however is closer to CDK and focused on code first. Gen 2 is built atop CDK and creates resources using underlying L3 constructs, which are instantiated in amplify/backend.ts when you set those to defineBackend()

@charlieforward9
Copy link

charlieforward9 commented Dec 5, 2024

Given its been almost 4 months since the last comment, a fresh update would be helpful here. I was in no rush to migrate but am now hitting limitations of gen1 and find myself with the need for gen2's async function handlers.

@josefaidt
Copy link
Contributor

Hey @charlieforward9 we are actively working towards a smooth migration path, however in the meantime to adopt async invocation types in Gen 1 you can specify an invocationType on the @function directive in your schema https://github.com/aws-amplify/amplify-category-api/blob/main/packages/amplify-graphql-function-transformer/src/graphql-function-transformer.ts#L33C3-L33C26

@josefaidt josefaidt self-assigned this Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation needs-product-input Needs non-technical requirements or direction to proceed question Question or confusion about some aspect of the product
Projects
None yet
Development

No branches or pull requests

4 participants