@Stability(value=Experimental) public static final class HttpLambdaIntegration.Builder extends Object implements software.amazon.jsii.Builder<HttpLambdaIntegration>
HttpLambdaIntegration.| Modifier and Type | Method and Description |
|---|---|
HttpLambdaIntegration |
build() |
static HttpLambdaIntegration.Builder |
create(String id,
IFunction handler) |
HttpLambdaIntegration.Builder |
parameterMapping(ParameterMapping parameterMapping)
(experimental) Specifies how to transform HTTP requests before sending them to the backend.
|
HttpLambdaIntegration.Builder |
payloadFormatVersion(PayloadFormatVersion payloadFormatVersion)
(experimental) Version of the payload sent to the lambda handler.
|
@Stability(value=Experimental) public static HttpLambdaIntegration.Builder create(String id, IFunction handler)
id - id of the underlying integration construct. This parameter is required.handler - the Lambda handler to integrate with. This parameter is required.HttpLambdaIntegration.Builder.@Stability(value=Experimental) public HttpLambdaIntegration.Builder parameterMapping(ParameterMapping parameterMapping)
Default: undefined requests are sent to the backend unmodified
parameterMapping - Specifies how to transform HTTP requests before sending them to the backend. This parameter is required.this@Stability(value=Experimental) public HttpLambdaIntegration.Builder payloadFormatVersion(PayloadFormatVersion payloadFormatVersion)
Default: PayloadFormatVersion.VERSION_2_0
payloadFormatVersion - Version of the payload sent to the lambda handler. This parameter is required.this@Stability(value=Experimental) public HttpLambdaIntegration build()
build in interface software.amazon.jsii.Builder<HttpLambdaIntegration>Copyright © 2022. All rights reserved.