Skip to content

Conversation

@piotrekwitkowski
Copy link
Contributor

This PR simplifies and shortens the main stack file without changing its external interface (stack context variables' names).

Description of changes:

  • extract code of the solution to a separate file to be able to just copy and paste it into other CDK projects
  • create a clean API of the solution part, with typed parameters and CDK builtin types instead of pure context strings
  • remove var declarations and streamline previous conditional logic

Happy to discuss and further refine the code. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant