File Coverage

blib/lib/Paws/CloudFormation/Stack.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudFormation::Stack;
2 1     1   538 use Moose;
  1     1   3  
  1         7  
  1         611  
  1         2  
  1         7  
3             has Capabilities => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
4             has ChangeSetId => (is => 'ro', isa => 'Str');
5             has CreationTime => (is => 'ro', isa => 'Str', required => 1);
6             has Description => (is => 'ro', isa => 'Str');
7             has DisableRollback => (is => 'ro', isa => 'Bool');
8             has LastUpdatedTime => (is => 'ro', isa => 'Str');
9             has NotificationARNs => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10             has Outputs => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Output]');
11             has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Parameter]');
12             has RoleARN => (is => 'ro', isa => 'Str');
13             has StackId => (is => 'ro', isa => 'Str');
14             has StackName => (is => 'ro', isa => 'Str', required => 1);
15             has StackStatus => (is => 'ro', isa => 'Str', required => 1);
16             has StackStatusReason => (is => 'ro', isa => 'Str');
17             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Tag]');
18             has TimeoutInMinutes => (is => 'ro', isa => 'Int');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::CloudFormation::Stack
26              
27             =head1 USAGE
28              
29             This class represents one of two things:
30              
31             =head3 Arguments in a call to a service
32              
33             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34             Each attribute should be used as a named argument in the calls that expect this type of object.
35              
36             As an example, if Att1 is expected to be a Paws::CloudFormation::Stack object:
37              
38             $service_obj->Method(Att1 => { Capabilities => $value, ..., TimeoutInMinutes => $value });
39              
40             =head3 Results returned from an API call
41              
42             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFormation::Stack object:
43              
44             $result = $service_obj->Method(...);
45             $result->Att1->Capabilities
46              
47             =head1 DESCRIPTION
48              
49             The Stack data type.
50              
51             =head1 ATTRIBUTES
52              
53              
54             =head2 Capabilities => ArrayRef[Str|Undef]
55              
56             The capabilities allowed in the stack.
57              
58              
59             =head2 ChangeSetId => Str
60              
61             The unique ID of the change set.
62              
63              
64             =head2 B<REQUIRED> CreationTime => Str
65              
66             The time at which the stack was created.
67              
68              
69             =head2 Description => Str
70              
71             A user-defined description associated with the stack.
72              
73              
74             =head2 DisableRollback => Bool
75              
76             Boolean to enable or disable rollback on stack creation failures:
77              
78             =over
79              
80             =item *
81              
82             C<true>: disable rollback
83              
84             =item *
85              
86             C<false>: enable rollback
87              
88             =back
89              
90              
91              
92             =head2 LastUpdatedTime => Str
93              
94             The time the stack was last updated. This field will only be returned
95             if the stack has been updated at least once.
96              
97              
98             =head2 NotificationARNs => ArrayRef[Str|Undef]
99              
100             SNS topic ARNs to which stack related events are published.
101              
102              
103             =head2 Outputs => ArrayRef[L<Paws::CloudFormation::Output>]
104              
105             A list of output structures.
106              
107              
108             =head2 Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>]
109              
110             A list of C<Parameter> structures.
111              
112              
113             =head2 RoleARN => Str
114              
115             The Amazon Resource Name (ARN) of an AWS Identity and Access Management
116             (IAM) role that is associated with the stack. During a stack operation,
117             AWS CloudFormation uses this role's credentials to make calls on your
118             behalf.
119              
120              
121             =head2 StackId => Str
122              
123             Unique identifier of the stack.
124              
125              
126             =head2 B<REQUIRED> StackName => Str
127              
128             The name associated with the stack.
129              
130              
131             =head2 B<REQUIRED> StackStatus => Str
132              
133             Current status of the stack.
134              
135              
136             =head2 StackStatusReason => Str
137              
138             Success/failure message associated with the stack status.
139              
140              
141             =head2 Tags => ArrayRef[L<Paws::CloudFormation::Tag>]
142              
143             A list of C<Tag>s that specify information about the stack.
144              
145              
146             =head2 TimeoutInMinutes => Int
147              
148             The amount of time within which stack creation should complete.
149              
150              
151              
152             =head1 SEE ALSO
153              
154             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFormation>
155              
156             =head1 BUGS and CONTRIBUTIONS
157              
158             The source code is located here: https://github.com/pplu/aws-sdk-perl
159              
160             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
161              
162             =cut
163