aws_autoscaling: cannot create cloudwatch events
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the feature
In the documentation, under future work, the following is written:
> CloudWatch Events (impossible to add currently as the AutoScalingGroup ARN is necessary to make this rule and this cannot be accessed from CloudFormation).
I can see that we have been able to access `autoScalingGroupArn` in the CDK for a while now. I would love to know if we are unblocked on implementing this now.
### Use Case
My use case is to have certain events from my ASG trigger a lambda function using eventbridge. Any time a new instance is created under the ASG, I want to update a VPC origin with ARN of the new instance.
### Proposed Solution
_No response_
### Other Information
_No response_
### Acknowledgements
- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
### CDK version used
2.174.1 (build f353fc7)
### Environment details (OS name and version, etc.)
Arch Linux 6.12.8-zen1-1-zen
Contributor guide
Research direction
The issue names the aws_autoscaling construct and its documentation's future-work note, but no source file or test. Start by locating the construct's current autoScalingGroupArn support and reviewing how related CloudWatch or EventBridge integrations are represented. Done means the requested ASG event integration is supported and the documentation no longer describes it as impossible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100