custom-resource: support isComplete handler for AwsCustomResource #31062
Labels
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Please add the isCompleteHandler functionality to AwsCustomResource also.
Thank you for your consideration!
As suggested by @hoegertn
Use Case
When I make use of
AwsCustomResource
toModifyVpnTunnelOptions
, I would not know when the modification completed. As I need to modify both tunnels, adding a dependency would not help. The secondAwsCustomResource
to runModifyVpnTunnelOptions
would start and fail with an error as the VPN is in state "modifying".So I would end up creating a
CustomResource
, so I can make use of theisCompleteHandler
.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.150.0
Environment details (OS name and version, etc.)
Darwin mbp.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:19:05 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8112 arm64
The text was updated successfully, but these errors were encountered: