diff --git a/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts b/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts index 49d1068fd97c9..efbe0cf386e47 100644 --- a/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts +++ b/packages/aws-cdk-lib/aws-lambda/lib/runtime.ts @@ -141,6 +141,14 @@ export class Runtime { supportsCodeGuruProfiling: true, }); + /** + * The Python 3.11 runtime (python3.11) + */ + public static readonly PYTHON_3_11 = new Runtime('python3.11', RuntimeFamily.PYTHON, { + supportsInlineCode: true, + supportsCodeGuruProfiling: true, + }); + /** * The Java 8 runtime (java8) */