CmdID / aws / aws gamelift
aws gamelift update-build
This API works with the following fleet types: EC2 Updates metadata in a build resource, including the build name and version. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To update a custom game build
The following update-build example changes the name and version information that is associated with a specified build resource. The returned build object verifies that the changes were made successfully.
aws gamelift update-build --build-id build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --name MegaFrogRaceServer.NA.east --build-version 12345.eastIdentify--build-idA unique identifier for the build to update.--nameA descriptive label that is associated with a build.--build-versionVersion information that is associated with a build or script.Its output
{
"Build": {
"BuildArn": "arn:aws:gamelift:us-west-2::build/build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"BuildId": "build-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"CreationTime": 1496708916.18,
"Name": "MegaFrogRaceServer.NA.east",
"OperatingSystem": "AMAZON_LINUX_2",
"SizeOnDisk": 1304924,
"Status": "READY",
"Version": "12345.east"
}
}For more information, see Update Your Build Files in the Amazon GameLift Developer Guide.
Options
--build-idA unique identifier for the build to update.--build-versionVersion information that is associated with a build or script.--nameA descriptive label that is associated with a build.