Class: Aws::GameLift::Types::CreateBuildInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-gamelift/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

A descriptive label that is associated with a build. Build names do not need to be unique. You can change this value later.

Returns:

  • (String)


1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end

#operating_systemString

The environment that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. This parameter is required, and there’s no default value. You can’t change a build’s operating system later.

<note markdown=“1”> Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the [Amazon Linux 2 FAQs]. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See [ Migrate to Amazon GameLift server SDK version 5.]

</note>

[1]: aws.amazon.com/amazon-linux-2/faqs/ [2]: docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html

Returns:

  • (String)


1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end

#server_sdk_versionString

A server SDK version you used when integrating your game server build with Amazon GameLift. For more information see [Integrate games with custom game servers]. By default Amazon GameLift sets this value to ‘4.0.2`.

[1]: docs.aws.amazon.com/gamelift/latest/developerguide/integration-custom-intro.html

Returns:

  • (String)


1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end

#storage_locationTypes::S3Location

Information 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.

If a ‘StorageLocation` is specified, the size of your file can be found in your Amazon S3 bucket. Amazon GameLift will report a `SizeOnDisk` of 0.

Returns:



1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of labels to assign to the new build resource. Tags are developer defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see [ Tagging Amazon Web Services Resources] in the *Amazon Web Services General Reference*. Once the resource is created, you can use

TagResource], [UntagResource], and [ListTagsForResource][4

to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.

[1]: docs.aws.amazon.com/general/latest/gr/aws_tagging.html [2]: docs.aws.amazon.com/gamelift/latest/apireference/API_TagResource.html [3]: docs.aws.amazon.com/gamelift/latest/apireference/API_UntagResource.html [4]: docs.aws.amazon.com/gamelift/latest/apireference/API_ListTagsForResource.html

Returns:



1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

Version information that is associated with a build or script. Version strings do not need to be unique. You can change this value later.

Returns:

  • (String)


1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aws-sdk-gamelift/types.rb', line 1383

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags,
  :server_sdk_version)
  SENSITIVE = []
  include Aws::Structure
end