# CustomResourceLambdaRuntime

Manages lambda runtime for AWS-vended custom resources.

This feature is currently experimental.

Extends: CustomResourceLambdaRuntime
Implements: IAspect

- Source: [`custom-resources/lib/custom-resource-config/custom-resource-config.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/custom-resources/lib/custom-resource-config/custom-resource-config.ts#L140)
- Type last changed: v2.155.0 · 30 Aug 2024

## 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';
import { custom_resources } from 'aws-cdk-lib';

declare const runtime: lambda.Runtime;
const customResourceLambdaRuntime = new custom_resources.CustomResourceLambdaRuntime(runtime);
```

## Initializer

```ts
new CustomResourceLambdaRuntime(lambdaRuntime: Runtime)
```

## Methods

- `visit(node: IConstruct): void` — All aspects can visit an IConstruct.
