File Coverage

blib/lib/Paws/GameLift/ServerProcess.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::GameLift::ServerProcess;
2 1     1   408 use Moose;
  1         3  
  1         6  
3             has ConcurrentExecutions => (is => 'ro', isa => 'Int', required => 1);
4             has LaunchPath => (is => 'ro', isa => 'Str', required => 1);
5             has Parameters => (is => 'ro', isa => 'Str');
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::GameLift::ServerProcess
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::GameLift::ServerProcess object:
24              
25             $service_obj->Method(Att1 => { ConcurrentExecutions => $value, ..., Parameters => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::ServerProcess object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->ConcurrentExecutions
33              
34             =head1 DESCRIPTION
35              
36             A set of instructions for launching server processes on each instance
37             in a fleet. Each instruction set identifies the location of the server
38             executable, optional launch parameters, and the number of server
39             processes with this configuration to maintain concurrently on the
40             instance. Server process configurations make up a fleet's C<
41             RuntimeConfiguration >.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> ConcurrentExecutions => Int
47              
48             Number of server processes using this configuration to run concurrently
49             on an instance.
50              
51              
52             =head2 B<REQUIRED> LaunchPath => Str
53              
54             Location of the server executable in a game build. All game builds are
55             installed on instances at the root : for Windows instances C<C:\game>,
56             and for Linux instances C</local/game>. A Windows game build with an
57             executable file located at C<MyGame\latest\server.exe> must have a
58             launch path of "C<C:\game\MyGame\latest\server.exe>". A Linux game
59             build with an executable file located at C<MyGame/latest/server.exe>
60             must have a launch path of "C</local/game/MyGame/latest/server.exe>".
61              
62              
63             =head2 Parameters => Str
64              
65             Optional list of parameters to pass to the server executable on launch.
66              
67              
68              
69             =head1 SEE ALSO
70              
71             This class forms part of L<Paws>, describing an object used in L<Paws::GameLift>
72              
73             =head1 BUGS and CONTRIBUTIONS
74              
75             The source code is located here: https://github.com/pplu/aws-sdk-perl
76              
77             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
78              
79             =cut
80