Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_autoscaling: cannot create cloudwatch events #33012

Open
1 of 2 tasks
samyak-jain opened this issue Jan 18, 2025 · 1 comment
Open
1 of 2 tasks

aws_autoscaling: cannot create cloudwatch events #33012

samyak-jain opened this issue Jan 18, 2025 · 1 comment
Labels
@aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3

Comments

@samyak-jain
Copy link

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

  • 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

@samyak-jain samyak-jain added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Jan 18, 2025
@github-actions github-actions bot added the @aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling label Jan 18, 2025
@pahud
Copy link
Contributor

pahud commented Jan 20, 2025

Sounds like it's very likely possible. Are you able to create a simple test to validate that? If it does work, we welcome any PRs to clarify this. Thank you.

@pahud pahud added effort/medium Medium work item – several days of effort p3 and removed needs-triage This issue or PR still needs to be triaged. labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-autoscaling Related to Amazon EC2 Auto Scaling effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p3
Projects
None yet
Development

No branches or pull requests

2 participants