@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-17T17:31:19.672Z") @Stability(value=Experimental) public class HttpNlbIntegration extends HttpRouteIntegration
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpNlbIntegration.Builder
(experimental) A fluent builder for
HttpNlbIntegration. |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpNlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpNlbIntegration(software.amazon.jsii.JsiiObjectRef objRef) |
|
HttpNlbIntegration(String id,
INetworkListener listener) |
|
HttpNlbIntegration(String id,
INetworkListener listener,
HttpNlbIntegrationProps props) |
| Modifier and Type | Method and Description |
|---|---|
HttpRouteIntegrationConfig |
bind(HttpRouteIntegrationBindOptions options)
(experimental) Bind this integration to the route.
|
protected HttpConnectionType |
getConnectionType() |
protected HttpMethod |
getHttpMethod() |
protected HttpIntegrationType |
getIntegrationType() |
protected PayloadFormatVersion |
getPayloadFormatVersion() |
protected void |
setConnectionType(HttpConnectionType value) |
protected void |
setHttpMethod(HttpMethod value) |
protected void |
setIntegrationType(HttpIntegrationType value) |
protected void |
setPayloadFormatVersion(PayloadFormatVersion value) |
completeBindjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected HttpNlbIntegration(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpNlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public HttpNlbIntegration(@NotNull
String id,
@NotNull
INetworkListener listener,
@Nullable
HttpNlbIntegrationProps props)
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.@Stability(value=Experimental)
public HttpNlbIntegration(@NotNull
String id,
@NotNull
INetworkListener listener)
id - id of the underlying integration construct. This parameter is required.listener - the ELB network listener. This parameter is required.@Stability(value=Experimental) @NotNull public HttpRouteIntegrationConfig bind(@NotNull HttpRouteIntegrationBindOptions options)
bind in class HttpRouteIntegrationoptions - This parameter is required.@Stability(value=Experimental) @NotNull protected HttpConnectionType getConnectionType()
@Stability(value=Experimental)
protected void setConnectionType(@NotNull
HttpConnectionType value)
@Stability(value=Experimental) @NotNull protected HttpMethod getHttpMethod()
@Stability(value=Experimental)
protected void setHttpMethod(@NotNull
HttpMethod value)
@Stability(value=Experimental) @NotNull protected HttpIntegrationType getIntegrationType()
@Stability(value=Experimental)
protected void setIntegrationType(@NotNull
HttpIntegrationType value)
@Stability(value=Experimental) @NotNull protected PayloadFormatVersion getPayloadFormatVersion()
@Stability(value=Experimental)
protected void setPayloadFormatVersion(@NotNull
PayloadFormatVersion value)
Copyright © 2022. All rights reserved.