Skip to main content

build

Gets an individual build resource

Overview

Namebuild
TypeResource
Descriptionbuild
Idawscc.gamelift.build

Fields

NameDatatypeDescription
build_idstringA unique identifier for a build to be deployed on the new fleet. If you are deploying the fleet with a custom game build, you must specify this property. The build must have been successfully uploaded to Amazon GameLift and be in a READY status. This fleet setting cannot be changed once the fleet is created.
namestringA descriptive label that is associated with a build. Build names do not need to be unique.
operating_systemstringThe operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build. If your game build contains multiple executables, they all must run on the same operating system. If an operating system is not specified when creating a build, Amazon GameLift uses the default value (WINDOWS_2012). This value cannot be changed later.
storage_locationobjectInformation indicating where your game build files are stored. Use this parameter only when creating a build with files stored in an Amazon S3 bucket that you own. The storage location must specify an Amazon S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket and your new build must be in the same Region.
versionstringVersion information that is associated with this build. Version strings do not need to be unique.
server_sdk_versionstringA server SDK version you used when integrating your game server build with Amazon GameLift. By default Amazon GameLift sets this value to 4.0.2.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
build_id,
name,
operating_system,
storage_location,
version,
server_sdk_version
FROM awscc.gamelift.build
WHERE data__Identifier = '<BuildId>';

Permissions

To operate on the build resource, the following permissions are required:

Read

gamelift:DescribeBuild

Update

gamelift:UpdateBuild

Delete

gamelift:DescribeBuild,
gamelift:DeleteBuild