@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:19.382Z") @Stability(value=Stable) public interface LambdaIntegrationOptions extends software.amazon.jsii.JsiiSerializable, IntegrationOptions
Function getBookHandler;
LambdaIntegration getBookIntegration;
LambdaIntegration getBookIntegration = LambdaIntegration.Builder.create(getBookHandler)
.contentHandling(ContentHandling.CONVERT_TO_TEXT) // convert to base64
.credentialsPassthrough(true)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaIntegrationOptions.Builder
A builder for
LambdaIntegrationOptions |
static class |
LambdaIntegrationOptions.Jsii$Proxy
An implementation for
LambdaIntegrationOptions |
| Modifier and Type | Method and Description |
|---|---|
static LambdaIntegrationOptions.Builder |
builder() |
default Boolean |
getAllowTestInvoke()
Allow invoking method from AWS Console UI (for testing purposes).
|
default Boolean |
getProxy()
Use proxy integration or normal (request/response mapping) integration.
|
getCacheKeyParameters, getCacheNamespace, getConnectionType, getContentHandling, getCredentialsPassthrough, getCredentialsRole, getIntegrationResponses, getPassthroughBehavior, getRequestParameters, getRequestTemplates, getTimeout, getVpcLink@Stability(value=Stable) @Nullable default Boolean getAllowTestInvoke()
This will add another permission to the AWS Lambda resource policy which
will allow the test-invoke-stage stage to invoke this handler. If this
is set to false, the function will only be usable from the deployment
endpoint.
Default: true
@Stability(value=Stable) @Nullable default Boolean getProxy()
Default: true
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-lambda-proxy-integrations.html#api-gateway-simple-proxy-for-lambda-output-format@Stability(value=Stable) static LambdaIntegrationOptions.Builder builder()
builder in interface IntegrationOptionsLambdaIntegrationOptions.Builder of LambdaIntegrationOptionsCopyright © 2022. All rights reserved.