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

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

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, as well as a role ARN that you set up to allow Amazon GameLift to access your Amazon S3 bucket. The S3 bucket must be in the same region that you want to create a new build in.

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