Interface LambdaIntegrationOptions
- All Superinterfaces:
IntegrationOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaIntegrationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.996Z")
@Stability(Stable)
public interface LambdaIntegrationOptions
extends software.amazon.jsii.JsiiSerializable, IntegrationOptions
Example:
Function getBookHandler; LambdaIntegration getBookIntegration; LambdaIntegration getBookIntegration = LambdaIntegration.Builder.create(getBookHandler) .contentHandling(ContentHandling.CONVERT_TO_TEXT) // convert to base64 .credentialsPassthrough(true) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forLambdaIntegrationOptions
static final class
An implementation forLambdaIntegrationOptions
-
Method Summary
Methods inherited from interface software.amazon.awscdk.services.apigateway.IntegrationOptions
getCacheKeyParameters, getCacheNamespace, getConnectionType, getContentHandling, getCredentialsPassthrough, getCredentialsRole, getIntegrationResponses, getPassthroughBehavior, getRequestParameters, getRequestTemplates, getTimeout, getVpcLink
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowTestInvoke
Allow invoking method from AWS Console UI (for testing purposes).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 tofalse
, the function will only be usable from the deployment endpoint.Default: true
-
getProxy
Use proxy integration or normal (request/response mapping) integration.Default: true
-
builder
- Returns:
- a
LambdaIntegrationOptions.Builder
ofLambdaIntegrationOptions
-