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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateBuildInput as input to an Aws::Client method, you can use a vanilla 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)

    A descriptive label that is associated with a build.

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

Possible values:

  • WINDOWS_2012
  • AMAZON_LINUX
  • AMAZON_LINUX_2

Returns:

  • (String)

    The operating system that the game server binaries are built to run on.

#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 S3 bucket that you own. The storage location must specify an S3 bucket name and key. The location must also specify a role ARN that you set up to allow Amazon GameLift to access your S3 bucket. The S3 bucket and your new build must be in the same Region.

Returns:

  • (Types::S3Location)

    Information indicating where your game build files are stored.

#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:

  • (Array<Types::Tag>)

    A list of labels to assign to the new build resource.

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

    Version information that is associated with a build or script.