blib/lib/Paws/CloudFormation/RollbackConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudFormation::RollbackConfiguration;
3 use Moose;
4 has MonitoringTimeInMinutes => (is => 'ro', isa => 'Int');
5 has RollbackTriggers => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::RollbackTrigger]');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CloudFormation::RollbackConfiguration
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::CloudFormation::RollbackConfiguration object:
25  
26 $service_obj->Method(Att1 => { MonitoringTimeInMinutes => $value, ..., RollbackTriggers => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFormation::RollbackConfiguration object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->MonitoringTimeInMinutes
34  
35 =head1 DESCRIPTION
36  
37 Structure containing the rollback triggers for AWS CloudFormation to
38 monitor during stack creation and updating operations, and for the
39 specified monitoring period afterwards.
40  
41 Rollback triggers enable you to have AWS CloudFormation monitor the
42 state of your application during stack creation and updating, and to
43 roll back that operation if the application breaches the threshold of
44 any of the alarms you've specified. For more information, see Monitor
45 and Roll Back Stack Operations
46 (http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-rollback-triggers.html).
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 MonitoringTimeInMinutes => Int
52  
53 The amount of time, in minutes, during which CloudFormation should
54 monitor all the rollback triggers after the stack creation or update
55 operation deploys all necessary resources.
56  
57 The default is 0 minutes.
58  
59 If you specify a monitoring period but do not specify any rollback
60 triggers, CloudFormation still waits the specified period of time
61 before cleaning up old resources after update operations. You can use
62 this monitoring period to perform any manual stack validation desired,
63 and manually cancel the stack creation or update (using
64 CancelUpdateStack
65 (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html),
66 for example) as necessary.
67  
68 If you specify 0 for this parameter, CloudFormation still monitors the
69 specified rollback triggers during stack creation and update
70 operations. Then, for update operations, it begins disposing of old
71 resources immediately once the operation completes.
72  
73  
74 =head2 RollbackTriggers => ArrayRef[L<Paws::CloudFormation::RollbackTrigger>]
75  
76 The triggers to monitor during stack creation or update actions.
77  
78 By default, AWS CloudFormation saves the rollback triggers specified
79 for a stack and applies them to any subsequent update operations for
80 the stack, unless you specify otherwise. If you do specify rollback
81 triggers for this parameter, those triggers replace any list of
82 triggers previously specified for the stack. This means:
83  
84 =over
85  
86 =item *
87  
88 To use the rollback triggers previously specified for this stack, if
89 any, don't specify this parameter.
90  
91 =item *
92  
93 To specify new or updated rollback triggers, you must specify I<all>
94 the triggers that you want used for this stack, even triggers you've
95 specifed before (for example, when creating the stack or during a
96 previous stack update). Any triggers that you don't include in the
97 updated list of triggers are no longer applied to the stack.
98  
99 =item *
100  
101 To remove all currently specified triggers, specify an empty list for
102 this parameter.
103  
104 =back
105  
106 If a specified trigger is missing, the entire stack operation fails and
107 is rolled back.
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFormation>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122