-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
documentation on how to synth, diff, and deploy from java without CLI #1133
Comments
I keep coming back to this issue hoping it gets traction. This seems like it would be a huge benefit from the standpoint of using CDK for standing up and tearing down infrastructure for tests in any JVM language. Is the current pattern to possibly use CDK to generate the template then use SDK to deploy, etc.? |
Yes, that is it. There is something you could do; for example, you can call |
Also a duplicate of https://github.com/awslabs/aws-cdk/issues/601, so closing this. |
Please upvote the linked issue. |
I have discovered that calling synth() on |
You can also specify outdir when you create the App instance. |
It would be nice to have documentation on the readme or elsewhere on how to synth, diff, and deploy stacks with library calls instead of the cdk cli. This is helpful when you're running from an IDE -- especially for debugging. It's also helpful for embedding synthesis and deployment in other processes.
For example, this seems to synthesize a template from scala:
It would be helpful to have a page like https://awslabs.github.io/aws-cdk/tools.html but for the library, describing
cdkApp.synthesizeStack
and friends.The text was updated successfully, but these errors were encountered: