Interface LambdaRuntimeProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
LambdaRuntimeProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:04.176Z") @Stability(Stable) public interface LambdaRuntimeProps extends software.amazon.jsii.JsiiSerializable
Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lambda.*;
 LambdaRuntimeProps lambdaRuntimeProps = LambdaRuntimeProps.builder()
         .bundlingDockerImage("bundlingDockerImage")
         .isVariable(false)
         .supportsCodeGuruProfiling(false)
         .supportsInlineCode(false)
         .supportsSnapStart(false)
         .build();
 
  • Method Details

    • getBundlingDockerImage

      @Stability(Stable) @Nullable default String getBundlingDockerImage()
      The Docker image name to be used for bundling in this runtime.

      Default: - the latest docker image "amazon/public.ecr.aws/sam/build-" from https://gallery.ecr.aws

    • getIsVariable

      @Stability(Stable) @Nullable default Boolean getIsVariable()
      Whether the runtime enum is meant to change over time, IE NODEJS_LATEST.

      Default: false

    • getSupportsCodeGuruProfiling

      @Stability(Stable) @Nullable default Boolean getSupportsCodeGuruProfiling()
      Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.

      Default: false

    • getSupportsInlineCode

      @Stability(Stable) @Nullable default Boolean getSupportsInlineCode()
      Whether the ZipFile (aka inline code) property can be used with this runtime.

      Default: false

    • getSupportsSnapStart

      @Stability(Stable) @Nullable default Boolean getSupportsSnapStart()
      Whether this runtime supports SnapStart.

      Default: false

    • builder

      @Stability(Stable) static LambdaRuntimeProps.Builder builder()
      Returns:
      a LambdaRuntimeProps.Builder of LambdaRuntimeProps