Interface LambdaIntegrationOptions
- All Superinterfaces:
IntegrationOptions
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LambdaIntegrationOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:13.397Z")
@Stability(Stable)
public interface LambdaIntegrationOptions
extends software.amazon.jsii.JsiiSerializable, IntegrationOptions
Example:
Function backend; LambdaRestApi api = LambdaRestApi.Builder.create(this, "myapi") .handler(backend) .integrationOptions(LambdaIntegrationOptions.builder() .allowTestInvoke(false) .timeout(Duration.seconds(1)) .build()) .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
- See Also:
-
builder
- Returns:
- a
LambdaIntegrationOptions.Builder
ofLambdaIntegrationOptions
-