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",
    object_version: "NonEmptyString",
  },
  operating_system: "WINDOWS_2012", # accepts WINDOWS_2012, AMAZON_LINUX, AMAZON_LINUX_2
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Represents the input for a request action.

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 use UpdateBuild to change this value later.

Returns:

  • (String)


470
471
472
473
474
475
476
477
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 470

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

#operating_systemString

The 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)


470
471
472
473
474
475
476
477
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 470

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags)
  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.

Returns:



470
471
472
473
474
475
476
477
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 470

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags)
  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 AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.

Returns:



470
471
472
473
474
475
476
477
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 470

class CreateBuildInput < Struct.new(
  :name,
  :version,
  :storage_location,
  :operating_system,
  :tags)
  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 use UpdateBuild to change this value later.

Returns:

  • (String)


470
471
472
473
474
475
476
477
# File 'gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb', line 470

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