Class HttpNlbIntegration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.services.apigatewayv2.integrations.HttpNlbIntegration
- All Implemented Interfaces:
- software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:45.683Z")
@Stability(Experimental)
public class HttpNlbIntegration
extends HttpRouteIntegration
(experimental) The Network Load Balancer integration resource for HTTP API.
 
Example:
 import software.amazon.awscdk.services.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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forHttpNlbIntegration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationMode
- 
Constructor SummaryConstructorsModifierConstructorDescriptionHttpNlbIntegration(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 SummaryModifier and TypeMethodDescriptionbind(HttpRouteIntegrationBindOptions options) (experimental) 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.HttpRouteIntegrationcompleteBindMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
HttpNlbIntegrationprotected HttpNlbIntegration(software.amazon.jsii.JsiiObjectRef objRef) 
- 
HttpNlbIntegrationprotected HttpNlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
HttpNlbIntegration@Stability(Experimental) 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(Experimental) 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(Experimental) @NotNull public HttpRouteIntegrationConfig bind(@NotNull HttpRouteIntegrationBindOptions options) (experimental) Bind this integration to the route.- Specified by:
- bindin class- HttpRouteIntegration
- Parameters:
- options- This parameter is required.
 
- 
getConnectionType
- 
setConnectionType
- 
getHttpMethod
- 
setHttpMethod
- 
getIntegrationType
- 
setIntegrationType
- 
getPayloadFormatVersion
- 
setPayloadFormatVersion@Stability(Experimental) protected void setPayloadFormatVersion(@NotNull PayloadFormatVersion value) 
 
-