Class HttpEventBridgeIntegration

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpEventBridgeIntegration
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-23T11:19:39.134Z") @Stability(Stable) public class HttpEventBridgeIntegration extends HttpRouteIntegration
The EventBridge PutEvents integration resource for HTTP API.

Example:

 import software.amazon.awscdk.services.events.*;
 import software.amazon.awscdk.aws_apigatewayv2_integrations.HttpEventBridgeIntegration;
 IEventBus bus;
 HttpApi httpApi;
 // default integration (PutEvents)
 httpApi.addRoutes(AddRoutesOptions.builder()
         .path("/default")
         .methods(List.of(HttpMethod.POST))
         .integration(HttpEventBridgeIntegration.Builder.create("DefaultEventBridgeIntegration")
                 .eventBusRef(bus.getEventBusRef())
                 .build())
         .build());
 // explicit subtype
 httpApi.addRoutes(AddRoutesOptions.builder()
         .path("/put-events")
         .methods(List.of(HttpMethod.POST))
         .integration(HttpEventBridgeIntegration.Builder.create("ExplicitSubtypeIntegration")
                 .eventBusRef(bus.getEventBusRef())
                 .subtype(HttpIntegrationSubtype.EVENTBRIDGE_PUT_EVENTS)
                 .build())
         .build());
 
  • Constructor Details

    • HttpEventBridgeIntegration

      protected HttpEventBridgeIntegration(software.amazon.jsii.JsiiObjectRef objRef)
    • HttpEventBridgeIntegration

      protected HttpEventBridgeIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • HttpEventBridgeIntegration

      @Stability(Stable) public HttpEventBridgeIntegration(@NotNull String id, @NotNull HttpEventBridgeIntegrationProps props)
      Parameters:
      id - id of the underlying integration construct. This parameter is required.
      props - properties to configure the integration. This parameter is required.
  • Method Details