Skip to content

(aws-events-targets): No target for ApiGatewayV2 HttpApi #26649

Closed
@vertti

Description

@vertti

Describe the feature

EventBridge supports targeting APIGateway API as a event target. But aws-events-targets package only supports v1-style RestApi. 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.

Proposed Solution

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?

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.89.0

Environment details (OS name and version, etc.)

Mac Ventura 13.4.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions