@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:30.126Z") public class NodejsFunction extends Function
Example:
NodejsFunction.Builder.create(this, "my-handler") .bundling(BundlingOptions.builder() .dockerImage(DockerImage.fromBuild("/path/to/Dockerfile")) .build()) .build();
Modifier and Type | Class and Description |
---|---|
static class |
NodejsFunction.Builder
A fluent builder for
NodejsFunction . |
IFunction.Jsii$Default
IClientVpnConnectionHandler.Jsii$Default
Modifier | Constructor and Description |
---|---|
|
NodejsFunction(Construct scope,
java.lang.String id) |
|
NodejsFunction(Construct scope,
java.lang.String id,
NodejsFunctionProps props) |
protected |
NodejsFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NodejsFunction(software.amazon.jsii.JsiiObjectRef objRef) |
addAlias, addAlias, addEnvironment, addEnvironment, addLayers, addVersion, addVersion, addVersion, addVersion, addVersion, classifyVersionProperty, fromFunctionArn, fromFunctionAttributes, fromFunctionName, getArchitecture, getCanCreatePermissions, getCurrentVersion, getDeadLetterQueue, getDeadLetterTopic, getFunctionArn, getFunctionName, getGrantPrincipal, getLogGroup, getPermissionsNode, getResourceArnsForGrantInvoke, getRole, getRuntime, getTimeout, metricAll, metricAll, metricAllConcurrentExecutions, metricAllConcurrentExecutions, metricAllDuration, metricAllDuration, metricAllErrors, metricAllErrors, metricAllInvocations, metricAllInvocations, metricAllThrottles, metricAllThrottles, metricAllUnreservedConcurrentExecutions, metricAllUnreservedConcurrentExecutions
addEventSource, addEventSourceMapping, addFunctionUrl, addFunctionUrl, addPermission, addToRolePolicy, configureAsyncInvoke, considerWarningOnInvokeFunctionPermissions, getConnections, getIsBoundToVpc, getLatestVersion, grantInvoke, grantInvokeUrl, metric, metric, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottles, warnInvokeFunctionPermissions
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected NodejsFunction(software.amazon.jsii.JsiiObjectRef objRef)
protected NodejsFunction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public NodejsFunction(Construct scope, java.lang.String id, NodejsFunctionProps props)
scope
- This parameter is required.id
- This parameter is required.props
- public NodejsFunction(Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.