Skip to content

Commit 9cd0c1b

Browse files
Update generated code (#1798)
update generated code
1 parent 43c63f1 commit 9cd0c1b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- AWS api-change: AWS CodeBuild now supports automatically retrying failed builds
88
- AWS api-change: AWS CodeBuild now adds additional compute types for reserved capacity fleet.
9+
- AWS api-change: AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity.
910

1011
## 2.5.0
1112

src/Enum/EnvironmentType.php

+6
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,30 @@
55
final class EnvironmentType
66
{
77
public const ARM_CONTAINER = 'ARM_CONTAINER';
8+
public const ARM_EC2 = 'ARM_EC2';
89
public const ARM_LAMBDA_CONTAINER = 'ARM_LAMBDA_CONTAINER';
910
public const LINUX_CONTAINER = 'LINUX_CONTAINER';
11+
public const LINUX_EC2 = 'LINUX_EC2';
1012
public const LINUX_GPU_CONTAINER = 'LINUX_GPU_CONTAINER';
1113
public const LINUX_LAMBDA_CONTAINER = 'LINUX_LAMBDA_CONTAINER';
1214
public const MAC_ARM = 'MAC_ARM';
1315
public const WINDOWS_CONTAINER = 'WINDOWS_CONTAINER';
16+
public const WINDOWS_EC2 = 'WINDOWS_EC2';
1417
public const WINDOWS_SERVER_2019_CONTAINER = 'WINDOWS_SERVER_2019_CONTAINER';
1518

1619
public static function exists(string $value): bool
1720
{
1821
return isset([
1922
self::ARM_CONTAINER => true,
23+
self::ARM_EC2 => true,
2024
self::ARM_LAMBDA_CONTAINER => true,
2125
self::LINUX_CONTAINER => true,
26+
self::LINUX_EC2 => true,
2227
self::LINUX_GPU_CONTAINER => true,
2328
self::LINUX_LAMBDA_CONTAINER => true,
2429
self::MAC_ARM => true,
2530
self::WINDOWS_CONTAINER => true,
31+
self::WINDOWS_EC2 => true,
2632
self::WINDOWS_SERVER_2019_CONTAINER => true,
2733
][$value]);
2834
}

0 commit comments

Comments
 (0)