File Coverage

blib/lib/Paws/OpsWorks/Recipes.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::OpsWorks::Recipes;
2 1     1   513 use Moose;
  1         4  
  1         8  
3             has Configure => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
4             has Deploy => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5             has Setup => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has Shutdown => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7             has Undeploy => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::OpsWorks::Recipes
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::OpsWorks::Recipes object:
26              
27             $service_obj->Method(Att1 => { Configure => $value, ..., Undeploy => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::Recipes object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Configure
35              
36             =head1 DESCRIPTION
37              
38             AWS OpsWorks Stacks supports five lifecycle events: B<setup>,
39             B<configuration>, B<deploy>, B<undeploy>, and B<shutdown>. For each
40             layer, AWS OpsWorks Stacks runs a set of standard recipes for each
41             event. In addition, you can provide custom recipes for any or all
42             layers and events. AWS OpsWorks Stacks runs custom event recipes after
43             the standard recipes. C<LayerCustomRecipes> specifies the custom
44             recipes for a particular layer to be run in response to each of the
45             five events.
46              
47             To specify a recipe, use the cookbook's directory name in the
48             repository followed by two colons and the recipe name, which is the
49             recipe's file name without the .rb extension. For example:
50             phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's
51             phpapp2 folder.
52              
53             =head1 ATTRIBUTES
54              
55              
56             =head2 Configure => ArrayRef[Str|Undef]
57              
58             An array of custom recipe names to be run following a C<configure>
59             event.
60              
61              
62             =head2 Deploy => ArrayRef[Str|Undef]
63              
64             An array of custom recipe names to be run following a C<deploy> event.
65              
66              
67             =head2 Setup => ArrayRef[Str|Undef]
68              
69             An array of custom recipe names to be run following a C<setup> event.
70              
71              
72             =head2 Shutdown => ArrayRef[Str|Undef]
73              
74             An array of custom recipe names to be run following a C<shutdown>
75             event.
76              
77              
78             =head2 Undeploy => ArrayRef[Str|Undef]
79              
80             An array of custom recipe names to be run following a C<undeploy>
81             event.
82              
83              
84              
85             =head1 SEE ALSO
86              
87             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
88              
89             =head1 BUGS and CONTRIBUTIONS
90              
91             The source code is located here: https://github.com/pplu/aws-sdk-perl
92              
93             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
94              
95             =cut
96