@aws-solutions-constructs/aws-sqs-pipes-stepfunctions 2.73.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 (92) hide show
  1. package/.eslintignore +7 -0
  2. package/.jsii +4457 -0
  3. package/README.md +100 -0
  4. package/architecture.png +0 -0
  5. package/integ.config.json +0 -0
  6. package/lib/index.d.ts +140 -0
  7. package/lib/index.js +77 -0
  8. package/package.json +96 -0
  9. package/test/integ.sqspstp-custom-log-level.d.ts +13 -0
  10. package/test/integ.sqspstp-custom-log-level.js +33 -0
  11. package/test/integ.sqspstp-custom-log-level.js.snapshot/cdk.out +1 -0
  12. package/test/integ.sqspstp-custom-log-level.js.snapshot/integ.json +12 -0
  13. package/test/integ.sqspstp-custom-log-level.js.snapshot/manifest.json +205 -0
  14. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.assets.json +19 -0
  15. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstp-custom-log-level.template.json +654 -0
  16. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.assets.json +19 -0
  17. package/test/integ.sqspstp-custom-log-level.js.snapshot/sqspstpcustomloglevelIntegDefaultTestDeployAssertD542618D.template.json +36 -0
  18. package/test/integ.sqspstp-custom-log-level.js.snapshot/tree.json +957 -0
  19. package/test/integ.sqspstp-existing-queue.d.ts +13 -0
  20. package/test/integ.sqspstp-existing-queue.js +35 -0
  21. package/test/integ.sqspstp-existing-queue.js.snapshot/cdk.out +1 -0
  22. package/test/integ.sqspstp-existing-queue.js.snapshot/integ.json +12 -0
  23. package/test/integ.sqspstp-existing-queue.js.snapshot/manifest.json +205 -0
  24. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.assets.json +19 -0
  25. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstp-existing-queue.template.json +654 -0
  26. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.assets.json +19 -0
  27. package/test/integ.sqspstp-existing-queue.js.snapshot/sqspstpexistingqueueIntegDefaultTestDeployAssert6DA9FDD7.template.json +36 -0
  28. package/test/integ.sqspstp-existing-queue.js.snapshot/tree.json +957 -0
  29. package/test/integ.sqspstp-filter.d.ts +13 -0
  30. package/test/integ.sqspstp-filter.js +44 -0
  31. package/test/integ.sqspstp-filter.js.snapshot/cdk.out +1 -0
  32. package/test/integ.sqspstp-filter.js.snapshot/integ.json +12 -0
  33. package/test/integ.sqspstp-filter.js.snapshot/manifest.json +205 -0
  34. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.assets.json +19 -0
  35. package/test/integ.sqspstp-filter.js.snapshot/sqspstp-filter.template.json +662 -0
  36. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.assets.json +19 -0
  37. package/test/integ.sqspstp-filter.js.snapshot/sqspstpfilterIntegDefaultTestDeployAssert0C52837E.template.json +36 -0
  38. package/test/integ.sqspstp-filter.js.snapshot/tree.json +965 -0
  39. package/test/integ.sqspstp-lambda-function-enrichment.d.ts +13 -0
  40. package/test/integ.sqspstp-lambda-function-enrichment.js +40 -0
  41. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/asset.33adcab38bd8c4e154734b436a40ee81920a89cd6c787ce62302c33df5e1dfcb/index.js +9 -0
  42. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/cdk.out +1 -0
  43. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/integ.json +12 -0
  44. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/manifest.json +223 -0
  45. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.assets.json +32 -0
  46. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstp-lambda-function-enrichment.template.json +757 -0
  47. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.assets.json +19 -0
  48. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/sqspstplambdafunctionenrichmentIntegDefaultTestDeployAssert1F2A8125.template.json +36 -0
  49. package/test/integ.sqspstp-lambda-function-enrichment.js.snapshot/tree.json +1127 -0
  50. package/test/integ.sqspstp-logs-off.d.ts +13 -0
  51. package/test/integ.sqspstp-logs-off.js +33 -0
  52. package/test/integ.sqspstp-logs-off.js.snapshot/cdk.out +1 -0
  53. package/test/integ.sqspstp-logs-off.js.snapshot/integ.json +12 -0
  54. package/test/integ.sqspstp-logs-off.js.snapshot/manifest.json +199 -0
  55. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.assets.json +19 -0
  56. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstp-logs-off.template.json +601 -0
  57. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.assets.json +19 -0
  58. package/test/integ.sqspstp-logs-off.js.snapshot/sqspstplogsoffIntegDefaultTestDeployAssert25C29ACD.template.json +36 -0
  59. package/test/integ.sqspstp-logs-off.js.snapshot/tree.json +902 -0
  60. package/test/integ.sqspstp-no-arguments.d.ts +13 -0
  61. package/test/integ.sqspstp-no-arguments.js +32 -0
  62. package/test/integ.sqspstp-no-arguments.js.snapshot/cdk.out +1 -0
  63. package/test/integ.sqspstp-no-arguments.js.snapshot/integ.json +12 -0
  64. package/test/integ.sqspstp-no-arguments.js.snapshot/manifest.json +205 -0
  65. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.assets.json +19 -0
  66. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstp-no-arguments.template.json +654 -0
  67. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.assets.json +19 -0
  68. package/test/integ.sqspstp-no-arguments.js.snapshot/sqspstpnoargumentsIntegDefaultTestDeployAssert83953622.template.json +36 -0
  69. package/test/integ.sqspstp-no-arguments.js.snapshot/tree.json +957 -0
  70. package/test/integ.sqspstp-set-queue-batch-size.d.ts +13 -0
  71. package/test/integ.sqspstp-set-queue-batch-size.js +39 -0
  72. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/cdk.out +1 -0
  73. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/integ.json +12 -0
  74. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/manifest.json +205 -0
  75. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.assets.json +19 -0
  76. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstp-set-queue-batch-size.template.json +658 -0
  77. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.assets.json +19 -0
  78. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/sqspstpsetqueuebatchsizeIntegDefaultTestDeployAssertA1752E9D.template.json +36 -0
  79. package/test/integ.sqspstp-set-queue-batch-size.js.snapshot/tree.json +961 -0
  80. package/test/integ.sqspstp-state-machine-enrichment.d.ts +13 -0
  81. package/test/integ.sqspstp-state-machine-enrichment.js +39 -0
  82. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/cdk.out +1 -0
  83. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/integ.json +12 -0
  84. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/manifest.json +241 -0
  85. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.assets.json +19 -0
  86. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstp-state-machine-enrichment.template.json +868 -0
  87. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.assets.json +19 -0
  88. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/sqspstpstatemachineenrichmentIntegDefaultTestDeployAssert47A5DE6D.template.json +36 -0
  89. package/test/integ.sqspstp-state-machine-enrichment.js.snapshot/tree.json +1252 -0
  90. package/test/lambda/index.js +9 -0
  91. package/test/sqs-pipes-stepfunctions.test.d.ts +13 -0
  92. package/test/sqs-pipes-stepfunctions.test.js +394 -0
@@ -0,0 +1,957 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "sqspstp-custom-log-level": {
8
+ "id": "sqspstp-custom-log-level",
9
+ "path": "sqspstp-custom-log-level",
10
+ "children": {
11
+ "lambdas3stp-test": {
12
+ "id": "lambdas3stp-test",
13
+ "path": "sqspstp-custom-log-level/lambdas3stp-test",
14
+ "children": {
15
+ "ServiceRole": {
16
+ "id": "ServiceRole",
17
+ "path": "sqspstp-custom-log-level/lambdas3stp-test/ServiceRole",
18
+ "children": {
19
+ "ImportServiceRole": {
20
+ "id": "ImportServiceRole",
21
+ "path": "sqspstp-custom-log-level/lambdas3stp-test/ServiceRole/ImportServiceRole",
22
+ "constructInfo": {
23
+ "fqn": "aws-cdk-lib.Resource",
24
+ "version": "2.161.0"
25
+ }
26
+ },
27
+ "Resource": {
28
+ "id": "Resource",
29
+ "path": "sqspstp-custom-log-level/lambdas3stp-test/ServiceRole/Resource",
30
+ "attributes": {
31
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
32
+ "aws:cdk:cloudformation:props": {
33
+ "assumeRolePolicyDocument": {
34
+ "Statement": [
35
+ {
36
+ "Action": "sts:AssumeRole",
37
+ "Effect": "Allow",
38
+ "Principal": {
39
+ "Service": "lambda.amazonaws.com"
40
+ }
41
+ }
42
+ ],
43
+ "Version": "2012-10-17"
44
+ },
45
+ "managedPolicyArns": [
46
+ {
47
+ "Fn::Join": [
48
+ "",
49
+ [
50
+ "arn:",
51
+ {
52
+ "Ref": "AWS::Partition"
53
+ },
54
+ ":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
55
+ ]
56
+ ]
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ "constructInfo": {
62
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
63
+ "version": "2.161.0"
64
+ }
65
+ }
66
+ },
67
+ "constructInfo": {
68
+ "fqn": "aws-cdk-lib.aws_iam.Role",
69
+ "version": "2.161.0"
70
+ }
71
+ },
72
+ "Resource": {
73
+ "id": "Resource",
74
+ "path": "sqspstp-custom-log-level/lambdas3stp-test/Resource",
75
+ "attributes": {
76
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
77
+ "aws:cdk:cloudformation:props": {
78
+ "code": {
79
+ "zipFile": "exports.handler = async (event) => console.log(event)"
80
+ },
81
+ "handler": "index.handler",
82
+ "role": {
83
+ "Fn::GetAtt": [
84
+ "lambdas3stptestServiceRoleF17BB6C7",
85
+ "Arn"
86
+ ]
87
+ },
88
+ "runtime": "nodejs20.x"
89
+ }
90
+ },
91
+ "constructInfo": {
92
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
93
+ "version": "2.161.0"
94
+ }
95
+ }
96
+ },
97
+ "constructInfo": {
98
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
99
+ "version": "2.161.0"
100
+ }
101
+ },
102
+ "tasks3stp-test": {
103
+ "id": "tasks3stp-test",
104
+ "path": "sqspstp-custom-log-level/tasks3stp-test",
105
+ "constructInfo": {
106
+ "fqn": "aws-cdk-lib.aws_stepfunctions_tasks.LambdaInvoke",
107
+ "version": "2.161.0"
108
+ }
109
+ },
110
+ "test-sqs-pipes-states-construct": {
111
+ "id": "test-sqs-pipes-states-construct",
112
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct",
113
+ "children": {
114
+ "queue-dlq": {
115
+ "id": "queue-dlq",
116
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue-dlq",
117
+ "children": {
118
+ "Resource": {
119
+ "id": "Resource",
120
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue-dlq/Resource",
121
+ "attributes": {
122
+ "aws:cdk:cloudformation:type": "AWS::SQS::Queue",
123
+ "aws:cdk:cloudformation:props": {
124
+ "kmsMasterKeyId": "alias/aws/sqs"
125
+ }
126
+ },
127
+ "constructInfo": {
128
+ "fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
129
+ "version": "2.161.0"
130
+ }
131
+ },
132
+ "Policy": {
133
+ "id": "Policy",
134
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue-dlq/Policy",
135
+ "children": {
136
+ "Resource": {
137
+ "id": "Resource",
138
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue-dlq/Policy/Resource",
139
+ "attributes": {
140
+ "aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
141
+ "aws:cdk:cloudformation:props": {
142
+ "policyDocument": {
143
+ "Statement": [
144
+ {
145
+ "Action": [
146
+ "sqs:AddPermission",
147
+ "sqs:DeleteMessage",
148
+ "sqs:GetQueueAttributes",
149
+ "sqs:ReceiveMessage",
150
+ "sqs:RemovePermission",
151
+ "sqs:SendMessage",
152
+ "sqs:SetQueueAttributes"
153
+ ],
154
+ "Effect": "Allow",
155
+ "Principal": {
156
+ "AWS": {
157
+ "Fn::Join": [
158
+ "",
159
+ [
160
+ "arn:",
161
+ {
162
+ "Ref": "AWS::Partition"
163
+ },
164
+ ":iam::",
165
+ {
166
+ "Ref": "AWS::AccountId"
167
+ },
168
+ ":root"
169
+ ]
170
+ ]
171
+ }
172
+ },
173
+ "Resource": {
174
+ "Fn::GetAtt": [
175
+ "testsqspipesstatesconstructqueuedlq420A82FD",
176
+ "Arn"
177
+ ]
178
+ },
179
+ "Sid": "QueueOwnerOnlyAccess"
180
+ },
181
+ {
182
+ "Action": "SQS:*",
183
+ "Condition": {
184
+ "Bool": {
185
+ "aws:SecureTransport": "false"
186
+ }
187
+ },
188
+ "Effect": "Deny",
189
+ "Principal": {
190
+ "AWS": "*"
191
+ },
192
+ "Resource": {
193
+ "Fn::GetAtt": [
194
+ "testsqspipesstatesconstructqueuedlq420A82FD",
195
+ "Arn"
196
+ ]
197
+ },
198
+ "Sid": "HttpsOnly"
199
+ }
200
+ ],
201
+ "Version": "2012-10-17"
202
+ },
203
+ "queues": [
204
+ {
205
+ "Ref": "testsqspipesstatesconstructqueuedlq420A82FD"
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ "constructInfo": {
211
+ "fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
212
+ "version": "2.161.0"
213
+ }
214
+ }
215
+ },
216
+ "constructInfo": {
217
+ "fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
218
+ "version": "2.161.0"
219
+ }
220
+ }
221
+ },
222
+ "constructInfo": {
223
+ "fqn": "aws-cdk-lib.aws_sqs.Queue",
224
+ "version": "2.161.0"
225
+ }
226
+ },
227
+ "queue": {
228
+ "id": "queue",
229
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue",
230
+ "children": {
231
+ "Resource": {
232
+ "id": "Resource",
233
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue/Resource",
234
+ "attributes": {
235
+ "aws:cdk:cloudformation:type": "AWS::SQS::Queue",
236
+ "aws:cdk:cloudformation:props": {
237
+ "kmsMasterKeyId": "alias/aws/sqs",
238
+ "redrivePolicy": {
239
+ "deadLetterTargetArn": {
240
+ "Fn::GetAtt": [
241
+ "testsqspipesstatesconstructqueuedlq420A82FD",
242
+ "Arn"
243
+ ]
244
+ },
245
+ "maxReceiveCount": 15
246
+ }
247
+ }
248
+ },
249
+ "constructInfo": {
250
+ "fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
251
+ "version": "2.161.0"
252
+ }
253
+ },
254
+ "Policy": {
255
+ "id": "Policy",
256
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue/Policy",
257
+ "children": {
258
+ "Resource": {
259
+ "id": "Resource",
260
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/queue/Policy/Resource",
261
+ "attributes": {
262
+ "aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
263
+ "aws:cdk:cloudformation:props": {
264
+ "policyDocument": {
265
+ "Statement": [
266
+ {
267
+ "Action": [
268
+ "sqs:AddPermission",
269
+ "sqs:DeleteMessage",
270
+ "sqs:GetQueueAttributes",
271
+ "sqs:ReceiveMessage",
272
+ "sqs:RemovePermission",
273
+ "sqs:SendMessage",
274
+ "sqs:SetQueueAttributes"
275
+ ],
276
+ "Effect": "Allow",
277
+ "Principal": {
278
+ "AWS": {
279
+ "Fn::Join": [
280
+ "",
281
+ [
282
+ "arn:",
283
+ {
284
+ "Ref": "AWS::Partition"
285
+ },
286
+ ":iam::",
287
+ {
288
+ "Ref": "AWS::AccountId"
289
+ },
290
+ ":root"
291
+ ]
292
+ ]
293
+ }
294
+ },
295
+ "Resource": {
296
+ "Fn::GetAtt": [
297
+ "testsqspipesstatesconstructqueueA7C76715",
298
+ "Arn"
299
+ ]
300
+ },
301
+ "Sid": "QueueOwnerOnlyAccess"
302
+ },
303
+ {
304
+ "Action": "SQS:*",
305
+ "Condition": {
306
+ "Bool": {
307
+ "aws:SecureTransport": "false"
308
+ }
309
+ },
310
+ "Effect": "Deny",
311
+ "Principal": {
312
+ "AWS": "*"
313
+ },
314
+ "Resource": {
315
+ "Fn::GetAtt": [
316
+ "testsqspipesstatesconstructqueueA7C76715",
317
+ "Arn"
318
+ ]
319
+ },
320
+ "Sid": "HttpsOnly"
321
+ }
322
+ ],
323
+ "Version": "2012-10-17"
324
+ },
325
+ "queues": [
326
+ {
327
+ "Ref": "testsqspipesstatesconstructqueueA7C76715"
328
+ }
329
+ ]
330
+ }
331
+ },
332
+ "constructInfo": {
333
+ "fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
334
+ "version": "2.161.0"
335
+ }
336
+ }
337
+ },
338
+ "constructInfo": {
339
+ "fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
340
+ "version": "2.161.0"
341
+ }
342
+ }
343
+ },
344
+ "constructInfo": {
345
+ "fqn": "aws-cdk-lib.aws_sqs.Queue",
346
+ "version": "2.161.0"
347
+ }
348
+ },
349
+ "StateMachineLogGroup": {
350
+ "id": "StateMachineLogGroup",
351
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/StateMachineLogGroup",
352
+ "children": {
353
+ "Resource": {
354
+ "id": "Resource",
355
+ "path": "sqspstp-custom-log-level/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-custom-log-leveltest-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-custom-log-level/test-sqs-pipes-states-construct/StateMachine",
396
+ "children": {
397
+ "Role": {
398
+ "id": "Role",
399
+ "path": "sqspstp-custom-log-level/test-sqs-pipes-states-construct/StateMachine/Role",
400
+ "children": {
401
+ "ImportRole": {
402
+ "id": "ImportRole",
403
+ "path": "sqspstp-custom-log-level/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-custom-log-level/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-custom-log-level/test-sqs-pipes-states-construct/StateMachine/Role/DefaultPolicy",
437
+ "children": {
438
+ "Resource": {
439
+ "id": "Resource",
440
+ "path": "sqspstp-custom-log-level/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-custom-log-level/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-custom-log-level/test-sqs-pipes-states-construct/ExecutionFailedAlarm",
576
+ "children": {
577
+ "Resource": {
578
+ "id": "Resource",
579
+ "path": "sqspstp-custom-log-level/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-custom-log-level/test-sqs-pipes-states-construct/ExecutionThrottledAlarm",
615
+ "children": {
616
+ "Resource": {
617
+ "id": "Resource",
618
+ "path": "sqspstp-custom-log-level/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-custom-log-level/test-sqs-pipes-states-construct/ExecutionAbortedAlarm",
654
+ "children": {
655
+ "Resource": {
656
+ "id": "Resource",
657
+ "path": "sqspstp-custom-log-level/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-custom-log-level/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-custom-log-level/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-custom-log-level/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
+ "testsqspipesstatesconstructqueueA7C76715",
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-custom-log-level/test-sqs-pipes-states-construct/LogGroup-test-sqs-pipes-states-construct",
775
+ "children": {
776
+ "Resource": {
777
+ "id": "Resource",
778
+ "path": "sqspstp-custom-log-level/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-custom-log-leveltest-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-custom-log-level/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": "TRACE"
832
+ },
833
+ "roleArn": {
834
+ "Fn::GetAtt": [
835
+ "testsqspipesstatesconstructPipeRoletestsqspipesstatesconstruct2CC9A13C",
836
+ "Arn"
837
+ ]
838
+ },
839
+ "source": {
840
+ "Fn::GetAtt": [
841
+ "testsqspipesstatesconstructqueueA7C76715",
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-custom-log-level/Integ",
870
+ "children": {
871
+ "DefaultTest": {
872
+ "id": "DefaultTest",
873
+ "path": "sqspstp-custom-log-level/Integ/DefaultTest",
874
+ "children": {
875
+ "Default": {
876
+ "id": "Default",
877
+ "path": "sqspstp-custom-log-level/Integ/DefaultTest/Default",
878
+ "constructInfo": {
879
+ "fqn": "constructs.Construct",
880
+ "version": "10.4.2"
881
+ }
882
+ },
883
+ "DeployAssert": {
884
+ "id": "DeployAssert",
885
+ "path": "sqspstp-custom-log-level/Integ/DefaultTest/DeployAssert",
886
+ "children": {
887
+ "BootstrapVersion": {
888
+ "id": "BootstrapVersion",
889
+ "path": "sqspstp-custom-log-level/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-custom-log-level/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-custom-log-level/BootstrapVersion",
924
+ "constructInfo": {
925
+ "fqn": "aws-cdk-lib.CfnParameter",
926
+ "version": "2.161.0"
927
+ }
928
+ },
929
+ "CheckBootstrapVersion": {
930
+ "id": "CheckBootstrapVersion",
931
+ "path": "sqspstp-custom-log-level/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
+ }