@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.177Z") @Stability(value=Stable) public class LambdaIntegration extends AwsIntegration
Example:
Resource resource;
Function handler;
resource.addMethod("GET", new LambdaIntegration(handler));
| Modifier and Type | Class and Description |
|---|---|
static class |
LambdaIntegration.Builder
A fluent builder for
LambdaIntegration. |
| Modifier | Constructor and Description |
|---|---|
|
LambdaIntegration(IFunction handler) |
|
LambdaIntegration(IFunction handler,
LambdaIntegrationOptions options) |
protected |
LambdaIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
LambdaIntegration(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
IntegrationConfig |
bind(Method method)
Can be overridden by subclasses to allow the integration to interact with the method being integrated, access the REST API object, method ARNs, etc.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected LambdaIntegration(software.amazon.jsii.JsiiObjectRef objRef)
protected LambdaIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public LambdaIntegration(@NotNull
IFunction handler,
@Nullable
LambdaIntegrationOptions options)
handler - This parameter is required.options - @Stability(value=Stable)
public LambdaIntegration(@NotNull
IFunction handler)
handler - This parameter is required.@Stability(value=Stable) @NotNull public IntegrationConfig bind(@NotNull Method method)
bind in class AwsIntegrationmethod - This parameter is required.Copyright © 2022. All rights reserved.