@Generated(value="jsii-pacmak/1.7.0 (build 179a3a5)", date="2020-07-01T08:46:39.126Z") @Stability(value=Experimental) public interface NodejsFunctionProps extends software.amazon.jsii.JsiiSerializable, FunctionOptions, ParcelBaseOptions
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
NodejsFunctionProps.Builder
A builder for
NodejsFunctionProps |
static class |
NodejsFunctionProps.Jsii$Proxy
An implementation for
NodejsFunctionProps |
| Modifier and Type | Method and Description |
|---|---|
static NodejsFunctionProps.Builder |
builder() |
default String |
getEntry()
Path to the entry file (JavaScript or TypeScript).
|
default String |
getHandler()
The name of the exported handler in the entry file.
|
default Runtime |
getRuntime()
The runtime environment.
|
getAllowAllOutbound, getCurrentVersionOptions, getDeadLetterQueue, getDeadLetterQueueEnabled, getDescription, getEnvironment, getEvents, getFunctionName, getInitialPolicy, getLayers, getLogRetention, getLogRetentionRetryOptions, getLogRetentionRole, getMemorySize, getReservedConcurrentExecutions, getRole, getSecurityGroup, getSecurityGroups, getTimeout, getTracing, getVpc, getVpcSubnetsgetMaxEventAge, getOnFailure, getOnSuccess, getRetryAttemptsgetCacheDir, getExternalModules, getMinify, getNodeModules, getParcelEnvironment, getParcelVersion, getProjectRoot, getSourceMaps@Stability(value=Experimental) @Nullable default String getEntry()
Default: - Derived from the name of the defining file and the construct's id. If the `NodejsFunction` is defined in `stack.ts` with `my-handler` as id (`new NodejsFunction(this, 'my-handler')`), the construct will look at `stack.my-handler.ts` and `stack.my-handler.js`.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getHandler()
Default: handler
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Runtime getRuntime()
Only runtimes of the Node.js family are supported.
Default: - `NODEJS_12_X` if `process.versions.node` >= '12.0.0', `NODEJS_10_X` otherwise.
EXPERIMENTAL
@Stability(value=Experimental) static NodejsFunctionProps.Builder builder()
builder in interface EventInvokeConfigOptionsbuilder in interface FunctionOptionsbuilder in interface ParcelBaseOptionsNodejsFunctionProps.Builder of NodejsFunctionPropsCopyright © 2020. All rights reserved.