@Stability(value=Experimental) public static final class NodejsFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NodejsFunctionProps
NodejsFunctionPropssoftware.amazon.jsii.JsiiObject.InitializationModeNodejsFunctionProps.Builder, NodejsFunctionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAllowAllOutbound() |
String |
getBuildDir()
The build directory.
|
String |
getCacheDir()
The cache directory.
|
software.amazon.awscdk.services.sqs.IQueue |
getDeadLetterQueue() |
Boolean |
getDeadLetterQueueEnabled() |
String |
getDescription() |
String |
getEntry()
Path to the entry file (JavaScript or TypeScript).
|
Map<String,String> |
getEnvironment() |
List<software.amazon.awscdk.services.lambda.IEventSource> |
getEvents() |
String |
getFunctionName() |
String |
getHandler()
The name of the exported handler in the entry file.
|
List<software.amazon.awscdk.services.iam.PolicyStatement> |
getInitialPolicy() |
List<software.amazon.awscdk.services.lambda.ILayerVersion> |
getLayers() |
software.amazon.awscdk.services.logs.RetentionDays |
getLogRetention() |
software.amazon.awscdk.services.iam.IRole |
getLogRetentionRole() |
software.amazon.awscdk.core.Duration |
getMaxEventAge() |
Number |
getMemorySize() |
Boolean |
getMinify()
Whether to minify files when bundling.
|
software.amazon.awscdk.services.lambda.IDestination |
getOnFailure() |
software.amazon.awscdk.services.lambda.IDestination |
getOnSuccess() |
Number |
getReservedConcurrentExecutions() |
Number |
getRetryAttempts() |
software.amazon.awscdk.services.iam.IRole |
getRole() |
software.amazon.awscdk.services.lambda.Runtime |
getRuntime()
The runtime environment.
|
software.amazon.awscdk.services.ec2.ISecurityGroup |
getSecurityGroup() |
List<software.amazon.awscdk.services.ec2.ISecurityGroup> |
getSecurityGroups() |
Boolean |
getSourceMaps()
Whether to include source maps when bundling.
|
software.amazon.awscdk.core.Duration |
getTimeout() |
software.amazon.awscdk.services.lambda.Tracing |
getTracing() |
software.amazon.awscdk.services.ec2.IVpc |
getVpc() |
software.amazon.awscdk.services.ec2.SubnetSelection |
getVpcSubnets() |
int |
hashCode() |
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getBuildDir()
NodejsFunctionPropsDefault: - `.build` in the entry file directory
EXPERIMENTAL
getBuildDir in interface NodejsFunctionPropspublic String getCacheDir()
NodejsFunctionPropsParcel uses a filesystem cache for fast rebuilds.
Default: - `.cache` in the root directory
EXPERIMENTAL
getCacheDir in interface NodejsFunctionPropspublic String getEntry()
NodejsFunctionPropsDefault: - 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
getEntry in interface NodejsFunctionPropspublic String getHandler()
NodejsFunctionPropsDefault: handler
EXPERIMENTAL
getHandler in interface NodejsFunctionPropspublic Boolean getMinify()
NodejsFunctionPropsDefault: false
EXPERIMENTAL
getMinify in interface NodejsFunctionPropspublic software.amazon.awscdk.services.lambda.Runtime getRuntime()
NodejsFunctionPropsOnly runtimes of the Node.js family are supported.
Default: - `NODEJS_12_X` if `process.versions.node` >= '12.0.0', `NODEJS_10_X` otherwise.
EXPERIMENTAL
getRuntime in interface NodejsFunctionPropspublic Boolean getSourceMaps()
NodejsFunctionPropsDefault: false
EXPERIMENTAL
getSourceMaps in interface NodejsFunctionPropspublic Boolean getAllowAllOutbound()
getAllowAllOutbound in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()
getDeadLetterQueue in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic Boolean getDeadLetterQueueEnabled()
getDeadLetterQueueEnabled in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic String getDescription()
getDescription in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic Map<String,String> getEnvironment()
getEnvironment in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic List<software.amazon.awscdk.services.lambda.IEventSource> getEvents()
getEvents in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic String getFunctionName()
getFunctionName in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic List<software.amazon.awscdk.services.iam.PolicyStatement> getInitialPolicy()
getInitialPolicy in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic List<software.amazon.awscdk.services.lambda.ILayerVersion> getLayers()
getLayers in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.logs.RetentionDays getLogRetention()
getLogRetention in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.iam.IRole getLogRetentionRole()
getLogRetentionRole in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic Number getMemorySize()
getMemorySize in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic Number getReservedConcurrentExecutions()
getReservedConcurrentExecutions in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.iam.IRole getRole()
getRole in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()
getSecurityGroup in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic List<software.amazon.awscdk.services.ec2.ISecurityGroup> getSecurityGroups()
getSecurityGroups in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.core.Duration getTimeout()
getTimeout in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.lambda.Tracing getTracing()
getTracing in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.ec2.IVpc getVpc()
getVpc in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()
getVpcSubnets in interface software.amazon.awscdk.services.lambda.FunctionOptionspublic software.amazon.awscdk.core.Duration getMaxEventAge()
getMaxEventAge in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptionspublic software.amazon.awscdk.services.lambda.IDestination getOnFailure()
getOnFailure in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptionspublic software.amazon.awscdk.services.lambda.IDestination getOnSuccess()
getOnSuccess in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptionspublic Number getRetryAttempts()
getRetryAttempts in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptionspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2024. All rights reserved.