|
59 | 59 | Runtime.dotnet6: "dotnet:6", |
60 | 60 | Runtime.dotnetcore3_1: "dotnet:core3.1", # deprecated Apr 3, 2023 => Apr 3, 2023 => May 3, 2023 |
61 | 61 | Runtime.go1_x: "go:1", # deprecated Jan 8, 2024 => Feb 8, 2024 => Mar 12, 2024 |
| 62 | + Runtime.ruby3_4: "ruby:3.4", |
62 | 63 | Runtime.ruby3_3: "ruby:3.3", |
63 | 64 | Runtime.ruby3_2: "ruby:3.2", |
64 | 65 | Runtime.ruby2_7: "ruby:2.7", # deprecated Dec 7, 2023 => Jan 9, 2024 => Feb 8, 2024 |
|
133 | 134 | "ruby": [ |
134 | 135 | Runtime.ruby3_2, |
135 | 136 | Runtime.ruby3_3, |
| 137 | + Runtime.ruby3_4, |
136 | 138 | ], |
137 | 139 | "dotnet": [ |
138 | 140 | Runtime.dotnet6, |
|
149 | 151 | runtime for runtime_group in RUNTIMES_AGGREGATED.values() for runtime in runtime_group |
150 | 152 | ] |
151 | 153 |
|
| 154 | +# An unordered list of snapstart-enabled runtimes. Related to snapshots in test_snapstart_exceptions |
| 155 | +# https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html |
| 156 | +SNAP_START_SUPPORTED_RUNTIMES = [ |
| 157 | + Runtime.java11, |
| 158 | + Runtime.java17, |
| 159 | + Runtime.java21, |
| 160 | + Runtime.python3_12, |
| 161 | + Runtime.python3_13, |
| 162 | + Runtime.dotnet8, |
| 163 | +] |
| 164 | + |
152 | 165 | # An ordered list of all Lambda runtimes considered valid by AWS. Matching snapshots in test_create_lambda_exceptions |
153 | | -VALID_RUNTIMES: str = "[nodejs20.x, provided.al2023, python3.12, python3.13, nodejs22.x, java17, nodejs16.x, dotnet8, python3.10, java11, python3.11, dotnet6, java21, nodejs18.x, provided.al2, ruby3.3, java8.al2, ruby3.2, python3.8, python3.9]" |
| 166 | +VALID_RUNTIMES: str = "[nodejs20.x, provided.al2023, python3.12, python3.13, nodejs22.x, java17, nodejs16.x, dotnet8, python3.10, java11, python3.11, dotnet6, java21, nodejs18.x, provided.al2, ruby3.3, ruby3.4, java8.al2, ruby3.2, python3.8, python3.9]" |
154 | 167 | # An ordered list of all Lambda runtimes for layers considered valid by AWS. Matching snapshots in test_layer_exceptions |
155 | | -VALID_LAYER_RUNTIMES: str = "[ruby2.6, dotnetcore1.0, python3.7, nodejs8.10, nasa, ruby2.7, python2.7-greengrass, dotnetcore2.0, python3.8, java21, dotnet6, dotnetcore2.1, python3.9, java11, nodejs6.10, provided, dotnetcore3.1, dotnet8, java17, nodejs, nodejs4.3, java8.al2, go1.x, nodejs20.x, go1.9, byol, nodejs10.x, provided.al2023, nodejs22.x, python3.10, java8, nodejs12.x, python3.11, nodejs8.x, python3.12, nodejs14.x, nodejs8.9, python3.13, nodejs16.x, provided.al2, nodejs4.3-edge, nodejs18.x, ruby3.2, python3.4, ruby3.3, ruby2.5, python3.6, python2.7]" |
| 168 | +VALID_LAYER_RUNTIMES: str = "[ruby2.6, dotnetcore1.0, python3.7, nodejs8.10, nasa, ruby2.7, python2.7-greengrass, dotnetcore2.0, python3.8, java21, dotnet6, dotnetcore2.1, python3.9, java11, nodejs6.10, provided, dotnetcore3.1, dotnet8, java25, java17, nodejs, nodejs4.3, java8.al2, go1.x, dotnet10, nodejs20.x, go1.9, byol, nodejs10.x, provided.al2023, nodejs22.x, python3.10, java8, nodejs12.x, python3.11, nodejs24.x, nodejs8.x, python3.12, nodejs14.x, nodejs8.9, python3.13, python3.14, nodejs16.x, provided.al2, nodejs4.3-edge, nodejs18.x, ruby3.2, python3.4, ruby3.3, ruby3.4, ruby2.5, python3.6, python2.7]" |
0 commit comments