line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::CloudFormation::UpdateStackSet; |
3
|
1
|
|
|
1
|
|
392
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
4
|
|
|
|
|
|
|
has Capabilities => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); |
5
|
|
|
|
|
|
|
has Description => (is => 'ro', isa => 'Str'); |
6
|
|
|
|
|
|
|
has OperationId => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has OperationPreferences => (is => 'ro', isa => 'Paws::CloudFormation::StackSetOperationPreferences'); |
8
|
|
|
|
|
|
|
has Parameters => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Parameter]'); |
9
|
|
|
|
|
|
|
has StackSetName => (is => 'ro', isa => 'Str', required => 1); |
10
|
|
|
|
|
|
|
has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CloudFormation::Tag]'); |
11
|
|
|
|
|
|
|
has TemplateBody => (is => 'ro', isa => 'Str'); |
12
|
|
|
|
|
|
|
has TemplateURL => (is => 'ro', isa => 'Str'); |
13
|
|
|
|
|
|
|
has UsePreviousTemplate => (is => 'ro', isa => 'Bool'); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
5848
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateStackSet'); |
18
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFormation::UpdateStackSetOutput'); |
19
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro', default => 'UpdateStackSetResult'); |
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
### main pod documentation begin ### |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Paws::CloudFormation::UpdateStackSet - Arguments for method UpdateStackSet on Paws::CloudFormation |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 DESCRIPTION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UpdateStackSet on the |
31
|
|
|
|
|
|
|
AWS CloudFormation service. Use the attributes of this class |
32
|
|
|
|
|
|
|
as arguments to method UpdateStackSet. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateStackSet. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
As an example: |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
$service_obj->UpdateStackSet(Att1 => $value1, Att2 => $value2, ...); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
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. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 Capabilities => ArrayRef[Str|Undef] |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
A list of values that you must specify before AWS CloudFormation can |
48
|
|
|
|
|
|
|
create certain stack sets. Some stack set templates might include |
49
|
|
|
|
|
|
|
resources that can affect permissions in your AWS accountE<mdash>for |
50
|
|
|
|
|
|
|
example, by creating new AWS Identity and Access Management (IAM) |
51
|
|
|
|
|
|
|
users. For those stack sets, you must explicitly acknowledge their |
52
|
|
|
|
|
|
|
capabilities by specifying this parameter. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The only valid values are CAPABILITY_IAM and CAPABILITY_NAMED_IAM. The |
55
|
|
|
|
|
|
|
following resources require you to specify this parameter: |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=over |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item * |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
AWS::IAM::AccessKey |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
AWS::IAM::Group |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
AWS::IAM::InstanceProfile |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
AWS::IAM::Policy |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=item * |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
AWS::IAM::Role |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=item * |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
AWS::IAM::User |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=item * |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
AWS::IAM::UserToGroupAddition |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=back |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
If your stack template contains these resources, we recommend that you |
90
|
|
|
|
|
|
|
review all permissions that are associated with them and edit their |
91
|
|
|
|
|
|
|
permissions if necessary. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
If you have IAM resources, you can specify either capability. If you |
94
|
|
|
|
|
|
|
have IAM resources with custom names, you must specify |
95
|
|
|
|
|
|
|
CAPABILITY_NAMED_IAM. If you don't specify this parameter, this action |
96
|
|
|
|
|
|
|
returns an C<InsufficientCapabilities> error. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
For more information, see Acknowledging IAM Resources in AWS |
99
|
|
|
|
|
|
|
CloudFormation Templates. |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 Description => Str |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
A brief description of updates that you are making. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head2 OperationId => Str |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
The unique ID for this stack set operation. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
The operation ID also functions as an idempotency token, to ensure that |
114
|
|
|
|
|
|
|
AWS CloudFormation performs the stack set operation only once, even if |
115
|
|
|
|
|
|
|
you retry the request multiple times. You might retry stack set |
116
|
|
|
|
|
|
|
operation requests to ensure that AWS CloudFormation successfully |
117
|
|
|
|
|
|
|
received them. |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
If you don't specify an operation ID, AWS CloudFormation generates one |
120
|
|
|
|
|
|
|
automatically. |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
Repeating this stack set operation with a new operation ID retries all |
123
|
|
|
|
|
|
|
stack instances whose status is C<OUTDATED>. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
=head2 OperationPreferences => L<Paws::CloudFormation::StackSetOperationPreferences> |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
Preferences for how AWS CloudFormation performs this stack set |
130
|
|
|
|
|
|
|
operation. |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
=head2 Parameters => ArrayRef[L<Paws::CloudFormation::Parameter>] |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
A list of input parameters for the stack set template. |
137
|
|
|
|
|
|
|
|
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 B<REQUIRED> StackSetName => Str |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The name or unique ID of the stack set that you want to update. |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head2 Tags => ArrayRef[L<Paws::CloudFormation::Tag>] |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
The key-value pairs to associate with this stack set and the stacks |
149
|
|
|
|
|
|
|
created from it. AWS CloudFormation also propagates these tags to |
150
|
|
|
|
|
|
|
supported resources that are created in the stacks. You can specify a |
151
|
|
|
|
|
|
|
maximum number of 50 tags. |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
If you specify tags for this parameter, those tags replace any list of |
154
|
|
|
|
|
|
|
tags that are currently associated with this stack set. This means: |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=over |
157
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=item * |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
If you don't specify this parameter, AWS CloudFormation doesn't modify |
161
|
|
|
|
|
|
|
the stack's tags. |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
=item * |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
If you specify I<any> tags using this parameter, you must specify |
166
|
|
|
|
|
|
|
I<all> the tags that you want associated with this stack set, even tags |
167
|
|
|
|
|
|
|
you've specifed before (for example, when creating the stack set or |
168
|
|
|
|
|
|
|
during a previous update of the stack set.). Any tags that you don't |
169
|
|
|
|
|
|
|
include in the updated list of tags are removed from the stack set, and |
170
|
|
|
|
|
|
|
therefore from the stacks and resources as well. |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=item * |
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
If you specify an empty value, AWS CloudFormation removes all currently |
175
|
|
|
|
|
|
|
associated tags. |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
=back |
178
|
|
|
|
|
|
|
|
179
|
|
|
|
|
|
|
If you specify new tags as part of an C<UpdateStackSet> action, AWS |
180
|
|
|
|
|
|
|
CloudFormation checks to see if you have the required IAM permission to |
181
|
|
|
|
|
|
|
tag resources. If you omit tags that are currently associated with the |
182
|
|
|
|
|
|
|
stack set from the list of tags you specify, AWS CloudFormation assumes |
183
|
|
|
|
|
|
|
that you want to remove those tags from the stack set, and checks to |
184
|
|
|
|
|
|
|
see if you have permission to untag resources. If you don't have the |
185
|
|
|
|
|
|
|
necessary permission(s), the entire C<UpdateStackSet> action fails with |
186
|
|
|
|
|
|
|
an C<access denied> error, and the stack set is not updated. |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=head2 TemplateBody => Str |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
The structure that contains the template body, with a minimum length of |
193
|
|
|
|
|
|
|
1 byte and a maximum length of 51,200 bytes. For more information, see |
194
|
|
|
|
|
|
|
Template Anatomy in the AWS CloudFormation User Guide. |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
Conditional: You must specify only one of the following parameters: |
197
|
|
|
|
|
|
|
C<TemplateBody> or C<TemplateURL>E<mdash>or set C<UsePreviousTemplate> |
198
|
|
|
|
|
|
|
to true. |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=head2 TemplateURL => Str |
203
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
The location of the file that contains the template body. The URL must |
205
|
|
|
|
|
|
|
point to a template (maximum size: 460,800 bytes) that is located in an |
206
|
|
|
|
|
|
|
Amazon S3 bucket. For more information, see Template Anatomy in the AWS |
207
|
|
|
|
|
|
|
CloudFormation User Guide. |
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
Conditional: You must specify only one of the following parameters: |
210
|
|
|
|
|
|
|
C<TemplateBody> or C<TemplateURL>E<mdash>or set C<UsePreviousTemplate> |
211
|
|
|
|
|
|
|
to true. |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
|
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
=head2 UsePreviousTemplate => Bool |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
Use the existing template that's associated with the stack set that |
218
|
|
|
|
|
|
|
you're updating. |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
Conditional: You must specify only one of the following parameters: |
221
|
|
|
|
|
|
|
C<TemplateBody> or C<TemplateURL>E<mdash>or set C<UsePreviousTemplate> |
222
|
|
|
|
|
|
|
to true. |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
|
225
|
|
|
|
|
|
|
|
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
=head1 SEE ALSO |
228
|
|
|
|
|
|
|
|
229
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UpdateStackSet in L<Paws::CloudFormation> |
230
|
|
|
|
|
|
|
|
231
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
=cut |
238
|
|
|
|
|
|
|
|