EventBridge supports targeting APIGateway API as an event target. But aws-events-targets
package only supports v1-style RestApi
here. I would like to use v2-style HttpApi
as the event target.
Use Case:
Creating private integration from Apigateway to an ALB is now super convenient with aws-apigatewayv2-integrations-alpha
but I would need to connect that APIgw HttpApi
to EventBridge target.
I wonder if I should just use the url
of the HttpApi
as ApiDestination
instead of hoping to use the target.ApiGateway? Or is there a simple way to implement HttpApi
support for a Eventbridge target?