|
10 | 10 | abstract class RuntimeConstants |
11 | 11 | { |
12 | 12 | /** @deprecated Use Runtime::NODEJS_24 instead */ |
13 | | - public const NODEJS_24 = Runtime::NODEJS_24->value; |
| 13 | + public const NODEJS_24 = 'nodejs24.x'; |
14 | 14 |
|
15 | 15 | /** @deprecated Use Runtime::NODEJS_22 instead */ |
16 | | - public const NODEJS_22 = Runtime::NODEJS_22->value; |
| 16 | + public const NODEJS_22 = 'nodejs22.x'; |
17 | 17 |
|
18 | 18 | /** @deprecated Use Runtime::NODEJS_20 instead */ |
19 | | - public const NODEJS_20 = Runtime::NODEJS_20->value; |
| 19 | + public const NODEJS_20 = 'nodejs20.x'; |
20 | 20 |
|
21 | 21 | /** @deprecated Use Runtime::NODEJS_18 instead (also deprecated by AWS) */ |
22 | | - public const NODEJS_18 = Runtime::NODEJS_18->value; |
| 22 | + public const NODEJS_18 = 'nodejs18.x'; |
23 | 23 |
|
24 | 24 | /** @deprecated Use Runtime::NODEJS_16 instead (also deprecated by AWS) */ |
25 | | - public const NODEJS_16 = Runtime::NODEJS_16->value; |
| 25 | + public const NODEJS_16 = 'nodejs16.x'; |
26 | 26 |
|
27 | 27 | /** @deprecated Use Runtime::NODEJS_14 instead (also deprecated by AWS) */ |
28 | | - public const NODEJS_14 = Runtime::NODEJS_14->value; |
| 28 | + public const NODEJS_14 = 'nodejs14.x'; |
29 | 29 |
|
30 | 30 | /** @deprecated Use Runtime::PYTHON_314 instead */ |
31 | | - public const PYTHON_314 = Runtime::PYTHON_314->value; |
| 31 | + public const PYTHON_314 = 'python3.14'; |
32 | 32 |
|
33 | 33 | /** @deprecated Use Runtime::PYTHON_313 instead */ |
34 | | - public const PYTHON_313 = Runtime::PYTHON_313->value; |
| 34 | + public const PYTHON_313 = 'python3.13'; |
35 | 35 |
|
36 | 36 | /** @deprecated Use Runtime::PYTHON_312 instead */ |
37 | | - public const PYTHON_312 = Runtime::PYTHON_312->value; |
| 37 | + public const PYTHON_312 = 'python3.12'; |
38 | 38 |
|
39 | 39 | /** @deprecated Use Runtime::PYTHON_311 instead */ |
40 | | - public const PYTHON_311 = Runtime::PYTHON_311->value; |
| 40 | + public const PYTHON_311 = 'python3.11'; |
41 | 41 |
|
42 | 42 | /** @deprecated Use Runtime::PYTHON_310 instead */ |
43 | | - public const PYTHON_310 = Runtime::PYTHON_310->value; |
| 43 | + public const PYTHON_310 = 'python3.10'; |
44 | 44 |
|
45 | 45 | /** @deprecated Use Runtime::PYTHON_39 instead */ |
46 | | - public const PYTHON_39 = Runtime::PYTHON_39->value; |
| 46 | + public const PYTHON_39 = 'python3.9'; |
47 | 47 |
|
48 | 48 | /** @deprecated Use Runtime::PYTHON_38 instead (also deprecated by AWS) */ |
49 | | - public const PYTHON_38 = Runtime::PYTHON_38->value; |
| 49 | + public const PYTHON_38 = 'python3.8'; |
50 | 50 |
|
51 | 51 | /** @deprecated Use Runtime::PYTHON_37 instead (also deprecated by AWS) */ |
52 | | - public const PYTHON_37 = Runtime::PYTHON_37->value; |
| 52 | + public const PYTHON_37 = 'python3.7'; |
53 | 53 |
|
54 | 54 | /** @deprecated Use Runtime::JAVA_25 instead */ |
55 | | - public const JAVA_25 = Runtime::JAVA_25->value; |
| 55 | + public const JAVA_25 = 'java25'; |
56 | 56 |
|
57 | 57 | /** @deprecated Use Runtime::JAVA_21 instead */ |
58 | | - public const JAVA_21 = Runtime::JAVA_21->value; |
| 58 | + public const JAVA_21 = 'java21'; |
59 | 59 |
|
60 | 60 | /** @deprecated Use Runtime::JAVA_17 instead */ |
61 | | - public const JAVA_17 = Runtime::JAVA_17->value; |
| 61 | + public const JAVA_17 = 'java17'; |
62 | 62 |
|
63 | 63 | /** @deprecated Use Runtime::JAVA_11 instead */ |
64 | | - public const JAVA_11 = Runtime::JAVA_11->value; |
| 64 | + public const JAVA_11 = 'java11'; |
65 | 65 |
|
66 | 66 | /** @deprecated Use Runtime::JAVA_8_LINUX2 instead */ |
67 | | - public const JAVA_8_LINUX2 = Runtime::JAVA_8_LINUX2->value; |
| 67 | + public const JAVA_8_LINUX2 = 'java8.al2'; |
68 | 68 |
|
69 | 69 | /** @deprecated Use Runtime::JAVA_8 instead (also deprecated by AWS) */ |
70 | | - public const JAVA_8 = Runtime::JAVA_8->value; |
| 70 | + public const JAVA_8 = 'java8'; |
71 | 71 |
|
72 | 72 | /** @deprecated Use Runtime::DOT_NET_9 instead */ |
73 | | - public const DOT_NET_9 = Runtime::DOT_NET_9->value; |
| 73 | + public const DOT_NET_9 = 'dotnet9'; |
74 | 74 |
|
75 | 75 | /** @deprecated Use Runtime::DOT_NET_8 instead */ |
76 | | - public const DOT_NET_8 = Runtime::DOT_NET_8->value; |
| 76 | + public const DOT_NET_8 = 'dotnet8'; |
77 | 77 |
|
78 | 78 | /** @deprecated Use Runtime::DOT_NET_7 instead (also deprecated by AWS) */ |
79 | | - public const DOT_NET_7 = Runtime::DOT_NET_7->value; |
| 79 | + public const DOT_NET_7 = 'dotnet7'; |
80 | 80 |
|
81 | 81 | /** @deprecated Use Runtime::DOT_NET_6 instead (also deprecated by AWS) */ |
82 | | - public const DOT_NET_6 = Runtime::DOT_NET_6->value; |
| 82 | + public const DOT_NET_6 = 'dotnet6'; |
83 | 83 |
|
84 | 84 | /** @deprecated Use Runtime::RUBY_34 instead */ |
85 | | - public const RUBY_34 = Runtime::RUBY_34->value; |
| 85 | + public const RUBY_34 = 'ruby3.4'; |
86 | 86 |
|
87 | 87 | /** @deprecated Use Runtime::RUBY_33 instead */ |
88 | | - public const RUBY_33 = Runtime::RUBY_33->value; |
| 88 | + public const RUBY_33 = 'ruby3.3'; |
89 | 89 |
|
90 | 90 | /** @deprecated Use Runtime::RUBY_32 instead */ |
91 | | - public const RUBY_32 = Runtime::RUBY_32->value; |
| 91 | + public const RUBY_32 = 'ruby3.2'; |
92 | 92 |
|
93 | 93 | /** @deprecated Use Runtime::RUBY_27 instead (also deprecated by AWS) */ |
94 | | - public const RUBY_27 = Runtime::RUBY_27->value; |
| 94 | + public const RUBY_27 = 'ruby2.7'; |
95 | 95 |
|
96 | 96 | /** @deprecated Use Runtime::GO_1X instead (also deprecated by AWS) */ |
97 | | - public const GO_1X = Runtime::GO_1X->value; |
| 97 | + public const GO_1X = 'go1.x'; |
98 | 98 |
|
99 | 99 | /** @deprecated Use Runtime::PROVIDED_AL2023 instead */ |
100 | | - public const PROVIDED_AL2023 = Runtime::PROVIDED_AL2023->value; |
| 100 | + public const PROVIDED_AL2023 = 'provided.al2023'; |
101 | 101 |
|
102 | 102 | /** @deprecated Use Runtime::PROVIDED_AL2 instead */ |
103 | | - public const PROVIDED_AL2 = Runtime::PROVIDED_AL2->value; |
| 103 | + public const PROVIDED_AL2 = 'provided.al2'; |
104 | 104 |
|
105 | 105 | /** @deprecated Use Runtime::PROVIDED instead (also deprecated by AWS) */ |
106 | | - public const PROVIDED = Runtime::PROVIDED->value; |
| 106 | + public const PROVIDED = 'provided'; |
107 | 107 | } |
0 commit comments