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 Summary
Modifier and TypeClassDescriptionstatic final class
(experimental) A fluent builder forHttpNlbIntegration
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionHttpNlbIntegration
(String id, INetworkListener listener) HttpNlbIntegration
(String id, INetworkListener listener, HttpNlbIntegrationProps props) protected
HttpNlbIntegration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpNlbIntegration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(HttpRouteIntegrationBindOptions options) (experimental) Bind this integration to the route.protected HttpConnectionType
protected HttpMethod
protected HttpIntegrationType
protected PayloadFormatVersion
protected void
protected void
setHttpMethod
(HttpMethod value) protected void
protected void
Methods inherited from class software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
completeBind
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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(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:
bind
in classHttpRouteIntegration
- Parameters:
options
- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
@Stability(Experimental) protected void setPayloadFormatVersion(@NotNull PayloadFormatVersion value)
-