Paws::GameLift::CreateBuild - Arguments for method CreateBuild on Paws::GameLift


This class represents the parameters used for calling the method CreateBuild on the Amazon GameLift service. Use the attributes of this class as arguments to method CreateBuild.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBuild.


    my $gamelift = Paws->service('GameLift');
    my $CreateBuildOutput = $gamelift->CreateBuild(
      Name            => 'MyNonZeroAndMaxString',    # OPTIONAL
      OperatingSystem => 'WINDOWS_2012',             # OPTIONAL
      StorageLocation => {
        Bucket  => 'MyNonEmptyString',               # min: 1; OPTIONAL
        Key     => 'MyNonEmptyString',               # min: 1; OPTIONAL
        RoleArn => 'MyNonEmptyString',               # min: 1; OPTIONAL
      },    # OPTIONAL
      Version => 'MyNonZeroAndMaxString',    # OPTIONAL

    # Results:
    my $Build             = $CreateBuildOutput->Build;
    my $StorageLocation   = $CreateBuildOutput->StorageLocation;
    my $UploadCredentials = $CreateBuildOutput->UploadCredentials;

    # Returns a L<Paws::GameLift::CreateBuildOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


Name => Str

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.

OperatingSystem => Str

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.

Valid values are: "WINDOWS_2012", "AMAZON_LINUX"

StorageLocation => Paws::GameLift::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.

Version => Str

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


This class forms part of Paws, documenting arguments for method CreateBuild in Paws::GameLift


The source code is located here:

Please report bugs to: