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

Delta between hello_world.md code and cdk init results #363

Open
TheRyanBurke opened this issue Nov 4, 2021 · 0 comments
Open

Delta between hello_world.md code and cdk init results #363

TheRyanBurke opened this issue Nov 4, 2021 · 0 comments

Comments

@TheRyanBurke
Copy link

Section "Add an Amazon S3 bucket" source for tsc reads constructor(scope: cdk.App, id: string, props?: cdk.StackProps) {. When I open lib/hello-cdk-stack.ts, the starter code reads constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {. What is the difference between cdk.App and cdk.Construct? Can we align the docs to what customers see in the first sample app?

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