@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:46.041Z") @Stability(value=Experimental) public class HttpIntegration extends Integration
With the proxy integration, the setup is simple. You only need to set the HTTP method and the HTTP endpoint URI, according to the backend requirements, if you are not concerned with content encoding or caching.
With the custom integration, the setup is more involved. In addition to the proxy integration setup steps, you need to specify how the incoming request data is mapped to the integration request and how the resulting integration response data is mapped to the method response.
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpIntegration.Builder
(experimental) A fluent builder for
HttpIntegration. |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpIntegration(software.amazon.jsii.JsiiObjectRef objRef) |
|
HttpIntegration(String url) |
|
HttpIntegration(String url,
HttpIntegrationProps props) |
bindjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected HttpIntegration(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public HttpIntegration(@NotNull
String url,
@Nullable
HttpIntegrationProps props)
url - This parameter is required.props - @Stability(value=Experimental)
public HttpIntegration(@NotNull
String url)
url - This parameter is required.Copyright © 2021. All rights reserved.