# LambdaRuntimeProps

Extends: LambdaRuntimeProps
Used as props by: Runtime

- Source: [`aws-lambda/lib/runtime.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts#L6)
- Type last changed: v2.94.0 · 1 Sep 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const lambdaRuntimeProps: lambda.LambdaRuntimeProps = {
  bundlingDockerImage: 'bundlingDockerImage',
  isVariable: false,
  supportsCodeGuruProfiling: false,
  supportsInlineCode: false,
  supportsSnapStart: false,
};
```

## Properties

- `bundlingDockerImage`: string — The Docker image name to be used for bundling in this runtime.

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

- `isVariable`: boolean = false — Whether the runtime enum is meant to change over time, IE NODEJS_LATEST.

- `supportsCodeGuruProfiling`: boolean = false — Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.

- `supportsInlineCode`: boolean = false — Whether the ``ZipFile`` (aka inline code) property can be used with this runtime.

- `supportsSnapStart`: boolean = false — Whether this runtime supports SnapStart.
