@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:21.352Z") @Stability(value=Experimental) public interface LambdaRestApiProps extends software.amazon.jsii.JsiiSerializable, RestApiProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
LambdaRestApiProps.Builder
A builder for
LambdaRestApiProps |
static class |
LambdaRestApiProps.Jsii$Proxy
An implementation for
LambdaRestApiProps |
| Modifier and Type | Method and Description |
|---|---|
static LambdaRestApiProps.Builder |
builder() |
IFunction |
getHandler()
(experimental) The default Lambda function that handles all requests from this API.
|
default RestApiProps |
getOptions()
Deprecated.
the `LambdaRestApiProps` now extends `RestApiProps`, so all
options are just available here. Note that the options specified in
`options` will be overridden by any props specified at the root level.
|
default Boolean |
getProxy()
(experimental) If true, route all requests to the Lambda Function.
|
getApiKeySourceType, getBinaryMediaTypes, getCloneFrom, getDescription, getEndpointConfiguration, getMinimumCompressionSizegetCloudWatchRole, getDeploy, getDeployOptions, getDomainName, getEndpointExportName, getEndpointTypes, getFailOnWarnings, getParameters, getPolicy, getRestApiName, getRetainDeploymentsgetDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions@Stability(value=Experimental) @NotNull IFunction getHandler()
This handler will be used as a the default integration for all methods in
this API, unless specified otherwise in addMethod.
@Stability(value=Deprecated) @Deprecated @Nullable default RestApiProps getOptions()
@Stability(value=Experimental) @Nullable default Boolean getProxy()
If set to false, you will need to explicitly define the API model using
addResource and addMethod (or addProxy).
Default: true
@Stability(value=Experimental) static LambdaRestApiProps.Builder builder()
builder in interface ResourceOptionsbuilder in interface RestApiBasePropsbuilder in interface RestApiOptionsbuilder in interface RestApiPropsLambdaRestApiProps.Builder of LambdaRestApiPropsCopyright © 2021. All rights reserved.