Skip to content

aws_autoscaling: cannot create cloudwatch events #33012

Open
@samyak-jain

Description

@samyak-jain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-autoscalingRelated to Amazon EC2 Auto Scalingeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions