aws-cloudformation / aws-cloudformation/custom-resource-helper
Handling multiple resource types in a single function
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 382
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
With this library and its decorators, is it possible to map the received events to multiple functions depending on their `ResourceType`s?
For instance. I imagine multiple function definitions annotated with `@helper.create` and make `CfnResource` can decide which one to run depending on the resource type.
is it possible this way or in some other manner?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the @helper.create decorator and CfnResource handling first, then trace how ResourceType is dispatched. Define the expected behavior for multiple functions and confirm it with a focused example or test; the issue is complete when the supported approach is documented and verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100