Skip to content

Commit e2b7791

Browse files
authored
new runtime (#26248)
1 parent 2462b0b commit e2b7791

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/aws-cdk-lib/aws-lambda/lib/runtime.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ export class Runtime {
141141
supportsCodeGuruProfiling: true,
142142
});
143143

144+
/**
145+
* The Python 3.11 runtime (python3.11)
146+
*/
147+
public static readonly PYTHON_3_11 = new Runtime('python3.11', RuntimeFamily.PYTHON, {
148+
supportsInlineCode: true,
149+
supportsCodeGuruProfiling: true,
150+
});
151+
144152
/**
145153
* The Java 8 runtime (java8)
146154
*/

0 commit comments

Comments
 (0)