@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.178Z") @Stability(value=Stable) public interface LambdaIntegrationOptions extends software.amazon.jsii.JsiiSerializable, IntegrationOptions
Function backend;
LambdaRestApi api = LambdaRestApi.Builder.create(this, "myapi")
.handler(backend)
.integrationOptions(LambdaIntegrationOptions.builder()
.allowTestInvoke(false)
.timeout(Duration.seconds(1))
.build())
.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
@Stability(value=Stable) static LambdaIntegrationOptions.Builder builder()
builder in interface IntegrationOptionsLambdaIntegrationOptions.Builder of LambdaIntegrationOptionsCopyright © 2022. All rights reserved.