aws-cdk-lib.aws_lambda.LambdaRuntimeProps

interface LambdaRuntimeProps

LanguageType name
.NETAmazon.CDK.AWS.Lambda.LambdaRuntimeProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslambda#LambdaRuntimeProps
Javasoftware.amazon.awscdk.services.lambda.LambdaRuntimeProps
Pythonaws_cdk.aws_lambda.LambdaRuntimeProps
TypeScript (source)aws-cdk-lib » aws_lambda » LambdaRuntimeProps

Example

// 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',
  supportsCodeGuruProfiling: false,
  supportsInlineCode: false,
};

Properties

NameTypeDescription
bundlingDockerImage?stringThe Docker image name to be used for bundling in this runtime.
supportsCodeGuruProfiling?booleanWhether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.
supportsInlineCode?booleanWhether the ZipFile (aka inline code) property can be used with this runtime.

bundlingDockerImage?

Type: string (optional, default: the latest docker image "amazon/public.ecr.aws/sam/build-" from https://gallery.ecr.aws)

The Docker image name to be used for bundling in this runtime.


supportsCodeGuruProfiling?

Type: boolean (optional, default: false)

Whether this runtime is integrated with and supported for profiling using Amazon CodeGuru Profiler.


supportsInlineCode?

Type: boolean (optional, default: false)

Whether the ZipFile (aka inline code) property can be used with this runtime.