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

Amplify Gen2 cli documentation refers to Backend construct that doesn't exist in aws-cdk-lib #8201

Open
juranki opened this issue Jan 14, 2025 · 0 comments

Comments

@juranki
Copy link

juranki commented Jan 14, 2025

Describe the content issue:

Section Generate codegen for CDK app using a joint "AmplifyBackendStack" construct in CLI commands -reference has following snippet:

import { Construct } from 'constructs';
import { App, Backend } from 'aws-cdk-lib/aws-amplify';

export class MyAmplifyStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new Backend(this, "Backend", { /* ... */ });
  }
}

But Backend construct doesn't exist in aws-cdk-lib/aws-amplify or @aws-cdk/aws-amplify-alpha.

URL page where content issue is:

https://docs.amplify.aws/javascript/reference/cli-commands/

@juranki juranki changed the title Amplify Gen2 cli documentation refers to Backend construct that doesn't exist aws-cdk-lib Amplify Gen2 cli documentation refers to Backend construct that doesn't exist in aws-cdk-lib Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant