-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Please add your 👍 to this issue - that helps us prioritize!
Description
Today, the set of resources that can be hotswapped (se the current list here: https://github.com/aws/aws-cdk/blob/master/packages/aws-cdk/README.md#hotswap-deployments-for-faster-development) is hard-coded by the code in the CDK CLI.
We should make this extensible, so that customers can add support for hotswapping new resources themselves, without having to wait for the CDK team to implement it.
Use Case
There are many possible resources that can be hotswapped; right now, customers have no way of adding more, short of contributing changes to the aws-cdk
package.
Proposed Solution
We probably need to design some sort of plugin architecture that can load additional "hotswap plugins" when the CLI runs, similarly like we do for auth plugins.
I think it's fine to make this JavaScript/TypeScript only, since the CLI is written in that language. Making it JSII-enabled for multi-language support would most likely add a lot of complexity (and this task is already pretty tricky 😛).
Other information
No response
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change