-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
@aws-cdk/aws-apigatewayv2-integrationsRelated to AWS APIGatewayv2 IntegrationsRelated to AWS APIGatewayv2 Integrationseffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
ApiGatewayv2 HTTP API integrates with Eventbridge. It would be nice to have CDK implement this. See documentation on Eventbridge-PutEvent mapping.
Use Case
I want an easy way to use an Eventbridge Bus as a proxy for my HTTP API.
Proposed Solution
Similar to all the other integrations
const stack = new Stack();
const api = new HttpApi(stack, 'HttpApi');
const bus = EventBus(stack, 'Events');
new HttpRoute(stack, 'EventRoute', {
httpApi: api,
integration: new HttpEventBusIntegration('Integration', bus, {
detail: ParameterMapping,
detailType: string,
source: string,
invocationRole: Role,
description?: string,
time?: ParameterMapping,
eventBusName?: bus.name,
resources?: ParameterMapping,
region?: string,
traceHeader?: string,
timeout?: number
}),
routeKey: HttpRouteKey.with('/pets'),
});
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.219.0
AWS CDK CLI version
2.1029.2 (build fccc5f9)
Environment details (OS name and version, etc.)
MacBook
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-apigatewayv2-integrationsRelated to AWS APIGatewayv2 IntegrationsRelated to AWS APIGatewayv2 Integrationseffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2