Class HttpNlbIntegration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegration
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:57.662Z")
@Stability(Stable)
public class HttpNlbIntegration
extends HttpRouteIntegration
The Network Load Balancer integration resource for HTTP API.
Example:
import software.amazon.awscdk.aws_apigatewayv2_integrations.HttpNlbIntegration;
Vpc vpc = new Vpc(this, "VPC");
NetworkLoadBalancer lb = NetworkLoadBalancer.Builder.create(this, "lb").vpc(vpc).build();
NetworkListener listener = lb.addListener("listener", BaseNetworkListenerProps.builder().port(80).build());
listener.addTargets("target", AddNetworkTargetsProps.builder()
.port(80)
.build());
HttpApi httpEndpoint = HttpApi.Builder.create(this, "HttpProxyPrivateApi")
.defaultIntegration(new HttpNlbIntegration("DefaultIntegration", listener))
.build();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionHttpNlbIntegration(String id, INetworkListener listener) HttpNlbIntegration(String id, INetworkListener listener, HttpNlbIntegrationProps props) protectedHttpNlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedHttpNlbIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind(HttpRouteIntegrationBindOptions options) Bind this integration to the route.protected HttpConnectionTypeprotected HttpMethodprotected HttpIntegrationTypeprotected PayloadFormatVersionprotected voidprotected voidsetHttpMethod(HttpMethod value) protected voidprotected voidMethods inherited from class software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
completeBindMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HttpNlbIntegration
protected HttpNlbIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
HttpNlbIntegration
protected HttpNlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
HttpNlbIntegration
@Stability(Stable) public HttpNlbIntegration(@NotNull String id, @NotNull INetworkListener listener, @Nullable HttpNlbIntegrationProps props) - Parameters:
id- id of the underlying integration construct. This parameter is required.listener- the ELB network listener. This parameter is required.props- properties to configure the integration.
-
HttpNlbIntegration
@Stability(Stable) public HttpNlbIntegration(@NotNull String id, @NotNull INetworkListener listener) - Parameters:
id- id of the underlying integration construct. This parameter is required.listener- the ELB network listener. This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public HttpRouteIntegrationConfig bind(@NotNull HttpRouteIntegrationBindOptions options) Bind this integration to the route.- Specified by:
bindin classHttpRouteIntegration- Parameters:
options- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
-