@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.95.1 → 2.96.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.
Files changed (68) hide show
  1. package/.jsii +4 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +5 -5
  4. package/test/integ.sqspstp-custom-log-level.js.snapshot/cdk.out +1 -1
  5. package/test/integ.sqspstp-custom-log-level.js.snapshot/integ.json +3 -2
  6. package/test/integ.sqspstp-custom-log-level.js.snapshot/manifest.json +766 -5
  7. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.assets.json +5 -4
  8. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.template.json +1 -1
  9. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.assets.json +3 -2
  10. package/test/integ.sqspstp-custom-log-level.js.snapshot/tree.json +1 -957
  11. package/test/integ.sqspstp-existing-queue.js.snapshot/cdk.out +1 -1
  12. package/test/integ.sqspstp-existing-queue.js.snapshot/integ.json +3 -2
  13. package/test/integ.sqspstp-existing-queue.js.snapshot/manifest.json +766 -5
  14. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.assets.json +5 -4
  15. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.template.json +1 -1
  16. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.assets.json +3 -2
  17. package/test/integ.sqspstp-existing-queue.js.snapshot/tree.json +1 -957
  18. package/test/integ.sqspstp-existing-state-machine.js.snapshot/cdk.out +1 -1
  19. package/test/integ.sqspstp-existing-state-machine.js.snapshot/integ.json +3 -2
  20. package/test/integ.sqspstp-existing-state-machine.js.snapshot/manifest.json +684 -5
  21. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.assets.json +5 -4
  22. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstp-existing-state-machine.template.json +1 -1
  23. package/test/integ.sqspstp-existing-state-machine.js.snapshot/sqspstpexistingstatemachineIntegDefaultTestDeployAssertE03331F3.assets.json +3 -2
  24. package/test/integ.sqspstp-existing-state-machine.js.snapshot/tree.json +1 -767
  25. package/test/integ.sqspstp-filter.js.snapshot/cdk.out +1 -1
  26. package/test/integ.sqspstp-filter.js.snapshot/integ.json +3 -2
  27. package/test/integ.sqspstp-filter.js.snapshot/manifest.json +766 -5
  28. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.assets.json +5 -4
  29. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.template.json +1 -1
  30. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.assets.json +3 -2
  31. package/test/integ.sqspstp-filter.js.snapshot/tree.json +1 -965
  32. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/asset.947efcc93dea6b762c3fca8bf09476c9d8fd2490afbd3e08e668328245340cb8/index.js +22 -0
  33. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/cdk.out +1 -1
  34. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/integ.json +3 -2
  35. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/manifest.json +846 -5
  36. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.assets.json +10 -8
  37. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.template.json +3 -3
  38. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json +3 -2
  39. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/tree.json +1 -1127
  40. package/test/integ.sqspstp-logs-off.js.snapshot/cdk.out +1 -1
  41. package/test/integ.sqspstp-logs-off.js.snapshot/integ.json +3 -2
  42. package/test/integ.sqspstp-logs-off.js.snapshot/manifest.json +757 -5
  43. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.assets.json +5 -4
  44. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.template.json +1 -1
  45. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.assets.json +3 -2
  46. package/test/integ.sqspstp-logs-off.js.snapshot/tree.json +1 -902
  47. package/test/integ.sqspstp-no-arguments.js.snapshot/cdk.out +1 -1
  48. package/test/integ.sqspstp-no-arguments.js.snapshot/integ.json +3 -2
  49. package/test/integ.sqspstp-no-arguments.js.snapshot/manifest.json +766 -5
  50. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.assets.json +5 -4
  51. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.template.json +1 -1
  52. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.assets.json +3 -2
  53. package/test/integ.sqspstp-no-arguments.js.snapshot/tree.json +1 -957
  54. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/cdk.out +1 -1
  55. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/integ.json +3 -2
  56. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/manifest.json +766 -5
  57. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.assets.json +5 -4
  58. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.template.json +1 -1
  59. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.assets.json +3 -2
  60. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/tree.json +1 -961
  61. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/cdk.out +1 -1
  62. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/integ.json +3 -2
  63. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/manifest.json +934 -5
  64. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.assets.json +5 -4
  65. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.template.json +2 -2
  66. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.assets.json +3 -2
  67. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/tree.json +1 -1252
  68. package/test/sqs-pipes-stepfunctions.test.js +2 -2
@@ -1,957 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "sqspstp-existing-queue": {
8
- "id": "sqspstp-existing-queue",
9
- "path": "sqspstp-existing-queue",
10
- "children": {
11
- "existing-queue-dlq": {
12
- "id": "existing-queue-dlq",
13
- "path": "sqspstp-existing-queue/existing-queue-dlq",
14
- "children": {
15
- "Resource": {
16
- "id": "Resource",
17
- "path": "sqspstp-existing-queue/existing-queue-dlq/Resource",
18
- "attributes": {
19
- "aws:cdk:cloudformation:type": "AWS::SQS::Queue",
20
- "aws:cdk:cloudformation:props": {
21
- "kmsMasterKeyId": "alias/aws/sqs"
22
- }
23
- },
24
- "constructInfo": {
25
- "fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
26
- "version": "2.161.0"
27
- }
28
- },
29
- "Policy": {
30
- "id": "Policy",
31
- "path": "sqspstp-existing-queue/existing-queue-dlq/Policy",
32
- "children": {
33
- "Resource": {
34
- "id": "Resource",
35
- "path": "sqspstp-existing-queue/existing-queue-dlq/Policy/Resource",
36
- "attributes": {
37
- "aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
38
- "aws:cdk:cloudformation:props": {
39
- "policyDocument": {
40
- "Statement": [
41
- {
42
- "Action": [
43
- "sqs:AddPermission",
44
- "sqs:DeleteMessage",
45
- "sqs:GetQueueAttributes",
46
- "sqs:ReceiveMessage",
47
- "sqs:RemovePermission",
48
- "sqs:SendMessage",
49
- "sqs:SetQueueAttributes"
50
- ],
51
- "Effect": "Allow",
52
- "Principal": {
53
- "AWS": {
54
- "Fn::Join": [
55
- "",
56
- [
57
- "arn:",
58
- {
59
- "Ref": "AWS::Partition"
60
- },
61
- ":iam::",
62
- {
63
- "Ref": "AWS::AccountId"
64
- },
65
- ":root"
66
- ]
67
- ]
68
- }
69
- },
70
- "Resource": {
71
- "Fn::GetAtt": [
72
- "existingqueuedlq98283DB9",
73
- "Arn"
74
- ]
75
- },
76
- "Sid": "QueueOwnerOnlyAccess"
77
- },
78
- {
79
- "Action": "SQS:*",
80
- "Condition": {
81
- "Bool": {
82
- "aws:SecureTransport": "false"
83
- }
84
- },
85
- "Effect": "Deny",
86
- "Principal": {
87
- "AWS": "*"
88
- },
89
- "Resource": {
90
- "Fn::GetAtt": [
91
- "existingqueuedlq98283DB9",
92
- "Arn"
93
- ]
94
- },
95
- "Sid": "HttpsOnly"
96
- }
97
- ],
98
- "Version": "2012-10-17"
99
- },
100
- "queues": [
101
- {
102
- "Ref": "existingqueuedlq98283DB9"
103
- }
104
- ]
105
- }
106
- },
107
- "constructInfo": {
108
- "fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
109
- "version": "2.161.0"
110
- }
111
- }
112
- },
113
- "constructInfo": {
114
- "fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
115
- "version": "2.161.0"
116
- }
117
- }
118
- },
119
- "constructInfo": {
120
- "fqn": "aws-cdk-lib.aws_sqs.Queue",
121
- "version": "2.161.0"
122
- }
123
- },
124
- "existing-queue": {
125
- "id": "existing-queue",
126
- "path": "sqspstp-existing-queue/existing-queue",
127
- "children": {
128
- "Resource": {
129
- "id": "Resource",
130
- "path": "sqspstp-existing-queue/existing-queue/Resource",
131
- "attributes": {
132
- "aws:cdk:cloudformation:type": "AWS::SQS::Queue",
133
- "aws:cdk:cloudformation:props": {
134
- "kmsMasterKeyId": "alias/aws/sqs",
135
- "redrivePolicy": {
136
- "deadLetterTargetArn": {
137
- "Fn::GetAtt": [
138
- "existingqueuedlq98283DB9",
139
- "Arn"
140
- ]
141
- },
142
- "maxReceiveCount": 15
143
- }
144
- }
145
- },
146
- "constructInfo": {
147
- "fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
148
- "version": "2.161.0"
149
- }
150
- },
151
- "Policy": {
152
- "id": "Policy",
153
- "path": "sqspstp-existing-queue/existing-queue/Policy",
154
- "children": {
155
- "Resource": {
156
- "id": "Resource",
157
- "path": "sqspstp-existing-queue/existing-queue/Policy/Resource",
158
- "attributes": {
159
- "aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
160
- "aws:cdk:cloudformation:props": {
161
- "policyDocument": {
162
- "Statement": [
163
- {
164
- "Action": [
165
- "sqs:AddPermission",
166
- "sqs:DeleteMessage",
167
- "sqs:GetQueueAttributes",
168
- "sqs:ReceiveMessage",
169
- "sqs:RemovePermission",
170
- "sqs:SendMessage",
171
- "sqs:SetQueueAttributes"
172
- ],
173
- "Effect": "Allow",
174
- "Principal": {
175
- "AWS": {
176
- "Fn::Join": [
177
- "",
178
- [
179
- "arn:",
180
- {
181
- "Ref": "AWS::Partition"
182
- },
183
- ":iam::",
184
- {
185
- "Ref": "AWS::AccountId"
186
- },
187
- ":root"
188
- ]
189
- ]
190
- }
191
- },
192
- "Resource": {
193
- "Fn::GetAtt": [
194
- "existingqueue03D57A53",
195
- "Arn"
196
- ]
197
- },
198
- "Sid": "QueueOwnerOnlyAccess"
199
- },
200
- {
201
- "Action": "SQS:*",
202
- "Condition": {
203
- "Bool": {
204
- "aws:SecureTransport": "false"
205
- }
206
- },
207
- "Effect": "Deny",
208
- "Principal": {
209
- "AWS": "*"
210
- },
211
- "Resource": {
212
- "Fn::GetAtt": [
213
- "existingqueue03D57A53",
214
- "Arn"
215
- ]
216
- },
217
- "Sid": "HttpsOnly"
218
- }
219
- ],
220
- "Version": "2012-10-17"
221
- },
222
- "queues": [
223
- {
224
- "Ref": "existingqueue03D57A53"
225
- }
226
- ]
227
- }
228
- },
229
- "constructInfo": {
230
- "fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
231
- "version": "2.161.0"
232
- }
233
- }
234
- },
235
- "constructInfo": {
236
- "fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
237
- "version": "2.161.0"
238
- }
239
- }
240
- },
241
- "constructInfo": {
242
- "fqn": "aws-cdk-lib.aws_sqs.Queue",
243
- "version": "2.161.0"
244
- }
245
- },
246
- "lambdas3stp-test": {
247
- "id": "lambdas3stp-test",
248
- "path": "sqspstp-existing-queue/lambdas3stp-test",
249
- "children": {
250
- "ServiceRole": {
251
- "id": "ServiceRole",
252
- "path": "sqspstp-existing-queue/lambdas3stp-test/ServiceRole",
253
- "children": {
254
- "ImportServiceRole": {
255
- "id": "ImportServiceRole",
256
- "path": "sqspstp-existing-queue/lambdas3stp-test/ServiceRole/ImportServiceRole",
257
- "constructInfo": {
258
- "fqn": "aws-cdk-lib.Resource",
259
- "version": "2.161.0"
260
- }
261
- },
262
- "Resource": {
263
- "id": "Resource",
264
- "path": "sqspstp-existing-queue/lambdas3stp-test/ServiceRole/Resource",
265
- "attributes": {
266
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
267
- "aws:cdk:cloudformation:props": {
268
- "assumeRolePolicyDocument": {
269
- "Statement": [
270
- {
271
- "Action": "sts:AssumeRole",
272
- "Effect": "Allow",
273
- "Principal": {
274
- "Service": "lambda.amazonaws.com"
275
- }
276
- }
277
- ],
278
- "Version": "2012-10-17"
279
- },
280
- "managedPolicyArns": [
281
- {
282
- "Fn::Join": [
283
- "",
284
- [
285
- "arn:",
286
- {
287
- "Ref": "AWS::Partition"
288
- },
289
- ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
290
- ]
291
- ]
292
- }
293
- ]
294
- }
295
- },
296
- "constructInfo": {
297
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
298
- "version": "2.161.0"
299
- }
300
- }
301
- },
302
- "constructInfo": {
303
- "fqn": "aws-cdk-lib.aws_iam.Role",
304
- "version": "2.161.0"
305
- }
306
- },
307
- "Resource": {
308
- "id": "Resource",
309
- "path": "sqspstp-existing-queue/lambdas3stp-test/Resource",
310
- "attributes": {
311
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
312
- "aws:cdk:cloudformation:props": {
313
- "code": {
314
- "zipFile": "exports.handler = async (event) => console.log(event)"
315
- },
316
- "handler": "index.handler",
317
- "role": {
318
- "Fn::GetAtt": [
319
- "lambdas3stptestServiceRoleF17BB6C7",
320
- "Arn"
321
- ]
322
- },
323
- "runtime": "nodejs20.x"
324
- }
325
- },
326
- "constructInfo": {
327
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
328
- "version": "2.161.0"
329
- }
330
- }
331
- },
332
- "constructInfo": {
333
- "fqn": "aws-cdk-lib.aws_lambda.Function",
334
- "version": "2.161.0"
335
- }
336
- },
337
- "tasks3stp-test": {
338
- "id": "tasks3stp-test",
339
- "path": "sqspstp-existing-queue/tasks3stp-test",
340
- "constructInfo": {
341
- "fqn": "aws-cdk-lib.aws_stepfunctions_tasks.LambdaInvoke",
342
- "version": "2.161.0"
343
- }
344
- },
345
- "test-sqs-pipes-states-construct": {
346
- "id": "test-sqs-pipes-states-construct",
347
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct",
348
- "children": {
349
- "StateMachineLogGroup": {
350
- "id": "StateMachineLogGroup",
351
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachineLogGroup",
352
- "children": {
353
- "Resource": {
354
- "id": "Resource",
355
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachineLogGroup/Resource",
356
- "attributes": {
357
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
358
- "aws:cdk:cloudformation:props": {
359
- "logGroupName": {
360
- "Fn::Join": [
361
- "",
362
- [
363
- "/aws/vendedlogs/states/constructs/sqspstp-existing-queuetest-sqs-pipes-states-constructStateMachineLog-",
364
- {
365
- "Fn::Select": [
366
- 2,
367
- {
368
- "Fn::Split": [
369
- "/",
370
- {
371
- "Ref": "AWS::StackId"
372
- }
373
- ]
374
- }
375
- ]
376
- }
377
- ]
378
- ]
379
- }
380
- }
381
- },
382
- "constructInfo": {
383
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
384
- "version": "2.161.0"
385
- }
386
- }
387
- },
388
- "constructInfo": {
389
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
390
- "version": "2.161.0"
391
- }
392
- },
393
- "StateMachine": {
394
- "id": "StateMachine",
395
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine",
396
- "children": {
397
- "Role": {
398
- "id": "Role",
399
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role",
400
- "children": {
401
- "ImportRole": {
402
- "id": "ImportRole",
403
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/ImportRole",
404
- "constructInfo": {
405
- "fqn": "aws-cdk-lib.Resource",
406
- "version": "2.161.0"
407
- }
408
- },
409
- "Resource": {
410
- "id": "Resource",
411
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/Resource",
412
- "attributes": {
413
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
414
- "aws:cdk:cloudformation:props": {
415
- "assumeRolePolicyDocument": {
416
- "Statement": [
417
- {
418
- "Action": "sts:AssumeRole",
419
- "Effect": "Allow",
420
- "Principal": {
421
- "Service": "states.amazonaws.com"
422
- }
423
- }
424
- ],
425
- "Version": "2012-10-17"
426
- }
427
- }
428
- },
429
- "constructInfo": {
430
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
431
- "version": "2.161.0"
432
- }
433
- },
434
- "DefaultPolicy": {
435
- "id": "DefaultPolicy",
436
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy",
437
- "children": {
438
- "Resource": {
439
- "id": "Resource",
440
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy/Resource",
441
- "attributes": {
442
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
443
- "aws:cdk:cloudformation:props": {
444
- "policyDocument": {
445
- "Statement": [
446
- {
447
- "Action": "lambda:InvokeFunction",
448
- "Effect": "Allow",
449
- "Resource": [
450
- {
451
- "Fn::GetAtt": [
452
- "lambdas3stptest9FBDC6CE",
453
- "Arn"
454
- ]
455
- },
456
- {
457
- "Fn::Join": [
458
- "",
459
- [
460
- {
461
- "Fn::GetAtt": [
462
- "lambdas3stptest9FBDC6CE",
463
- "Arn"
464
- ]
465
- },
466
- ":*"
467
- ]
468
- ]
469
- }
470
- ]
471
- },
472
- {
473
- "Action": [
474
- "logs:CreateLogDelivery",
475
- "logs:DeleteLogDelivery",
476
- "logs:DescribeLogGroups",
477
- "logs:DescribeResourcePolicies",
478
- "logs:GetLogDelivery",
479
- "logs:ListLogDeliveries",
480
- "logs:PutResourcePolicy",
481
- "logs:UpdateLogDelivery"
482
- ],
483
- "Effect": "Allow",
484
- "Resource": "*"
485
- }
486
- ],
487
- "Version": "2012-10-17"
488
- },
489
- "policyName": "testsqspipesstatesconstructStateMachineRoleDefaultPolicyD1BA2BF2",
490
- "roles": [
491
- {
492
- "Ref": "testsqspipesstatesconstructStateMachineRoleBF97BFC0"
493
- }
494
- ]
495
- }
496
- },
497
- "constructInfo": {
498
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
499
- "version": "2.161.0"
500
- }
501
- }
502
- },
503
- "constructInfo": {
504
- "fqn": "aws-cdk-lib.aws_iam.Policy",
505
- "version": "2.161.0"
506
- }
507
- }
508
- },
509
- "constructInfo": {
510
- "fqn": "aws-cdk-lib.aws_iam.Role",
511
- "version": "2.161.0"
512
- }
513
- },
514
- "Resource": {
515
- "id": "Resource",
516
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Resource",
517
- "attributes": {
518
- "aws:cdk:cloudformation:type": "AWS::StepFunctions::StateMachine",
519
- "aws:cdk:cloudformation:props": {
520
- "definitionString": {
521
- "Fn::Join": [
522
- "",
523
- [
524
- "{\"StartAt\":\"tasks3stp-test\",\"States\":{\"tasks3stp-test\":{\"End\":true,\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",
525
- {
526
- "Ref": "AWS::Partition"
527
- },
528
- ":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",
529
- {
530
- "Fn::GetAtt": [
531
- "lambdas3stptest9FBDC6CE",
532
- "Arn"
533
- ]
534
- },
535
- "\",\"Payload.$\":\"$\"}}}}"
536
- ]
537
- ]
538
- },
539
- "loggingConfiguration": {
540
- "destinations": [
541
- {
542
- "cloudWatchLogsLogGroup": {
543
- "logGroupArn": {
544
- "Fn::GetAtt": [
545
- "testsqspipesstatesconstructStateMachineLogGroupADE94F1D",
546
- "Arn"
547
- ]
548
- }
549
- }
550
- }
551
- ],
552
- "level": "ERROR"
553
- },
554
- "roleArn": {
555
- "Fn::GetAtt": [
556
- "testsqspipesstatesconstructStateMachineRoleBF97BFC0",
557
- "Arn"
558
- ]
559
- }
560
- }
561
- },
562
- "constructInfo": {
563
- "fqn": "aws-cdk-lib.aws_stepfunctions.CfnStateMachine",
564
- "version": "2.161.0"
565
- }
566
- }
567
- },
568
- "constructInfo": {
569
- "fqn": "aws-cdk-lib.aws_stepfunctions.StateMachine",
570
- "version": "2.161.0"
571
- }
572
- },
573
- "ExecutionFailedAlarm": {
574
- "id": "ExecutionFailedAlarm",
575
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionFailedAlarm",
576
- "children": {
577
- "Resource": {
578
- "id": "Resource",
579
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionFailedAlarm/Resource",
580
- "attributes": {
581
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
582
- "aws:cdk:cloudformation:props": {
583
- "alarmDescription": "Alarm for the number of executions that failed exceeded the threshold of 1. ",
584
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
585
- "dimensions": [
586
- {
587
- "name": "StateMachineArn",
588
- "value": {
589
- "Ref": "testsqspipesstatesconstructStateMachine29272AA9"
590
- }
591
- }
592
- ],
593
- "evaluationPeriods": 1,
594
- "metricName": "ExecutionsFailed",
595
- "namespace": "AWS/States",
596
- "period": 300,
597
- "statistic": "Sum",
598
- "threshold": 1
599
- }
600
- },
601
- "constructInfo": {
602
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
603
- "version": "2.161.0"
604
- }
605
- }
606
- },
607
- "constructInfo": {
608
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
609
- "version": "2.161.0"
610
- }
611
- },
612
- "ExecutionThrottledAlarm": {
613
- "id": "ExecutionThrottledAlarm",
614
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionThrottledAlarm",
615
- "children": {
616
- "Resource": {
617
- "id": "Resource",
618
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionThrottledAlarm/Resource",
619
- "attributes": {
620
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
621
- "aws:cdk:cloudformation:props": {
622
- "alarmDescription": "Alarm for the number of executions that throttled exceeded the threshold of 1. ",
623
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
624
- "dimensions": [
625
- {
626
- "name": "StateMachineArn",
627
- "value": {
628
- "Ref": "testsqspipesstatesconstructStateMachine29272AA9"
629
- }
630
- }
631
- ],
632
- "evaluationPeriods": 1,
633
- "metricName": "ExecutionThrottled",
634
- "namespace": "AWS/States",
635
- "period": 300,
636
- "statistic": "Sum",
637
- "threshold": 1
638
- }
639
- },
640
- "constructInfo": {
641
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
642
- "version": "2.161.0"
643
- }
644
- }
645
- },
646
- "constructInfo": {
647
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
648
- "version": "2.161.0"
649
- }
650
- },
651
- "ExecutionAbortedAlarm": {
652
- "id": "ExecutionAbortedAlarm",
653
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionAbortedAlarm",
654
- "children": {
655
- "Resource": {
656
- "id": "Resource",
657
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionAbortedAlarm/Resource",
658
- "attributes": {
659
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
660
- "aws:cdk:cloudformation:props": {
661
- "alarmDescription": "Alarm for the number of executions that aborted exceeded the threshold of 1. ",
662
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
663
- "dimensions": [
664
- {
665
- "name": "StateMachineArn",
666
- "value": {
667
- "Ref": "testsqspipesstatesconstructStateMachine29272AA9"
668
- }
669
- }
670
- ],
671
- "evaluationPeriods": 1,
672
- "metricName": "ExecutionsAborted",
673
- "namespace": "AWS/States",
674
- "period": 300,
675
- "statistic": "Maximum",
676
- "threshold": 1
677
- }
678
- },
679
- "constructInfo": {
680
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
681
- "version": "2.161.0"
682
- }
683
- }
684
- },
685
- "constructInfo": {
686
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
687
- "version": "2.161.0"
688
- }
689
- },
690
- "PipeRole--test-sqs-pipes-states-construct": {
691
- "id": "PipeRole--test-sqs-pipes-states-construct",
692
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct",
693
- "children": {
694
- "ImportPipeRole--test-sqs-pipes-states-construct": {
695
- "id": "ImportPipeRole--test-sqs-pipes-states-construct",
696
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct/ImportPipeRole--test-sqs-pipes-states-construct",
697
- "constructInfo": {
698
- "fqn": "aws-cdk-lib.Resource",
699
- "version": "2.161.0"
700
- }
701
- },
702
- "Resource": {
703
- "id": "Resource",
704
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct/Resource",
705
- "attributes": {
706
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
707
- "aws:cdk:cloudformation:props": {
708
- "assumeRolePolicyDocument": {
709
- "Statement": [
710
- {
711
- "Action": "sts:AssumeRole",
712
- "Effect": "Allow",
713
- "Principal": {
714
- "Service": "pipes.amazonaws.com"
715
- }
716
- }
717
- ],
718
- "Version": "2012-10-17"
719
- },
720
- "policies": [
721
- {
722
- "policyName": "sourcePolicy",
723
- "policyDocument": {
724
- "Statement": [
725
- {
726
- "Action": [
727
- "sqs:DeleteMessage",
728
- "sqs:GetQueueAttributes",
729
- "sqs:ReceiveMessage"
730
- ],
731
- "Effect": "Allow",
732
- "Resource": {
733
- "Fn::GetAtt": [
734
- "existingqueue03D57A53",
735
- "Arn"
736
- ]
737
- }
738
- }
739
- ],
740
- "Version": "2012-10-17"
741
- }
742
- },
743
- {
744
- "policyName": "targetPolicy",
745
- "policyDocument": {
746
- "Statement": [
747
- {
748
- "Action": "states:StartExecution",
749
- "Effect": "Allow",
750
- "Resource": {
751
- "Ref": "testsqspipesstatesconstructStateMachine29272AA9"
752
- }
753
- }
754
- ],
755
- "Version": "2012-10-17"
756
- }
757
- }
758
- ]
759
- }
760
- },
761
- "constructInfo": {
762
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
763
- "version": "2.161.0"
764
- }
765
- }
766
- },
767
- "constructInfo": {
768
- "fqn": "aws-cdk-lib.aws_iam.Role",
769
- "version": "2.161.0"
770
- }
771
- },
772
- "LogGroup-test-sqs-pipes-states-construct": {
773
- "id": "LogGroup-test-sqs-pipes-states-construct",
774
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct",
775
- "children": {
776
- "Resource": {
777
- "id": "Resource",
778
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct/Resource",
779
- "attributes": {
780
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
781
- "aws:cdk:cloudformation:props": {
782
- "logGroupName": {
783
- "Fn::Join": [
784
- "",
785
- [
786
- "/aws/vendedlogs/pipes/constructs/sqspstp-existing-queuetest-sqs-pipes-states-constructPipesLog-",
787
- {
788
- "Fn::Select": [
789
- 2,
790
- {
791
- "Fn::Split": [
792
- "/",
793
- {
794
- "Ref": "AWS::StackId"
795
- }
796
- ]
797
- }
798
- ]
799
- }
800
- ]
801
- ]
802
- }
803
- }
804
- },
805
- "constructInfo": {
806
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
807
- "version": "2.161.0"
808
- }
809
- }
810
- },
811
- "constructInfo": {
812
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
813
- "version": "2.161.0"
814
- }
815
- },
816
- "pipe-test-sqs-pipes-states-construct": {
817
- "id": "pipe-test-sqs-pipes-states-construct",
818
- "path": "sqspstp-existing-queue/test-sqs-pipes-states-construct/pipe-test-sqs-pipes-states-construct",
819
- "attributes": {
820
- "aws:cdk:cloudformation:type": "AWS::Pipes::Pipe",
821
- "aws:cdk:cloudformation:props": {
822
- "logConfiguration": {
823
- "cloudwatchLogsLogDestination": {
824
- "logGroupArn": {
825
- "Fn::GetAtt": [
826
- "testsqspipesstatesconstructLogGrouptestsqspipesstatesconstructF827FE15",
827
- "Arn"
828
- ]
829
- }
830
- },
831
- "level": "INFO"
832
- },
833
- "roleArn": {
834
- "Fn::GetAtt": [
835
- "testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C",
836
- "Arn"
837
- ]
838
- },
839
- "source": {
840
- "Fn::GetAtt": [
841
- "existingqueue03D57A53",
842
- "Arn"
843
- ]
844
- },
845
- "sourceParameters": {},
846
- "target": {
847
- "Ref": "testsqspipesstatesconstructStateMachine29272AA9"
848
- },
849
- "targetParameters": {
850
- "stepFunctionStateMachineParameters": {
851
- "invocationType": "FIRE_AND_FORGET"
852
- }
853
- }
854
- }
855
- },
856
- "constructInfo": {
857
- "fqn": "aws-cdk-lib.aws_pipes.CfnPipe",
858
- "version": "2.161.0"
859
- }
860
- }
861
- },
862
- "constructInfo": {
863
- "fqn": "@aws-solutions-constructs/aws-sqs-pipes-stepfunctions.SqsToPipesToStepfunctions",
864
- "version": "2.72.0"
865
- }
866
- },
867
- "Integ": {
868
- "id": "Integ",
869
- "path": "sqspstp-existing-queue/Integ",
870
- "children": {
871
- "DefaultTest": {
872
- "id": "DefaultTest",
873
- "path": "sqspstp-existing-queue/Integ/DefaultTest",
874
- "children": {
875
- "Default": {
876
- "id": "Default",
877
- "path": "sqspstp-existing-queue/Integ/DefaultTest/Default",
878
- "constructInfo": {
879
- "fqn": "constructs.Construct",
880
- "version": "10.4.2"
881
- }
882
- },
883
- "DeployAssert": {
884
- "id": "DeployAssert",
885
- "path": "sqspstp-existing-queue/Integ/DefaultTest/DeployAssert",
886
- "children": {
887
- "BootstrapVersion": {
888
- "id": "BootstrapVersion",
889
- "path": "sqspstp-existing-queue/Integ/DefaultTest/DeployAssert/BootstrapVersion",
890
- "constructInfo": {
891
- "fqn": "aws-cdk-lib.CfnParameter",
892
- "version": "2.161.0"
893
- }
894
- },
895
- "CheckBootstrapVersion": {
896
- "id": "CheckBootstrapVersion",
897
- "path": "sqspstp-existing-queue/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
898
- "constructInfo": {
899
- "fqn": "aws-cdk-lib.CfnRule",
900
- "version": "2.161.0"
901
- }
902
- }
903
- },
904
- "constructInfo": {
905
- "fqn": "aws-cdk-lib.Stack",
906
- "version": "2.161.0"
907
- }
908
- }
909
- },
910
- "constructInfo": {
911
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
912
- "version": "2.161.0-alpha.0"
913
- }
914
- }
915
- },
916
- "constructInfo": {
917
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
918
- "version": "2.161.0-alpha.0"
919
- }
920
- },
921
- "BootstrapVersion": {
922
- "id": "BootstrapVersion",
923
- "path": "sqspstp-existing-queue/BootstrapVersion",
924
- "constructInfo": {
925
- "fqn": "aws-cdk-lib.CfnParameter",
926
- "version": "2.161.0"
927
- }
928
- },
929
- "CheckBootstrapVersion": {
930
- "id": "CheckBootstrapVersion",
931
- "path": "sqspstp-existing-queue/CheckBootstrapVersion",
932
- "constructInfo": {
933
- "fqn": "aws-cdk-lib.CfnRule",
934
- "version": "2.161.0"
935
- }
936
- }
937
- },
938
- "constructInfo": {
939
- "fqn": "aws-cdk-lib.Stack",
940
- "version": "2.161.0"
941
- }
942
- },
943
- "Tree": {
944
- "id": "Tree",
945
- "path": "Tree",
946
- "constructInfo": {
947
- "fqn": "constructs.Construct",
948
- "version": "10.4.2"
949
- }
950
- }
951
- },
952
- "constructInfo": {
953
- "fqn": "aws-cdk-lib.App",
954
- "version": "2.161.0"
955
- }
956
- }
957
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.223.0"},"children":{"sqspstp-existing-queue":{"id":"sqspstp-existing-queue","path":"sqspstp-existing-queue","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"existing-queue-dlq":{"id":"existing-queue-dlq","path":"sqspstp-existing-queue/existing-queue-dlq","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.Queue","version":"2.223.0","metadata":[{"encryption":"KMS_MANAGED","fifo":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/existing-queue-dlq/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueue","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::Queue","aws:cdk:cloudformation:props":{"kmsMasterKeyId":"alias/aws/sqs"}}},"Policy":{"id":"Policy","path":"sqspstp-existing-queue/existing-queue-dlq/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.QueuePolicy","version":"2.223.0","metadata":[{"queues":["*"]}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/existing-queue-dlq/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueuePolicy","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::QueuePolicy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["sqs:AddPermission","sqs:DeleteMessage","sqs:GetQueueAttributes","sqs:ReceiveMessage","sqs:RemovePermission","sqs:SendMessage","sqs:SetQueueAttributes"],"Effect":"Allow","Principal":{"AWS":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::",{"Ref":"AWS::AccountId"},":root"]]}},"Resource":{"Fn::GetAtt":["existingqueuedlq98283DB9","Arn"]},"Sid":"QueueOwnerOnlyAccess"},{"Action":"SQS:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":{"Fn::GetAtt":["existingqueuedlq98283DB9","Arn"]},"Sid":"HttpsOnly"}],"Version":"2012-10-17"},"queues":[{"Ref":"existingqueuedlq98283DB9"}]}}}}}}},"existing-queue":{"id":"existing-queue","path":"sqspstp-existing-queue/existing-queue","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.Queue","version":"2.223.0","metadata":[{"encryption":"KMS_MANAGED","deadLetterQueue":{"maxReceiveCount":"*","queue":"*"}}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/existing-queue/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueue","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::Queue","aws:cdk:cloudformation:props":{"kmsMasterKeyId":"alias/aws/sqs","redrivePolicy":{"deadLetterTargetArn":{"Fn::GetAtt":["existingqueuedlq98283DB9","Arn"]},"maxReceiveCount":15}}}},"Policy":{"id":"Policy","path":"sqspstp-existing-queue/existing-queue/Policy","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.QueuePolicy","version":"2.223.0","metadata":[{"queues":["*"]}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/existing-queue/Policy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueuePolicy","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::QueuePolicy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["sqs:AddPermission","sqs:DeleteMessage","sqs:GetQueueAttributes","sqs:ReceiveMessage","sqs:RemovePermission","sqs:SendMessage","sqs:SetQueueAttributes"],"Effect":"Allow","Principal":{"AWS":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::",{"Ref":"AWS::AccountId"},":root"]]}},"Resource":{"Fn::GetAtt":["existingqueue03D57A53","Arn"]},"Sid":"QueueOwnerOnlyAccess"},{"Action":"SQS:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":{"Fn::GetAtt":["existingqueue03D57A53","Arn"]},"Sid":"HttpsOnly"}],"Version":"2012-10-17"},"queues":[{"Ref":"existingqueue03D57A53"}]}}}}}}},"lambdas3stp-test":{"id":"lambdas3stp-test","path":"sqspstp-existing-queue/lambdas3stp-test","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.223.0","metadata":[{"code":"*","runtime":"*","handler":"*"}]},"children":{"ServiceRole":{"id":"ServiceRole","path":"sqspstp-existing-queue/lambdas3stp-test/ServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"managedPolicies":[{"managedPolicyArn":"*"}]}]},"children":{"ImportServiceRole":{"id":"ImportServiceRole","path":"sqspstp-existing-queue/lambdas3stp-test/ServiceRole/ImportServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"sqspstp-existing-queue/lambdas3stp-test/ServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]}]}}}}},"Resource":{"id":"Resource","path":"sqspstp-existing-queue/lambdas3stp-test/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"zipFile":"exports.handler = async (event) => console.log(event)"},"handler":"index.handler","role":{"Fn::GetAtt":["lambdas3stptestServiceRoleF17BB6C7","Arn"]},"runtime":"nodejs22.x"}}}}},"tasks3stp-test":{"id":"tasks3stp-test","path":"sqspstp-existing-queue/tasks3stp-test","constructInfo":{"fqn":"aws-cdk-lib.aws_stepfunctions_tasks.LambdaInvoke","version":"2.223.0"}},"test-sqs-pipes-states-construct":{"id":"test-sqs-pipes-states-construct","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct","constructInfo":{"fqn":"@aws-solutions-constructs/aws-sqs-pipes-stepfunctions.SqsToPipesToStepfunctions","version":"2.95.1"},"children":{"StateMachineLogGroup":{"id":"StateMachineLogGroup","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachineLogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.223.0","metadata":[{"retention":9999,"logGroupName":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachineLogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"logGroupName":{"Fn::Join":["",["/aws/vendedlogs/states/constructs/sqspstp-existing-queuetest-sqs-pipes-states-constructStateMachineLog-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]]}}}}}},"StateMachine":{"id":"StateMachine","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine","constructInfo":{"fqn":"aws-cdk-lib.aws_stepfunctions.StateMachine","version":"2.223.0","metadata":[{"logs":{"destination":"*","level":"ERROR"},"definitionBody":"*"},{"addToRolePolicy":[{}]},{"addToRolePolicy":[{}]}]},"children":{"Role":{"id":"Role","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]},"children":{"ImportRole":{"id":"ImportRole","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/ImportRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"states.amazonaws.com"}}],"Version":"2012-10-17"}}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":"lambda:InvokeFunction","Effect":"Allow","Resource":[{"Fn::GetAtt":["lambdas3stptest9FBDC6CE","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["lambdas3stptest9FBDC6CE","Arn"]},":*"]]}]},{"Action":["logs:CreateLogDelivery","logs:DeleteLogDelivery","logs:DescribeLogGroups","logs:DescribeResourcePolicies","logs:GetLogDelivery","logs:ListLogDeliveries","logs:PutResourcePolicy","logs:UpdateLogDelivery"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testsqspipesstatesconstructStateMachineRoleDefaultPolicyD1BA2BF2","roles":[{"Ref":"testsqspipesstatesconstructStateMachineRoleBF97BFC0"}]}}}}}}},"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/StateMachine/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_stepfunctions.CfnStateMachine","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::StepFunctions::StateMachine","aws:cdk:cloudformation:props":{"definitionString":{"Fn::Join":["",["{\"StartAt\":\"tasks3stp-test\",\"States\":{\"tasks3stp-test\":{\"End\":true,\"Retry\":[{\"ErrorEquals\":[\"Lambda.ClientExecutionTimeoutException\",\"Lambda.ServiceException\",\"Lambda.AWSLambdaException\",\"Lambda.SdkClientException\"],\"IntervalSeconds\":2,\"MaxAttempts\":6,\"BackoffRate\":2}],\"Type\":\"Task\",\"Resource\":\"arn:",{"Ref":"AWS::Partition"},":states:::lambda:invoke\",\"Parameters\":{\"FunctionName\":\"",{"Fn::GetAtt":["lambdas3stptest9FBDC6CE","Arn"]},"\",\"Payload.$\":\"$\"}}}}"]]},"loggingConfiguration":{"destinations":[{"cloudWatchLogsLogGroup":{"logGroupArn":{"Fn::GetAtt":["testsqspipesstatesconstructStateMachineLogGroupADE94F1D","Arn"]}}}],"level":"ERROR"},"roleArn":{"Fn::GetAtt":["testsqspipesstatesconstructStateMachineRoleBF97BFC0","Arn"]}}}}}},"ExecutionFailedAlarm":{"id":"ExecutionFailedAlarm","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionFailedAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionFailedAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Alarm for the number of executions that failed exceeded the threshold of 1. ","comparisonOperator":"GreaterThanOrEqualToThreshold","dimensions":[{"name":"StateMachineArn","value":{"Ref":"testsqspipesstatesconstructStateMachine29272AA9"}}],"evaluationPeriods":1,"metricName":"ExecutionsFailed","namespace":"AWS/States","period":300,"statistic":"Sum","threshold":1}}}}},"ExecutionThrottledAlarm":{"id":"ExecutionThrottledAlarm","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionThrottledAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionThrottledAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Alarm for the number of executions that throttled exceeded the threshold of 1. ","comparisonOperator":"GreaterThanOrEqualToThreshold","dimensions":[{"name":"StateMachineArn","value":{"Ref":"testsqspipesstatesconstructStateMachine29272AA9"}}],"evaluationPeriods":1,"metricName":"ExecutionThrottled","namespace":"AWS/States","period":300,"statistic":"Sum","threshold":1}}}}},"ExecutionAbortedAlarm":{"id":"ExecutionAbortedAlarm","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionAbortedAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/ExecutionAbortedAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Alarm for the number of executions that aborted exceeded the threshold of 1. ","comparisonOperator":"GreaterThanOrEqualToThreshold","dimensions":[{"name":"StateMachineArn","value":{"Ref":"testsqspipesstatesconstructStateMachine29272AA9"}}],"evaluationPeriods":1,"metricName":"ExecutionsAborted","namespace":"AWS/States","period":300,"statistic":"Maximum","threshold":1}}}}},"PipeRole--test-sqs-pipes-states-construct":{"id":"PipeRole--test-sqs-pipes-states-construct","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportPipeRole--test-sqs-pipes-states-construct":{"id":"ImportPipeRole--test-sqs-pipes-states-construct","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct/ImportPipeRole--test-sqs-pipes-states-construct","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/PipeRole--test-sqs-pipes-states-construct/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"pipes.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"sourcePolicy","policyDocument":{"Statement":[{"Action":["sqs:DeleteMessage","sqs:GetQueueAttributes","sqs:ReceiveMessage"],"Effect":"Allow","Resource":{"Fn::GetAtt":["existingqueue03D57A53","Arn"]}}],"Version":"2012-10-17"}},{"policyName":"targetPolicy","policyDocument":{"Statement":[{"Action":"states:StartExecution","Effect":"Allow","Resource":{"Ref":"testsqspipesstatesconstructStateMachine29272AA9"}}],"Version":"2012-10-17"}}]}}}}},"LogGroup-test-sqs-pipes-states-construct":{"id":"LogGroup-test-sqs-pipes-states-construct","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.223.0","metadata":[{"retention":9999,"logGroupName":"*"}]},"children":{"Resource":{"id":"Resource","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"logGroupName":{"Fn::Join":["",["/aws/vendedlogs/pipes/constructs/sqspstp-existing-queuetest-sqs-pipes-states-constructPipesLog-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]]}}}}}},"pipe-test-sqs-pipes-states-construct":{"id":"pipe-test-sqs-pipes-states-construct","path":"sqspstp-existing-queue/test-sqs-pipes-states-construct/pipe-test-sqs-pipes-states-construct","constructInfo":{"fqn":"aws-cdk-lib.aws_pipes.CfnPipe","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Pipes::Pipe","aws:cdk:cloudformation:props":{"logConfiguration":{"cloudwatchLogsLogDestination":{"logGroupArn":{"Fn::GetAtt":["testsqspipesstatesconstructLogGrouptestsqspipesstatesconstructF827FE15","Arn"]}},"level":"INFO"},"roleArn":{"Fn::GetAtt":["testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C","Arn"]},"source":{"Fn::GetAtt":["existingqueue03D57A53","Arn"]},"sourceParameters":{},"target":{"Ref":"testsqspipesstatesconstructStateMachine29272AA9"},"targetParameters":{"stepFunctionStateMachineParameters":{"invocationType":"FIRE_AND_FORGET"}}}}}}},"Integ":{"id":"Integ","path":"sqspstp-existing-queue/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.223.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"sqspstp-existing-queue/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.223.0-alpha.0"},"children":{"Default":{"id":"Default","path":"sqspstp-existing-queue/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"sqspstp-existing-queue/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"sqspstp-existing-queue/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"sqspstp-existing-queue/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"sqspstp-existing-queue/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"sqspstp-existing-queue/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}