@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.73.0 → 2.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +68 -82
- package/README.md +46 -7
- package/lib/index.d.ts +7 -3
- package/lib/index.js +15 -10
- package/package.json +8 -9
- package/test/integ.sqspstp-existing-state-machine.d.ts +13 -0
- package/test/integ.sqspstp-existing-state-machine.js +31 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/cdk.out +1 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/integ.json +12 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/manifest.json +181 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.assets.json +19 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.template.json +510 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.assets.json +19 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.template.json +36 -0
- package/test/integ.sqspstp-existing-state-machine.js.snapshot/tree.json +767 -0
- package/test/lambda/index.js +13 -0
- package/test/sqs-pipes-stepfunctions.test.js +123 -1
|
@@ -0,0 +1,510 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Resources": {
|
|
3
|
+
"lambdas3stpteststatemachineServiceRole06C303CC": {
|
|
4
|
+
"Type": "AWS::IAM::Role",
|
|
5
|
+
"Properties": {
|
|
6
|
+
"AssumeRolePolicyDocument": {
|
|
7
|
+
"Statement": [
|
|
8
|
+
{
|
|
9
|
+
"Action": "sts:AssumeRole",
|
|
10
|
+
"Effect": "Allow",
|
|
11
|
+
"Principal": {
|
|
12
|
+
"Service": "lambda.amazonaws.com"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"Version": "2012-10-17"
|
|
17
|
+
},
|
|
18
|
+
"ManagedPolicyArns": [
|
|
19
|
+
{
|
|
20
|
+
"Fn::Join": [
|
|
21
|
+
"",
|
|
22
|
+
[
|
|
23
|
+
"arn:",
|
|
24
|
+
{
|
|
25
|
+
"Ref": "AWS::Partition"
|
|
26
|
+
},
|
|
27
|
+
":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
|
|
28
|
+
]
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"lambdas3stpteststatemachine14912CBC": {
|
|
35
|
+
"Type": "AWS::Lambda::Function",
|
|
36
|
+
"Properties": {
|
|
37
|
+
"Code": {
|
|
38
|
+
"ZipFile": "exports.handler = async (event) => console.log(event)"
|
|
39
|
+
},
|
|
40
|
+
"Handler": "index.handler",
|
|
41
|
+
"Role": {
|
|
42
|
+
"Fn::GetAtt": [
|
|
43
|
+
"lambdas3stpteststatemachineServiceRole06C303CC",
|
|
44
|
+
"Arn"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"Runtime": "nodejs20.x"
|
|
48
|
+
},
|
|
49
|
+
"DependsOn": [
|
|
50
|
+
"lambdas3stpteststatemachineServiceRole06C303CC"
|
|
51
|
+
],
|
|
52
|
+
"Metadata": {
|
|
53
|
+
"cfn_nag": {
|
|
54
|
+
"rules_to_suppress": [
|
|
55
|
+
{
|
|
56
|
+
"id": "W58",
|
|
57
|
+
"reason": "This Lambda Function is created for integration testing purposes only and is not part of an actual construct"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "W89",
|
|
61
|
+
"reason": "This Lambda Function is created for integration testing purposes only and is not part of an actual construct"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "W92",
|
|
65
|
+
"reason": "This Lambda Function is created for integration testing purposes only and is not part of an actual construct"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"s3stpteststatemachineRoleF95DAD26": {
|
|
72
|
+
"Type": "AWS::IAM::Role",
|
|
73
|
+
"Properties": {
|
|
74
|
+
"AssumeRolePolicyDocument": {
|
|
75
|
+
"Statement": [
|
|
76
|
+
{
|
|
77
|
+
"Action": "sts:AssumeRole",
|
|
78
|
+
"Effect": "Allow",
|
|
79
|
+
"Principal": {
|
|
80
|
+
"Service": "states.amazonaws.com"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"Version": "2012-10-17"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"s3stpteststatemachineRoleDefaultPolicy9B0BD12F": {
|
|
89
|
+
"Type": "AWS::IAM::Policy",
|
|
90
|
+
"Properties": {
|
|
91
|
+
"PolicyDocument": {
|
|
92
|
+
"Statement": [
|
|
93
|
+
{
|
|
94
|
+
"Action": "lambda:InvokeFunction",
|
|
95
|
+
"Effect": "Allow",
|
|
96
|
+
"Resource": [
|
|
97
|
+
{
|
|
98
|
+
"Fn::GetAtt": [
|
|
99
|
+
"lambdas3stpteststatemachine14912CBC",
|
|
100
|
+
"Arn"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"Fn::Join": [
|
|
105
|
+
"",
|
|
106
|
+
[
|
|
107
|
+
{
|
|
108
|
+
"Fn::GetAtt": [
|
|
109
|
+
"lambdas3stpteststatemachine14912CBC",
|
|
110
|
+
"Arn"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
":*"
|
|
114
|
+
]
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
"Version": "2012-10-17"
|
|
121
|
+
},
|
|
122
|
+
"PolicyName": "s3stpteststatemachineRoleDefaultPolicy9B0BD12F",
|
|
123
|
+
"Roles": [
|
|
124
|
+
{
|
|
125
|
+
"Ref": "s3stpteststatemachineRoleF95DAD26"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"s3stpteststatemachine6717B458": {
|
|
131
|
+
"Type": "AWS::StepFunctions::StateMachine",
|
|
132
|
+
"Properties": {
|
|
133
|
+
"DefinitionString": {
|
|
134
|
+
"Fn::Join": [
|
|
135
|
+
"",
|
|
136
|
+
[
|
|
137
|
+
"{\"StartAt\":\"tasks3stp-test-state-machine\",\"States\":{\"tasks3stp-test-state-machine\":{\"End\":true,\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
|
|
138
|
+
{
|
|
139
|
+
"Ref": "AWS::Partition"
|
|
140
|
+
},
|
|
141
|
+
":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
|
|
142
|
+
{
|
|
143
|
+
"Fn::GetAtt": [
|
|
144
|
+
"lambdas3stpteststatemachine14912CBC",
|
|
145
|
+
"Arn"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
"\",\"Payload.$\":\"$\"}}}}"
|
|
149
|
+
]
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
"RoleArn": {
|
|
153
|
+
"Fn::GetAtt": [
|
|
154
|
+
"s3stpteststatemachineRoleF95DAD26",
|
|
155
|
+
"Arn"
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"DependsOn": [
|
|
160
|
+
"s3stpteststatemachineRoleDefaultPolicy9B0BD12F",
|
|
161
|
+
"s3stpteststatemachineRoleF95DAD26"
|
|
162
|
+
],
|
|
163
|
+
"UpdateReplacePolicy": "Delete",
|
|
164
|
+
"DeletionPolicy": "Delete"
|
|
165
|
+
},
|
|
166
|
+
"testsqspipesstatesconstructqueuedlq420A82FD": {
|
|
167
|
+
"Type": "AWS::SQS::Queue",
|
|
168
|
+
"Properties": {
|
|
169
|
+
"KmsMasterKeyId": "alias/aws/sqs"
|
|
170
|
+
},
|
|
171
|
+
"UpdateReplacePolicy": "Delete",
|
|
172
|
+
"DeletionPolicy": "Delete"
|
|
173
|
+
},
|
|
174
|
+
"testsqspipesstatesconstructqueuedlqPolicyB1D70483": {
|
|
175
|
+
"Type": "AWS::SQS::QueuePolicy",
|
|
176
|
+
"Properties": {
|
|
177
|
+
"PolicyDocument": {
|
|
178
|
+
"Statement": [
|
|
179
|
+
{
|
|
180
|
+
"Action": [
|
|
181
|
+
"sqs:AddPermission",
|
|
182
|
+
"sqs:DeleteMessage",
|
|
183
|
+
"sqs:GetQueueAttributes",
|
|
184
|
+
"sqs:ReceiveMessage",
|
|
185
|
+
"sqs:RemovePermission",
|
|
186
|
+
"sqs:SendMessage",
|
|
187
|
+
"sqs:SetQueueAttributes"
|
|
188
|
+
],
|
|
189
|
+
"Effect": "Allow",
|
|
190
|
+
"Principal": {
|
|
191
|
+
"AWS": {
|
|
192
|
+
"Fn::Join": [
|
|
193
|
+
"",
|
|
194
|
+
[
|
|
195
|
+
"arn:",
|
|
196
|
+
{
|
|
197
|
+
"Ref": "AWS::Partition"
|
|
198
|
+
},
|
|
199
|
+
":iam::",
|
|
200
|
+
{
|
|
201
|
+
"Ref": "AWS::AccountId"
|
|
202
|
+
},
|
|
203
|
+
":root"
|
|
204
|
+
]
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"Resource": {
|
|
209
|
+
"Fn::GetAtt": [
|
|
210
|
+
"testsqspipesstatesconstructqueuedlq420A82FD",
|
|
211
|
+
"Arn"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
"Sid": "QueueOwnerOnlyAccess"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"Action": "SQS:*",
|
|
218
|
+
"Condition": {
|
|
219
|
+
"Bool": {
|
|
220
|
+
"aws:SecureTransport": "false"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"Effect": "Deny",
|
|
224
|
+
"Principal": {
|
|
225
|
+
"AWS": "*"
|
|
226
|
+
},
|
|
227
|
+
"Resource": {
|
|
228
|
+
"Fn::GetAtt": [
|
|
229
|
+
"testsqspipesstatesconstructqueuedlq420A82FD",
|
|
230
|
+
"Arn"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"Sid": "HttpsOnly"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"Version": "2012-10-17"
|
|
237
|
+
},
|
|
238
|
+
"Queues": [
|
|
239
|
+
{
|
|
240
|
+
"Ref": "testsqspipesstatesconstructqueuedlq420A82FD"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
"testsqspipesstatesconstructqueueA7C76715": {
|
|
246
|
+
"Type": "AWS::SQS::Queue",
|
|
247
|
+
"Properties": {
|
|
248
|
+
"KmsMasterKeyId": "alias/aws/sqs",
|
|
249
|
+
"RedrivePolicy": {
|
|
250
|
+
"deadLetterTargetArn": {
|
|
251
|
+
"Fn::GetAtt": [
|
|
252
|
+
"testsqspipesstatesconstructqueuedlq420A82FD",
|
|
253
|
+
"Arn"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"maxReceiveCount": 15
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"UpdateReplacePolicy": "Delete",
|
|
260
|
+
"DeletionPolicy": "Delete"
|
|
261
|
+
},
|
|
262
|
+
"testsqspipesstatesconstructqueuePolicyFD32B562": {
|
|
263
|
+
"Type": "AWS::SQS::QueuePolicy",
|
|
264
|
+
"Properties": {
|
|
265
|
+
"PolicyDocument": {
|
|
266
|
+
"Statement": [
|
|
267
|
+
{
|
|
268
|
+
"Action": [
|
|
269
|
+
"sqs:AddPermission",
|
|
270
|
+
"sqs:DeleteMessage",
|
|
271
|
+
"sqs:GetQueueAttributes",
|
|
272
|
+
"sqs:ReceiveMessage",
|
|
273
|
+
"sqs:RemovePermission",
|
|
274
|
+
"sqs:SendMessage",
|
|
275
|
+
"sqs:SetQueueAttributes"
|
|
276
|
+
],
|
|
277
|
+
"Effect": "Allow",
|
|
278
|
+
"Principal": {
|
|
279
|
+
"AWS": {
|
|
280
|
+
"Fn::Join": [
|
|
281
|
+
"",
|
|
282
|
+
[
|
|
283
|
+
"arn:",
|
|
284
|
+
{
|
|
285
|
+
"Ref": "AWS::Partition"
|
|
286
|
+
},
|
|
287
|
+
":iam::",
|
|
288
|
+
{
|
|
289
|
+
"Ref": "AWS::AccountId"
|
|
290
|
+
},
|
|
291
|
+
":root"
|
|
292
|
+
]
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"Resource": {
|
|
297
|
+
"Fn::GetAtt": [
|
|
298
|
+
"testsqspipesstatesconstructqueueA7C76715",
|
|
299
|
+
"Arn"
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
"Sid": "QueueOwnerOnlyAccess"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"Action": "SQS:*",
|
|
306
|
+
"Condition": {
|
|
307
|
+
"Bool": {
|
|
308
|
+
"aws:SecureTransport": "false"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"Effect": "Deny",
|
|
312
|
+
"Principal": {
|
|
313
|
+
"AWS": "*"
|
|
314
|
+
},
|
|
315
|
+
"Resource": {
|
|
316
|
+
"Fn::GetAtt": [
|
|
317
|
+
"testsqspipesstatesconstructqueueA7C76715",
|
|
318
|
+
"Arn"
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"Sid": "HttpsOnly"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"Version": "2012-10-17"
|
|
325
|
+
},
|
|
326
|
+
"Queues": [
|
|
327
|
+
{
|
|
328
|
+
"Ref": "testsqspipesstatesconstructqueueA7C76715"
|
|
329
|
+
}
|
|
330
|
+
]
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
"testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C": {
|
|
334
|
+
"Type": "AWS::IAM::Role",
|
|
335
|
+
"Properties": {
|
|
336
|
+
"AssumeRolePolicyDocument": {
|
|
337
|
+
"Statement": [
|
|
338
|
+
{
|
|
339
|
+
"Action": "sts:AssumeRole",
|
|
340
|
+
"Effect": "Allow",
|
|
341
|
+
"Principal": {
|
|
342
|
+
"Service": "pipes.amazonaws.com"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
"Version": "2012-10-17"
|
|
347
|
+
},
|
|
348
|
+
"Policies": [
|
|
349
|
+
{
|
|
350
|
+
"PolicyDocument": {
|
|
351
|
+
"Statement": [
|
|
352
|
+
{
|
|
353
|
+
"Action": [
|
|
354
|
+
"sqs:DeleteMessage",
|
|
355
|
+
"sqs:GetQueueAttributes",
|
|
356
|
+
"sqs:ReceiveMessage"
|
|
357
|
+
],
|
|
358
|
+
"Effect": "Allow",
|
|
359
|
+
"Resource": {
|
|
360
|
+
"Fn::GetAtt": [
|
|
361
|
+
"testsqspipesstatesconstructqueueA7C76715",
|
|
362
|
+
"Arn"
|
|
363
|
+
]
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
],
|
|
367
|
+
"Version": "2012-10-17"
|
|
368
|
+
},
|
|
369
|
+
"PolicyName": "sourcePolicy"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"PolicyDocument": {
|
|
373
|
+
"Statement": [
|
|
374
|
+
{
|
|
375
|
+
"Action": "states:StartExecution",
|
|
376
|
+
"Effect": "Allow",
|
|
377
|
+
"Resource": {
|
|
378
|
+
"Ref": "s3stpteststatemachine6717B458"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
"Version": "2012-10-17"
|
|
383
|
+
},
|
|
384
|
+
"PolicyName": "targetPolicy"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
"Metadata": {
|
|
389
|
+
"guard": {
|
|
390
|
+
"SuppressedRules": [
|
|
391
|
+
"IAM_NO_INLINE_POLICY_CHECK"
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"testsqspipesstatesconstructLogGrouptestsqspipesstatesconstructF827FE15": {
|
|
397
|
+
"Type": "AWS::Logs::LogGroup",
|
|
398
|
+
"Properties": {
|
|
399
|
+
"LogGroupName": {
|
|
400
|
+
"Fn::Join": [
|
|
401
|
+
"",
|
|
402
|
+
[
|
|
403
|
+
"/aws/vendedlogs/pipes/constructs/sqspstp-existing-state-machinetest-sqs-pipes-states-constructPipesLog-",
|
|
404
|
+
{
|
|
405
|
+
"Fn::Select": [
|
|
406
|
+
2,
|
|
407
|
+
{
|
|
408
|
+
"Fn::Split": [
|
|
409
|
+
"/",
|
|
410
|
+
{
|
|
411
|
+
"Ref": "AWS::StackId"
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
}
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
]
|
|
418
|
+
]
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"UpdateReplacePolicy": "Retain",
|
|
422
|
+
"DeletionPolicy": "Retain",
|
|
423
|
+
"Metadata": {
|
|
424
|
+
"cfn_nag": {
|
|
425
|
+
"rules_to_suppress": [
|
|
426
|
+
{
|
|
427
|
+
"id": "W86",
|
|
428
|
+
"reason": "Retention period for CloudWatchLogs LogGroups are set to 'Never Expire' to preserve customer data indefinitely"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"id": "W84",
|
|
432
|
+
"reason": "By default CloudWatchLogs LogGroups data is encrypted using the CloudWatch server-side encryption keys (AWS Managed Keys)"
|
|
433
|
+
}
|
|
434
|
+
]
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"testsqspipesstatesconstructpipetestsqspipesstatesconstruct71A64A15": {
|
|
439
|
+
"Type": "AWS::Pipes::Pipe",
|
|
440
|
+
"Properties": {
|
|
441
|
+
"LogConfiguration": {
|
|
442
|
+
"CloudwatchLogsLogDestination": {
|
|
443
|
+
"LogGroupArn": {
|
|
444
|
+
"Fn::GetAtt": [
|
|
445
|
+
"testsqspipesstatesconstructLogGrouptestsqspipesstatesconstructF827FE15",
|
|
446
|
+
"Arn"
|
|
447
|
+
]
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"Level": "INFO"
|
|
451
|
+
},
|
|
452
|
+
"RoleArn": {
|
|
453
|
+
"Fn::GetAtt": [
|
|
454
|
+
"testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C",
|
|
455
|
+
"Arn"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
458
|
+
"Source": {
|
|
459
|
+
"Fn::GetAtt": [
|
|
460
|
+
"testsqspipesstatesconstructqueueA7C76715",
|
|
461
|
+
"Arn"
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
"SourceParameters": {},
|
|
465
|
+
"Target": {
|
|
466
|
+
"Ref": "s3stpteststatemachine6717B458"
|
|
467
|
+
},
|
|
468
|
+
"TargetParameters": {
|
|
469
|
+
"StepFunctionStateMachineParameters": {
|
|
470
|
+
"InvocationType": "FIRE_AND_FORGET"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"Parameters": {
|
|
477
|
+
"BootstrapVersion": {
|
|
478
|
+
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
479
|
+
"Default": "/cdk-bootstrap/hnb659fds/version",
|
|
480
|
+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
"Rules": {
|
|
484
|
+
"CheckBootstrapVersion": {
|
|
485
|
+
"Assertions": [
|
|
486
|
+
{
|
|
487
|
+
"Assert": {
|
|
488
|
+
"Fn::Not": [
|
|
489
|
+
{
|
|
490
|
+
"Fn::Contains": [
|
|
491
|
+
[
|
|
492
|
+
"1",
|
|
493
|
+
"2",
|
|
494
|
+
"3",
|
|
495
|
+
"4",
|
|
496
|
+
"5"
|
|
497
|
+
],
|
|
498
|
+
{
|
|
499
|
+
"Ref": "BootstrapVersion"
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
},
|
|
505
|
+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "38.0.1",
|
|
3
|
+
"files": {
|
|
4
|
+
"21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22": {
|
|
5
|
+
"source": {
|
|
6
|
+
"path": "sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.template.json",
|
|
7
|
+
"packaging": "file"
|
|
8
|
+
},
|
|
9
|
+
"destinations": {
|
|
10
|
+
"current_account-current_region": {
|
|
11
|
+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
|
|
12
|
+
"objectKey": "21fbb51d7b23f6a6c262b46a9caee79d744a3ac019fd45422d988b96d44b2a22.json",
|
|
13
|
+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"dockerImages": {}
|
|
19
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Parameters": {
|
|
3
|
+
"BootstrapVersion": {
|
|
4
|
+
"Type": "AWS::SSM::Parameter::Value<String>",
|
|
5
|
+
"Default": "/cdk-bootstrap/hnb659fds/version",
|
|
6
|
+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"Rules": {
|
|
10
|
+
"CheckBootstrapVersion": {
|
|
11
|
+
"Assertions": [
|
|
12
|
+
{
|
|
13
|
+
"Assert": {
|
|
14
|
+
"Fn::Not": [
|
|
15
|
+
{
|
|
16
|
+
"Fn::Contains": [
|
|
17
|
+
[
|
|
18
|
+
"1",
|
|
19
|
+
"2",
|
|
20
|
+
"3",
|
|
21
|
+
"4",
|
|
22
|
+
"5"
|
|
23
|
+
],
|
|
24
|
+
{
|
|
25
|
+
"Ref": "BootstrapVersion"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|