You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

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

Overview

Note:

When making an API call, you may pass CreateBuildInput data as a hash:

{
  name: "NonZeroAndMaxString",
  version: "NonZeroAndMaxString",
  storage_location: {
    bucket: "NonEmptyString",
    key: "NonEmptyString",
    role_arn: "NonEmptyString",
  },
  operating_system: "WINDOWS_2012", # accepts WINDOWS_2012, AMAZON_LINUX
}

Represents the input for a request action.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)


367
368
369
370
371
372
373
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 367

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system)
  include Aws::Structure
end

#operating_systemString

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.

Returns:

  • (String)


367
368
369
370
371
372
373
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 367

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system)
  include Aws::Structure
end

#storage_locationTypes::S3Location

Amazon S3 location of the game build files to be uploaded. The S3 bucket must be owned by the same AWS account that you're using to manage Amazon GameLift. It also must in the same region that you want to create a new build in. Before calling CreateBuild with this location, you must allow Amazon GameLift to access your Amazon S3 bucket (see Create a Build with Files in Amazon S3).

Returns:



367
368
369
370
371
372
373
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 367

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system)
  include Aws::Structure
end

#versionString

Version that is associated with this build. Version strings do not need to be unique. You can use UpdateBuild to change this value later.

Returns:

  • (String)


367
368
369
370
371
372
373
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 367

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system)
  include Aws::Structure
end