Creates a new Amazon GameLift build record for your game server binary files and points to the location of your game server build files in an Amazon Simple Storage Service (Amazon S3) location.
Game server binaries must be combined into a zip file for use with Amazon GameLift.
To create new builds directly from a file directory, use the AWS CLI command upload-build. This helper command uploads build files and creates a new build record in one step, and automatically handles the necessary permissions.
operation should be used only in the following scenarios:
- To create a new game build with build files that are in an Amazon S3 bucket under your own AWS account. To use this option, you must first give Amazon GameLift access to that Amazon S3 bucket. Then call
CreateBuild and specify a build name, operating system, and the Amazon S3 storage location of your game build.
- To upload build files directly to Amazon GameLift's Amazon S3 account. To use this option, first call
CreateBuild and specify a build name and operating system. This action creates a new build record and returns an Amazon S3 storage location (bucket and key only) and temporary access credentials. Use the credentials to manually upload your build file to the provided storage location (see the Amazon S3 topic Uploading Objects). You can upload build files to the GameLift Amazon S3 location only once.
If successful, this operation creates a new build record with a unique build ID and places it in
status. You can use DescribeBuild
to check the status of your build. A build must be in
status before it can be used to create fleets. Learn moreUploading Your Gamehttps://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Create a Build with Files in Amazon S3Related operations