Class HttpAlbIntegration
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.apigatewayv2.HttpRouteIntegration
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:13.643Z")
@Stability(Stable)
public class HttpAlbIntegration
extends HttpRouteIntegration
The Application Load Balancer integration resource for HTTP API.
Example:
import software.amazon.awscdk.aws_apigatewayv2_integrations.HttpAlbIntegration; Vpc vpc = new Vpc(this, "VPC"); ApplicationLoadBalancer lb = ApplicationLoadBalancer.Builder.create(this, "lb").vpc(vpc).build(); ApplicationListener listener = lb.addListener("listener", BaseApplicationListenerProps.builder().port(80).build()); listener.addTargets("target", AddApplicationTargetsProps.builder() .port(80) .build()); HttpApi httpEndpoint = HttpApi.Builder.create(this, "HttpProxyPrivateApi") .defaultIntegration(new HttpAlbIntegration("DefaultIntegration", listener)) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionHttpAlbIntegration
(String id, IApplicationListener listener) HttpAlbIntegration
(String id, IApplicationListener listener, HttpAlbIntegrationProps props) protected
HttpAlbIntegration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpAlbIntegration
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(HttpRouteIntegrationBindOptions options) 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
-
HttpAlbIntegration
protected HttpAlbIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
HttpAlbIntegration
protected HttpAlbIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
HttpAlbIntegration
@Stability(Stable) public HttpAlbIntegration(@NotNull String id, @NotNull IApplicationListener listener, @Nullable HttpAlbIntegrationProps props) - Parameters:
id
- id of the underlying integration construct. This parameter is required.listener
- the ELB application listener. This parameter is required.props
- properties to configure the integration.
-
HttpAlbIntegration
@Stability(Stable) public HttpAlbIntegration(@NotNull String id, @NotNull IApplicationListener listener) - Parameters:
id
- id of the underlying integration construct. This parameter is required.listener
- the ELB application 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:
bind
in classHttpRouteIntegration
- Parameters:
options
- This parameter is required.
-
getConnectionType
-
setConnectionType
-
getHttpMethod
-
setHttpMethod
-
getIntegrationType
-
setIntegrationType
-
getPayloadFormatVersion
-
setPayloadFormatVersion
-