Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"variables": {
"${LATEST}": "3.325.6"
"${LATEST}": "3.325.7"
},
"endpoints": "https://raw.githubusercontent.com/aws/aws-sdk-php/${LATEST}/src/data/endpoints.json",
"services": {
Expand Down
1 change: 1 addition & 0 deletions src/Service/CodeBuild/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

## 2.5.0

Expand Down
6 changes: 6 additions & 0 deletions src/Service/CodeBuild/src/Enum/EnvironmentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,30 @@
final class EnvironmentType
{
public const ARM_CONTAINER = 'ARM_CONTAINER';
public const ARM_EC2 = 'ARM_EC2';
public const ARM_LAMBDA_CONTAINER = 'ARM_LAMBDA_CONTAINER';
public const LINUX_CONTAINER = 'LINUX_CONTAINER';
public const LINUX_EC2 = 'LINUX_EC2';
public const LINUX_GPU_CONTAINER = 'LINUX_GPU_CONTAINER';
public const LINUX_LAMBDA_CONTAINER = 'LINUX_LAMBDA_CONTAINER';
public const MAC_ARM = 'MAC_ARM';
public const WINDOWS_CONTAINER = 'WINDOWS_CONTAINER';
public const WINDOWS_EC2 = 'WINDOWS_EC2';
public const WINDOWS_SERVER_2019_CONTAINER = 'WINDOWS_SERVER_2019_CONTAINER';

public static function exists(string $value): bool
{
return isset([
self::ARM_CONTAINER => true,
self::ARM_EC2 => true,
self::ARM_LAMBDA_CONTAINER => true,
self::LINUX_CONTAINER => true,
self::LINUX_EC2 => true,
self::LINUX_GPU_CONTAINER => true,
self::LINUX_LAMBDA_CONTAINER => true,
self::MAC_ARM => true,
self::WINDOWS_CONTAINER => true,
self::WINDOWS_EC2 => true,
self::WINDOWS_SERVER_2019_CONTAINER => true,
][$value]);
}
Expand Down