Class NodejsFunctionProps.Jsii$Proxy
- All Implemented Interfaces:
EventInvokeConfigOptions,FunctionOptions,NodejsFunctionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
NodejsFunctionProps
NodejsFunctionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.nodejs.NodejsFunctionProps
NodejsFunctionProps.Builder, NodejsFunctionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(NodejsFunctionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theNodejsFunctionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal Booleanfinal Booleanfinal Architecturefinal List<Architecture>final BooleanWhether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.final BundlingOptionsBundling options.final ICodeSigningConfigfinal VersionOptionsfinal software.amazon.awscdk.services.sqs.IQueuefinal Booleanfinal software.amazon.awscdk.services.sns.ITopicfinal StringThe path to the dependencies lock file (yarn.lockorpackage-lock.json).final Stringfinal StringgetEntry()Path to the entry file (JavaScript or TypeScript).final software.amazon.awscdk.services.kms.IKeyfinal Sizefinal List<IEventSource>final FileSystemfinal Stringfinal StringThe name of the exported handler in the entry file.final List<software.amazon.awscdk.services.iam.PolicyStatement>final LambdaInsightsVersionfinal List<ILayerVersion>final software.amazon.awscdk.services.logs.RetentionDaysfinal LogRetentionRetryOptionsfinal software.amazon.awscdk.services.iam.IRolefinal Durationfinal Numberfinal IDestinationfinal IDestinationfinal Booleanfinal software.amazon.awscdk.services.codeguruprofiler.IProfilingGroupfinal StringThe path to the directory containing project config files (package.jsonortsconfig.json).final Numberfinal Numberfinal software.amazon.awscdk.services.iam.IRolegetRole()final RuntimeThe runtime environment.final software.amazon.awscdk.services.ec2.ISecurityGroupfinal List<software.amazon.awscdk.services.ec2.ISecurityGroup>final Durationfinal Tracingfinal software.amazon.awscdk.services.ec2.IVpcgetVpc()final software.amazon.awscdk.services.ec2.SubnetSelectionfinal inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theNodejsFunctionProps.Builder.
-
-
Method Details
-
getAwsSdkConnectionReuse
Description copied from interface:NodejsFunctionPropsWhether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.This sets the
AWS_NODEJS_CONNECTION_REUSE_ENABLEDenvironment variable to1.Default: true
- Specified by:
getAwsSdkConnectionReusein interfaceNodejsFunctionProps- See Also:
-
getBundling
Description copied from interface:NodejsFunctionPropsBundling options.Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.
- Specified by:
getBundlingin interfaceNodejsFunctionProps
-
getDepsLockFilePath
Description copied from interface:NodejsFunctionPropsThe path to the dependencies lock file (yarn.lockorpackage-lock.json).This will be used as the source for the volume mounted in the Docker container.
Modules specified in
nodeModuleswill be installed using the right installer (npmoryarn) along with this lock file.Default: - the path is found by walking up parent directories searching for a `yarn.lock` or `package-lock.json` file
- Specified by:
getDepsLockFilePathin interfaceNodejsFunctionProps
-
getEntry
Description copied from interface:NodejsFunctionPropsPath to the entry file (JavaScript or TypeScript).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`.
- Specified by:
getEntryin interfaceNodejsFunctionProps
-
getHandler
Description copied from interface:NodejsFunctionPropsThe name of the exported handler in the entry file.Default: handler
- Specified by:
getHandlerin interfaceNodejsFunctionProps
-
getProjectRoot
Description copied from interface:NodejsFunctionPropsThe path to the directory containing project config files (package.jsonortsconfig.json).Default: - the directory containing the `depsLockFilePath`
- Specified by:
getProjectRootin interfaceNodejsFunctionProps
-
getRuntime
Description copied from interface:NodejsFunctionPropsThe runtime environment.Only runtimes of the Node.js family are supported.
Default: Runtime.NODEJS_14_X
- Specified by:
getRuntimein interfaceNodejsFunctionProps
-
getAllowAllOutbound
- Specified by:
getAllowAllOutboundin interfaceFunctionOptions
-
getAllowPublicSubnet
- Specified by:
getAllowPublicSubnetin interfaceFunctionOptions
-
getArchitecture
- Specified by:
getArchitecturein interfaceFunctionOptions
-
getArchitectures
- Specified by:
getArchitecturesin interfaceFunctionOptions
-
getCodeSigningConfig
- Specified by:
getCodeSigningConfigin interfaceFunctionOptions
-
getCurrentVersionOptions
- Specified by:
getCurrentVersionOptionsin interfaceFunctionOptions
-
getDeadLetterQueue
public final software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()- Specified by:
getDeadLetterQueuein interfaceFunctionOptions
-
getDeadLetterQueueEnabled
- Specified by:
getDeadLetterQueueEnabledin interfaceFunctionOptions
-
getDeadLetterTopic
public final software.amazon.awscdk.services.sns.ITopic getDeadLetterTopic()- Specified by:
getDeadLetterTopicin interfaceFunctionOptions
-
getDescription
- Specified by:
getDescriptionin interfaceFunctionOptions
-
getEnvironment
- Specified by:
getEnvironmentin interfaceFunctionOptions
-
getEnvironmentEncryption
public final software.amazon.awscdk.services.kms.IKey getEnvironmentEncryption()- Specified by:
getEnvironmentEncryptionin interfaceFunctionOptions
-
getEphemeralStorageSize
- Specified by:
getEphemeralStorageSizein interfaceFunctionOptions
-
getEvents
- Specified by:
getEventsin interfaceFunctionOptions
-
getFilesystem
- Specified by:
getFilesystemin interfaceFunctionOptions
-
getFunctionName
- Specified by:
getFunctionNamein interfaceFunctionOptions
-
getInitialPolicy
- Specified by:
getInitialPolicyin interfaceFunctionOptions
-
getInsightsVersion
- Specified by:
getInsightsVersionin interfaceFunctionOptions
-
getLayers
- Specified by:
getLayersin interfaceFunctionOptions
-
getLogRetention
public final software.amazon.awscdk.services.logs.RetentionDays getLogRetention()- Specified by:
getLogRetentionin interfaceFunctionOptions
-
getLogRetentionRetryOptions
- Specified by:
getLogRetentionRetryOptionsin interfaceFunctionOptions
-
getLogRetentionRole
public final software.amazon.awscdk.services.iam.IRole getLogRetentionRole()- Specified by:
getLogRetentionRolein interfaceFunctionOptions
-
getMemorySize
- Specified by:
getMemorySizein interfaceFunctionOptions
-
getProfiling
- Specified by:
getProfilingin interfaceFunctionOptions
-
getProfilingGroup
public final software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup getProfilingGroup()- Specified by:
getProfilingGroupin interfaceFunctionOptions
-
getReservedConcurrentExecutions
- Specified by:
getReservedConcurrentExecutionsin interfaceFunctionOptions
-
getRole
public final software.amazon.awscdk.services.iam.IRole getRole()- Specified by:
getRolein interfaceFunctionOptions
-
getSecurityGroup
public final software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()- Specified by:
getSecurityGroupin interfaceFunctionOptions
-
getSecurityGroups
- Specified by:
getSecurityGroupsin interfaceFunctionOptions
-
getTimeout
- Specified by:
getTimeoutin interfaceFunctionOptions
-
getTracing
- Specified by:
getTracingin interfaceFunctionOptions
-
getVpc
public final software.amazon.awscdk.services.ec2.IVpc getVpc()- Specified by:
getVpcin interfaceFunctionOptions
-
getVpcSubnets
public final software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()- Specified by:
getVpcSubnetsin interfaceFunctionOptions
-
getMaxEventAge
- Specified by:
getMaxEventAgein interfaceEventInvokeConfigOptions
-
getOnFailure
- Specified by:
getOnFailurein interfaceEventInvokeConfigOptions
-
getOnSuccess
- Specified by:
getOnSuccessin interfaceEventInvokeConfigOptions
-
getRetryAttempts
- Specified by:
getRetryAttemptsin interfaceEventInvokeConfigOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-