Class NodejsFunctionProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.nodejs.NodejsFunctionProps.Jsii$Proxy
All Implemented Interfaces:
software.amazon.awscdk.services.lambda.EventInvokeConfigOptions, software.amazon.awscdk.services.lambda.FunctionOptions, NodejsFunctionProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
NodejsFunctionProps

@Stability(Stable) @Internal public static final class NodejsFunctionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements NodejsFunctionProps
An implementation for NodejsFunctionProps
  • 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

      protected Jsii$Proxy(NodejsFunctionProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the NodejsFunctionProps.Builder.
  • Method Details

    • getAwsSdkConnectionReuse

      public final Boolean getAwsSdkConnectionReuse()
      Description copied from interface: NodejsFunctionProps
      Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.

      This sets the AWS_NODEJS_CONNECTION_REUSE_ENABLED environment variable to 1.

      Default: true

      Specified by:
      getAwsSdkConnectionReuse in interface NodejsFunctionProps
      See Also:
    • getBundling

      public final BundlingOptions getBundling()
      Description copied from interface: NodejsFunctionProps
      Bundling options.

      Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.

      Specified by:
      getBundling in interface NodejsFunctionProps
    • getDepsLockFilePath

      public final String getDepsLockFilePath()
      Description copied from interface: NodejsFunctionProps
      The path to the dependencies lock file (`yarn.lock` or `package-lock.json`).

      This will be used as the source for the volume mounted in the Docker container.

      Modules specified in nodeModules will be installed using the right installer (npm or yarn) 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:
      getDepsLockFilePath in interface NodejsFunctionProps
    • getEntry

      public final String getEntry()
      Description copied from interface: NodejsFunctionProps
      Path 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:
      getEntry in interface NodejsFunctionProps
    • getHandler

      public final String getHandler()
      Description copied from interface: NodejsFunctionProps
      The name of the exported handler in the entry file.

      Default: handler

      Specified by:
      getHandler in interface NodejsFunctionProps
    • getProjectRoot

      public final String getProjectRoot()
      Description copied from interface: NodejsFunctionProps
      The path to the directory containing project config files (`package.json` or `tsconfig.json`).

      Default: - the directory containing the `depsLockFilePath`

      Specified by:
      getProjectRoot in interface NodejsFunctionProps
    • getRuntime

      public final software.amazon.awscdk.services.lambda.Runtime getRuntime()
      Description copied from interface: NodejsFunctionProps
      The runtime environment.

      Only runtimes of the Node.js family are supported.

      Default: Runtime.NODEJS_14_X

      Specified by:
      getRuntime in interface NodejsFunctionProps
    • getAllowAllOutbound

      public final Boolean getAllowAllOutbound()
      Specified by:
      getAllowAllOutbound in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getAllowPublicSubnet

      public final Boolean getAllowPublicSubnet()
      Specified by:
      getAllowPublicSubnet in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getArchitecture

      public final software.amazon.awscdk.services.lambda.Architecture getArchitecture()
      Specified by:
      getArchitecture in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getArchitectures

      public final List<software.amazon.awscdk.services.lambda.Architecture> getArchitectures()
      Specified by:
      getArchitectures in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getCodeSigningConfig

      public final software.amazon.awscdk.services.lambda.ICodeSigningConfig getCodeSigningConfig()
      Specified by:
      getCodeSigningConfig in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getCurrentVersionOptions

      public final software.amazon.awscdk.services.lambda.VersionOptions getCurrentVersionOptions()
      Specified by:
      getCurrentVersionOptions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterQueue

      public final software.amazon.awscdk.services.sqs.IQueue getDeadLetterQueue()
      Specified by:
      getDeadLetterQueue in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterQueueEnabled

      public final Boolean getDeadLetterQueueEnabled()
      Specified by:
      getDeadLetterQueueEnabled in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDeadLetterTopic

      public final software.amazon.awscdk.services.sns.ITopic getDeadLetterTopic()
      Specified by:
      getDeadLetterTopic in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getDescription

      public final String getDescription()
      Specified by:
      getDescription in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEnvironment

      public final Map<String,String> getEnvironment()
      Specified by:
      getEnvironment in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEnvironmentEncryption

      public final software.amazon.awscdk.services.kms.IKey getEnvironmentEncryption()
      Specified by:
      getEnvironmentEncryption in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEphemeralStorageSize

      public final software.amazon.awscdk.core.Size getEphemeralStorageSize()
      Specified by:
      getEphemeralStorageSize in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getEvents

      public final List<software.amazon.awscdk.services.lambda.IEventSource> getEvents()
      Specified by:
      getEvents in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getFilesystem

      public final software.amazon.awscdk.services.lambda.FileSystem getFilesystem()
      Specified by:
      getFilesystem in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getFunctionName

      public final String getFunctionName()
      Specified by:
      getFunctionName in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getInitialPolicy

      public final List<software.amazon.awscdk.services.iam.PolicyStatement> getInitialPolicy()
      Specified by:
      getInitialPolicy in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getInsightsVersion

      public final software.amazon.awscdk.services.lambda.LambdaInsightsVersion getInsightsVersion()
      Specified by:
      getInsightsVersion in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLayers

      public final List<software.amazon.awscdk.services.lambda.ILayerVersion> getLayers()
      Specified by:
      getLayers in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetention

      public final software.amazon.awscdk.services.logs.RetentionDays getLogRetention()
      Specified by:
      getLogRetention in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetentionRetryOptions

      public final software.amazon.awscdk.services.lambda.LogRetentionRetryOptions getLogRetentionRetryOptions()
      Specified by:
      getLogRetentionRetryOptions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getLogRetentionRole

      public final software.amazon.awscdk.services.iam.IRole getLogRetentionRole()
      Specified by:
      getLogRetentionRole in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getMemorySize

      public final Number getMemorySize()
      Specified by:
      getMemorySize in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getProfiling

      public final Boolean getProfiling()
      Specified by:
      getProfiling in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getProfilingGroup

      public final software.amazon.awscdk.services.codeguruprofiler.IProfilingGroup getProfilingGroup()
      Specified by:
      getProfilingGroup in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getReservedConcurrentExecutions

      public final Number getReservedConcurrentExecutions()
      Specified by:
      getReservedConcurrentExecutions in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getRole

      public final software.amazon.awscdk.services.iam.IRole getRole()
      Specified by:
      getRole in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getSecurityGroup

      public final software.amazon.awscdk.services.ec2.ISecurityGroup getSecurityGroup()
      Specified by:
      getSecurityGroup in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getSecurityGroups

      public final List<software.amazon.awscdk.services.ec2.ISecurityGroup> getSecurityGroups()
      Specified by:
      getSecurityGroups in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getTimeout

      public final software.amazon.awscdk.core.Duration getTimeout()
      Specified by:
      getTimeout in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getTracing

      public final software.amazon.awscdk.services.lambda.Tracing getTracing()
      Specified by:
      getTracing in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getVpc

      public final software.amazon.awscdk.services.ec2.IVpc getVpc()
      Specified by:
      getVpc in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getVpcSubnets

      public final software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets()
      Specified by:
      getVpcSubnets in interface software.amazon.awscdk.services.lambda.FunctionOptions
    • getMaxEventAge

      public final software.amazon.awscdk.core.Duration getMaxEventAge()
      Specified by:
      getMaxEventAge in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getOnFailure

      public final software.amazon.awscdk.services.lambda.IDestination getOnFailure()
      Specified by:
      getOnFailure in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getOnSuccess

      public final software.amazon.awscdk.services.lambda.IDestination getOnSuccess()
      Specified by:
      getOnSuccess in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • getRetryAttempts

      public final Number getRetryAttempts()
      Specified by:
      getRetryAttempts in interface software.amazon.awscdk.services.lambda.EventInvokeConfigOptions
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object