@aws-solutions-constructs/aws-sqs-lambda 2.80.0 → 2.82.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 +43 -4
- package/lib/index.js +1 -1
- package/package.json +6 -6
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/cdk.out +1 -1
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/integ.json +1 -1
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/manifest.json +215 -3
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/sqslam-deployFifoQueue.assets.json +3 -3
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/sqslam-deployFifoQueue.template.json +24 -18
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/sqslamdeployFifoQueueIntegDefaultTestDeployAssert77FD67F7.assets.json +1 -1
- package/test/integ.sqslam-deployFifoQueue.js.snapshot/tree.json +1 -592
- package/test/integ.sqslam-deployFunction.js.snapshot/cdk.out +1 -1
- package/test/integ.sqslam-deployFunction.js.snapshot/integ.json +1 -1
- package/test/integ.sqslam-deployFunction.js.snapshot/manifest.json +213 -3
- package/test/integ.sqslam-deployFunction.js.snapshot/sqslam-deployFunction.assets.json +3 -3
- package/test/integ.sqslam-deployFunction.js.snapshot/sqslam-deployFunction.template.json +24 -18
- package/test/integ.sqslam-deployFunction.js.snapshot/sqslamdeployFunctionIntegDefaultTestDeployAssert1ACA7AF2.assets.json +1 -1
- package/test/integ.sqslam-deployFunction.js.snapshot/tree.json +1 -588
- package/test/integ.sqslam-existingFunction.js.snapshot/cdk.out +1 -1
- package/test/integ.sqslam-existingFunction.js.snapshot/integ.json +1 -1
- package/test/integ.sqslam-existingFunction.js.snapshot/manifest.json +213 -3
- package/test/integ.sqslam-existingFunction.js.snapshot/sqslam-existingFunction.assets.json +3 -3
- package/test/integ.sqslam-existingFunction.js.snapshot/sqslam-existingFunction.template.json +24 -18
- package/test/integ.sqslam-existingFunction.js.snapshot/sqslamexistingFunctionIntegDefaultTestDeployAssert2E8A6942.assets.json +1 -1
- package/test/integ.sqslam-existingFunction.js.snapshot/tree.json +1 -588
|
@@ -1,588 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "tree-0.1",
|
|
3
|
-
"tree": {
|
|
4
|
-
"id": "App",
|
|
5
|
-
"path": "",
|
|
6
|
-
"children": {
|
|
7
|
-
"sqslam-deployFunction": {
|
|
8
|
-
"id": "sqslam-deployFunction",
|
|
9
|
-
"path": "sqslam-deployFunction",
|
|
10
|
-
"children": {
|
|
11
|
-
"test-sqs-lambda": {
|
|
12
|
-
"id": "test-sqs-lambda",
|
|
13
|
-
"path": "sqslam-deployFunction/test-sqs-lambda",
|
|
14
|
-
"children": {
|
|
15
|
-
"LambdaFunctionServiceRole": {
|
|
16
|
-
"id": "LambdaFunctionServiceRole",
|
|
17
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole",
|
|
18
|
-
"children": {
|
|
19
|
-
"ImportLambdaFunctionServiceRole": {
|
|
20
|
-
"id": "ImportLambdaFunctionServiceRole",
|
|
21
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
22
|
-
"constructInfo": {
|
|
23
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
24
|
-
"version": "2.150.0"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"Resource": {
|
|
28
|
-
"id": "Resource",
|
|
29
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/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
|
-
"policies": [
|
|
46
|
-
{
|
|
47
|
-
"policyName": "LambdaFunctionServiceRolePolicy",
|
|
48
|
-
"policyDocument": {
|
|
49
|
-
"Statement": [
|
|
50
|
-
{
|
|
51
|
-
"Action": [
|
|
52
|
-
"logs:CreateLogGroup",
|
|
53
|
-
"logs:CreateLogStream",
|
|
54
|
-
"logs:PutLogEvents"
|
|
55
|
-
],
|
|
56
|
-
"Effect": "Allow",
|
|
57
|
-
"Resource": {
|
|
58
|
-
"Fn::Join": [
|
|
59
|
-
"",
|
|
60
|
-
[
|
|
61
|
-
"arn:",
|
|
62
|
-
{
|
|
63
|
-
"Ref": "AWS::Partition"
|
|
64
|
-
},
|
|
65
|
-
":logs:",
|
|
66
|
-
{
|
|
67
|
-
"Ref": "AWS::Region"
|
|
68
|
-
},
|
|
69
|
-
":",
|
|
70
|
-
{
|
|
71
|
-
"Ref": "AWS::AccountId"
|
|
72
|
-
},
|
|
73
|
-
":log-group:/aws/lambda/*"
|
|
74
|
-
]
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"Version": "2012-10-17"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"constructInfo": {
|
|
86
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
87
|
-
"version": "2.150.0"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"DefaultPolicy": {
|
|
91
|
-
"id": "DefaultPolicy",
|
|
92
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/DefaultPolicy",
|
|
93
|
-
"children": {
|
|
94
|
-
"Resource": {
|
|
95
|
-
"id": "Resource",
|
|
96
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/DefaultPolicy/Resource",
|
|
97
|
-
"attributes": {
|
|
98
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Policy",
|
|
99
|
-
"aws:cdk:cloudformation:props": {
|
|
100
|
-
"policyDocument": {
|
|
101
|
-
"Statement": [
|
|
102
|
-
{
|
|
103
|
-
"Action": [
|
|
104
|
-
"xray:PutTelemetryRecords",
|
|
105
|
-
"xray:PutTraceSegments"
|
|
106
|
-
],
|
|
107
|
-
"Effect": "Allow",
|
|
108
|
-
"Resource": "*"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"Action": [
|
|
112
|
-
"sqs:ChangeMessageVisibility",
|
|
113
|
-
"sqs:DeleteMessage",
|
|
114
|
-
"sqs:GetQueueAttributes",
|
|
115
|
-
"sqs:GetQueueUrl",
|
|
116
|
-
"sqs:ReceiveMessage"
|
|
117
|
-
],
|
|
118
|
-
"Effect": "Allow",
|
|
119
|
-
"Resource": {
|
|
120
|
-
"Fn::GetAtt": [
|
|
121
|
-
"testsqslambdaqueue601203B8",
|
|
122
|
-
"Arn"
|
|
123
|
-
]
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
"Version": "2012-10-17"
|
|
128
|
-
},
|
|
129
|
-
"policyName": "testsqslambdaLambdaFunctionServiceRoleDefaultPolicy380B065C",
|
|
130
|
-
"roles": [
|
|
131
|
-
{
|
|
132
|
-
"Ref": "testsqslambdaLambdaFunctionServiceRoleF623B438"
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"constructInfo": {
|
|
138
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
139
|
-
"version": "2.150.0"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"constructInfo": {
|
|
144
|
-
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
145
|
-
"version": "2.150.0"
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"constructInfo": {
|
|
150
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
151
|
-
"version": "2.150.0"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"LambdaFunction": {
|
|
155
|
-
"id": "LambdaFunction",
|
|
156
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction",
|
|
157
|
-
"children": {
|
|
158
|
-
"Code": {
|
|
159
|
-
"id": "Code",
|
|
160
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code",
|
|
161
|
-
"children": {
|
|
162
|
-
"Stage": {
|
|
163
|
-
"id": "Stage",
|
|
164
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code/Stage",
|
|
165
|
-
"constructInfo": {
|
|
166
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
167
|
-
"version": "2.150.0"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"AssetBucket": {
|
|
171
|
-
"id": "AssetBucket",
|
|
172
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code/AssetBucket",
|
|
173
|
-
"constructInfo": {
|
|
174
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
175
|
-
"version": "2.150.0"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"constructInfo": {
|
|
180
|
-
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
181
|
-
"version": "2.150.0"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
"Resource": {
|
|
185
|
-
"id": "Resource",
|
|
186
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Resource",
|
|
187
|
-
"attributes": {
|
|
188
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Function",
|
|
189
|
-
"aws:cdk:cloudformation:props": {
|
|
190
|
-
"code": {
|
|
191
|
-
"s3Bucket": {
|
|
192
|
-
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
193
|
-
},
|
|
194
|
-
"s3Key": "0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip"
|
|
195
|
-
},
|
|
196
|
-
"environment": {
|
|
197
|
-
"variables": {
|
|
198
|
-
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"handler": "index.handler",
|
|
202
|
-
"role": {
|
|
203
|
-
"Fn::GetAtt": [
|
|
204
|
-
"testsqslambdaLambdaFunctionServiceRoleF623B438",
|
|
205
|
-
"Arn"
|
|
206
|
-
]
|
|
207
|
-
},
|
|
208
|
-
"runtime": "nodejs20.x",
|
|
209
|
-
"tracingConfig": {
|
|
210
|
-
"mode": "Active"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
"constructInfo": {
|
|
215
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
216
|
-
"version": "2.150.0"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393": {
|
|
220
|
-
"id": "SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393",
|
|
221
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393",
|
|
222
|
-
"children": {
|
|
223
|
-
"Resource": {
|
|
224
|
-
"id": "Resource",
|
|
225
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/LambdaFunction/SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393/Resource",
|
|
226
|
-
"attributes": {
|
|
227
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::EventSourceMapping",
|
|
228
|
-
"aws:cdk:cloudformation:props": {
|
|
229
|
-
"eventSourceArn": {
|
|
230
|
-
"Fn::GetAtt": [
|
|
231
|
-
"testsqslambdaqueue601203B8",
|
|
232
|
-
"Arn"
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
|
-
"functionName": {
|
|
236
|
-
"Ref": "testsqslambdaLambdaFunction58720146"
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
},
|
|
240
|
-
"constructInfo": {
|
|
241
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnEventSourceMapping",
|
|
242
|
-
"version": "2.150.0"
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
"constructInfo": {
|
|
247
|
-
"fqn": "aws-cdk-lib.aws_lambda.EventSourceMapping",
|
|
248
|
-
"version": "2.150.0"
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
},
|
|
252
|
-
"constructInfo": {
|
|
253
|
-
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
254
|
-
"version": "2.150.0"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"queue-dlq": {
|
|
258
|
-
"id": "queue-dlq",
|
|
259
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue-dlq",
|
|
260
|
-
"children": {
|
|
261
|
-
"Resource": {
|
|
262
|
-
"id": "Resource",
|
|
263
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue-dlq/Resource",
|
|
264
|
-
"attributes": {
|
|
265
|
-
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
|
|
266
|
-
"aws:cdk:cloudformation:props": {
|
|
267
|
-
"kmsMasterKeyId": "alias/aws/sqs"
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
"constructInfo": {
|
|
271
|
-
"fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
|
|
272
|
-
"version": "2.150.0"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
"Policy": {
|
|
276
|
-
"id": "Policy",
|
|
277
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue-dlq/Policy",
|
|
278
|
-
"children": {
|
|
279
|
-
"Resource": {
|
|
280
|
-
"id": "Resource",
|
|
281
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue-dlq/Policy/Resource",
|
|
282
|
-
"attributes": {
|
|
283
|
-
"aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
|
|
284
|
-
"aws:cdk:cloudformation:props": {
|
|
285
|
-
"policyDocument": {
|
|
286
|
-
"Statement": [
|
|
287
|
-
{
|
|
288
|
-
"Action": [
|
|
289
|
-
"sqs:AddPermission",
|
|
290
|
-
"sqs:DeleteMessage",
|
|
291
|
-
"sqs:GetQueueAttributes",
|
|
292
|
-
"sqs:ReceiveMessage",
|
|
293
|
-
"sqs:RemovePermission",
|
|
294
|
-
"sqs:SendMessage",
|
|
295
|
-
"sqs:SetQueueAttributes"
|
|
296
|
-
],
|
|
297
|
-
"Effect": "Allow",
|
|
298
|
-
"Principal": {
|
|
299
|
-
"AWS": {
|
|
300
|
-
"Fn::Join": [
|
|
301
|
-
"",
|
|
302
|
-
[
|
|
303
|
-
"arn:",
|
|
304
|
-
{
|
|
305
|
-
"Ref": "AWS::Partition"
|
|
306
|
-
},
|
|
307
|
-
":iam::",
|
|
308
|
-
{
|
|
309
|
-
"Ref": "AWS::AccountId"
|
|
310
|
-
},
|
|
311
|
-
":root"
|
|
312
|
-
]
|
|
313
|
-
]
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
"Resource": {
|
|
317
|
-
"Fn::GetAtt": [
|
|
318
|
-
"testsqslambdaqueuedlq3A0F89AC",
|
|
319
|
-
"Arn"
|
|
320
|
-
]
|
|
321
|
-
},
|
|
322
|
-
"Sid": "QueueOwnerOnlyAccess"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"Action": "SQS:*",
|
|
326
|
-
"Condition": {
|
|
327
|
-
"Bool": {
|
|
328
|
-
"aws:SecureTransport": "false"
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
"Effect": "Deny",
|
|
332
|
-
"Principal": {
|
|
333
|
-
"AWS": "*"
|
|
334
|
-
},
|
|
335
|
-
"Resource": {
|
|
336
|
-
"Fn::GetAtt": [
|
|
337
|
-
"testsqslambdaqueuedlq3A0F89AC",
|
|
338
|
-
"Arn"
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
"Sid": "HttpsOnly"
|
|
342
|
-
}
|
|
343
|
-
],
|
|
344
|
-
"Version": "2012-10-17"
|
|
345
|
-
},
|
|
346
|
-
"queues": [
|
|
347
|
-
{
|
|
348
|
-
"Ref": "testsqslambdaqueuedlq3A0F89AC"
|
|
349
|
-
}
|
|
350
|
-
]
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
"constructInfo": {
|
|
354
|
-
"fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
|
|
355
|
-
"version": "2.150.0"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
"constructInfo": {
|
|
360
|
-
"fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
|
|
361
|
-
"version": "2.150.0"
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
"constructInfo": {
|
|
366
|
-
"fqn": "aws-cdk-lib.aws_sqs.Queue",
|
|
367
|
-
"version": "2.150.0"
|
|
368
|
-
}
|
|
369
|
-
},
|
|
370
|
-
"queue": {
|
|
371
|
-
"id": "queue",
|
|
372
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue",
|
|
373
|
-
"children": {
|
|
374
|
-
"Resource": {
|
|
375
|
-
"id": "Resource",
|
|
376
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue/Resource",
|
|
377
|
-
"attributes": {
|
|
378
|
-
"aws:cdk:cloudformation:type": "AWS::SQS::Queue",
|
|
379
|
-
"aws:cdk:cloudformation:props": {
|
|
380
|
-
"kmsMasterKeyId": "alias/aws/sqs",
|
|
381
|
-
"redrivePolicy": {
|
|
382
|
-
"deadLetterTargetArn": {
|
|
383
|
-
"Fn::GetAtt": [
|
|
384
|
-
"testsqslambdaqueuedlq3A0F89AC",
|
|
385
|
-
"Arn"
|
|
386
|
-
]
|
|
387
|
-
},
|
|
388
|
-
"maxReceiveCount": 3
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
"constructInfo": {
|
|
393
|
-
"fqn": "aws-cdk-lib.aws_sqs.CfnQueue",
|
|
394
|
-
"version": "2.150.0"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
"Policy": {
|
|
398
|
-
"id": "Policy",
|
|
399
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue/Policy",
|
|
400
|
-
"children": {
|
|
401
|
-
"Resource": {
|
|
402
|
-
"id": "Resource",
|
|
403
|
-
"path": "sqslam-deployFunction/test-sqs-lambda/queue/Policy/Resource",
|
|
404
|
-
"attributes": {
|
|
405
|
-
"aws:cdk:cloudformation:type": "AWS::SQS::QueuePolicy",
|
|
406
|
-
"aws:cdk:cloudformation:props": {
|
|
407
|
-
"policyDocument": {
|
|
408
|
-
"Statement": [
|
|
409
|
-
{
|
|
410
|
-
"Action": [
|
|
411
|
-
"sqs:AddPermission",
|
|
412
|
-
"sqs:DeleteMessage",
|
|
413
|
-
"sqs:GetQueueAttributes",
|
|
414
|
-
"sqs:ReceiveMessage",
|
|
415
|
-
"sqs:RemovePermission",
|
|
416
|
-
"sqs:SendMessage",
|
|
417
|
-
"sqs:SetQueueAttributes"
|
|
418
|
-
],
|
|
419
|
-
"Effect": "Allow",
|
|
420
|
-
"Principal": {
|
|
421
|
-
"AWS": {
|
|
422
|
-
"Fn::Join": [
|
|
423
|
-
"",
|
|
424
|
-
[
|
|
425
|
-
"arn:",
|
|
426
|
-
{
|
|
427
|
-
"Ref": "AWS::Partition"
|
|
428
|
-
},
|
|
429
|
-
":iam::",
|
|
430
|
-
{
|
|
431
|
-
"Ref": "AWS::AccountId"
|
|
432
|
-
},
|
|
433
|
-
":root"
|
|
434
|
-
]
|
|
435
|
-
]
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
"Resource": {
|
|
439
|
-
"Fn::GetAtt": [
|
|
440
|
-
"testsqslambdaqueue601203B8",
|
|
441
|
-
"Arn"
|
|
442
|
-
]
|
|
443
|
-
},
|
|
444
|
-
"Sid": "QueueOwnerOnlyAccess"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"Action": "SQS:*",
|
|
448
|
-
"Condition": {
|
|
449
|
-
"Bool": {
|
|
450
|
-
"aws:SecureTransport": "false"
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
"Effect": "Deny",
|
|
454
|
-
"Principal": {
|
|
455
|
-
"AWS": "*"
|
|
456
|
-
},
|
|
457
|
-
"Resource": {
|
|
458
|
-
"Fn::GetAtt": [
|
|
459
|
-
"testsqslambdaqueue601203B8",
|
|
460
|
-
"Arn"
|
|
461
|
-
]
|
|
462
|
-
},
|
|
463
|
-
"Sid": "HttpsOnly"
|
|
464
|
-
}
|
|
465
|
-
],
|
|
466
|
-
"Version": "2012-10-17"
|
|
467
|
-
},
|
|
468
|
-
"queues": [
|
|
469
|
-
{
|
|
470
|
-
"Ref": "testsqslambdaqueue601203B8"
|
|
471
|
-
}
|
|
472
|
-
]
|
|
473
|
-
}
|
|
474
|
-
},
|
|
475
|
-
"constructInfo": {
|
|
476
|
-
"fqn": "aws-cdk-lib.aws_sqs.CfnQueuePolicy",
|
|
477
|
-
"version": "2.150.0"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
"constructInfo": {
|
|
482
|
-
"fqn": "aws-cdk-lib.aws_sqs.QueuePolicy",
|
|
483
|
-
"version": "2.150.0"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
},
|
|
487
|
-
"constructInfo": {
|
|
488
|
-
"fqn": "aws-cdk-lib.aws_sqs.Queue",
|
|
489
|
-
"version": "2.150.0"
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"constructInfo": {
|
|
494
|
-
"fqn": "@aws-solutions-constructs/aws-sqs-lambda.SqsToLambda",
|
|
495
|
-
"version": "2.63.0"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"Integ": {
|
|
499
|
-
"id": "Integ",
|
|
500
|
-
"path": "sqslam-deployFunction/Integ",
|
|
501
|
-
"children": {
|
|
502
|
-
"DefaultTest": {
|
|
503
|
-
"id": "DefaultTest",
|
|
504
|
-
"path": "sqslam-deployFunction/Integ/DefaultTest",
|
|
505
|
-
"children": {
|
|
506
|
-
"Default": {
|
|
507
|
-
"id": "Default",
|
|
508
|
-
"path": "sqslam-deployFunction/Integ/DefaultTest/Default",
|
|
509
|
-
"constructInfo": {
|
|
510
|
-
"fqn": "constructs.Construct",
|
|
511
|
-
"version": "10.3.0"
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"DeployAssert": {
|
|
515
|
-
"id": "DeployAssert",
|
|
516
|
-
"path": "sqslam-deployFunction/Integ/DefaultTest/DeployAssert",
|
|
517
|
-
"children": {
|
|
518
|
-
"BootstrapVersion": {
|
|
519
|
-
"id": "BootstrapVersion",
|
|
520
|
-
"path": "sqslam-deployFunction/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
521
|
-
"constructInfo": {
|
|
522
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
523
|
-
"version": "2.150.0"
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
"CheckBootstrapVersion": {
|
|
527
|
-
"id": "CheckBootstrapVersion",
|
|
528
|
-
"path": "sqslam-deployFunction/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
529
|
-
"constructInfo": {
|
|
530
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
531
|
-
"version": "2.150.0"
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"constructInfo": {
|
|
536
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
537
|
-
"version": "2.150.0"
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
"constructInfo": {
|
|
542
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
543
|
-
"version": "2.150.0-alpha.0"
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
"constructInfo": {
|
|
548
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
549
|
-
"version": "2.150.0-alpha.0"
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
"BootstrapVersion": {
|
|
553
|
-
"id": "BootstrapVersion",
|
|
554
|
-
"path": "sqslam-deployFunction/BootstrapVersion",
|
|
555
|
-
"constructInfo": {
|
|
556
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
557
|
-
"version": "2.150.0"
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"CheckBootstrapVersion": {
|
|
561
|
-
"id": "CheckBootstrapVersion",
|
|
562
|
-
"path": "sqslam-deployFunction/CheckBootstrapVersion",
|
|
563
|
-
"constructInfo": {
|
|
564
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
565
|
-
"version": "2.150.0"
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
"constructInfo": {
|
|
570
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
571
|
-
"version": "2.150.0"
|
|
572
|
-
}
|
|
573
|
-
},
|
|
574
|
-
"Tree": {
|
|
575
|
-
"id": "Tree",
|
|
576
|
-
"path": "Tree",
|
|
577
|
-
"constructInfo": {
|
|
578
|
-
"fqn": "constructs.Construct",
|
|
579
|
-
"version": "10.3.0"
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
"constructInfo": {
|
|
584
|
-
"fqn": "aws-cdk-lib.App",
|
|
585
|
-
"version": "2.150.0"
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","children":{"sqslam-deployFunction":{"id":"sqslam-deployFunction","path":"sqslam-deployFunction","children":{"test-sqs-lambda":{"id":"test-sqs-lambda","path":"sqslam-deployFunction/test-sqs-lambda","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/Resource","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"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunctionServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["sqs:ChangeMessageVisibility","sqs:DeleteMessage","sqs:GetQueueAttributes","sqs:GetQueueUrl","sqs:ReceiveMessage"],"Effect":"Allow","Resource":{"Fn::GetAtt":["testsqslambdaqueue601203B8","Arn"]}}],"Version":"2012-10-17"},"policyName":"testsqslambdaLambdaFunctionServiceRoleDefaultPolicy380B065C","roles":[{"Ref":"testsqslambdaLambdaFunctionServiceRoleF623B438"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction","children":{"Code":{"id":"Code","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"0904d3723480fed2daf7885caa427b930881caae6879d1e6b0d395020173ef6f.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["testsqslambdaLambdaFunctionServiceRoleF623B438","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testsqslambdaLambdaFunctioninlinePolicyAddedToExecutionRole0CEC1E15F","roles":[{"Ref":"testsqslambdaLambdaFunctionServiceRoleF623B438"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}},"SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393":{"id":"SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/LambdaFunction/SqsEventSource:sqslamdeployFunctiontestsqslambdaqueueAA417393/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::EventSourceMapping","aws:cdk:cloudformation:props":{"eventSourceArn":{"Fn::GetAtt":["testsqslambdaqueue601203B8","Arn"]},"functionName":{"Ref":"testsqslambdaLambdaFunction58720146"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnEventSourceMapping","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.EventSourceMapping","version":"2.186.0","metadata":[{"target":"*","batchSize":"*","maxBatchingWindow":"*","maxConcurrency":"*","reportBatchItemFailures":"*","enabled":"*","eventSourceArn":"*","filters":"*","filterEncryption":"*","metricsConfig":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","runtime":"*","handler":"*","code":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]}]}},"queue-dlq":{"id":"queue-dlq","path":"sqslam-deployFunction/test-sqs-lambda/queue-dlq","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/queue-dlq/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::Queue","aws:cdk:cloudformation:props":{"kmsMasterKeyId":"alias/aws/sqs"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueue","version":"2.186.0"}},"Policy":{"id":"Policy","path":"sqslam-deployFunction/test-sqs-lambda/queue-dlq/Policy","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/queue-dlq/Policy/Resource","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":["testsqslambdaqueuedlq3A0F89AC","Arn"]},"Sid":"QueueOwnerOnlyAccess"},{"Action":"SQS:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":{"Fn::GetAtt":["testsqslambdaqueuedlq3A0F89AC","Arn"]},"Sid":"HttpsOnly"}],"Version":"2012-10-17"},"queues":[{"Ref":"testsqslambdaqueuedlq3A0F89AC"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueuePolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.QueuePolicy","version":"2.186.0","metadata":[{"queues":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.Queue","version":"2.186.0","metadata":[{"encryption":"KMS_MANAGED","fifo":"*"}]}},"queue":{"id":"queue","path":"sqslam-deployFunction/test-sqs-lambda/queue","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/queue/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::SQS::Queue","aws:cdk:cloudformation:props":{"kmsMasterKeyId":"alias/aws/sqs","redrivePolicy":{"deadLetterTargetArn":{"Fn::GetAtt":["testsqslambdaqueuedlq3A0F89AC","Arn"]},"maxReceiveCount":3}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueue","version":"2.186.0"}},"Policy":{"id":"Policy","path":"sqslam-deployFunction/test-sqs-lambda/queue/Policy","children":{"Resource":{"id":"Resource","path":"sqslam-deployFunction/test-sqs-lambda/queue/Policy/Resource","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":["testsqslambdaqueue601203B8","Arn"]},"Sid":"QueueOwnerOnlyAccess"},{"Action":"SQS:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":{"Fn::GetAtt":["testsqslambdaqueue601203B8","Arn"]},"Sid":"HttpsOnly"}],"Version":"2012-10-17"},"queues":[{"Ref":"testsqslambdaqueue601203B8"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.CfnQueuePolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.QueuePolicy","version":"2.186.0","metadata":[{"queues":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_sqs.Queue","version":"2.186.0","metadata":[{"encryption":"KMS_MANAGED","fifo":"*","deadLetterQueue":{"maxReceiveCount":"*","queue":"*"}}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-sqs-lambda.SqsToLambda","version":"2.80.0"}},"Integ":{"id":"Integ","path":"sqslam-deployFunction/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"sqslam-deployFunction/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"sqslam-deployFunction/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"sqslam-deployFunction/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"sqslam-deployFunction/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"sqslam-deployFunction/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"sqslam-deployFunction/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"sqslam-deployFunction/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"40.0.0"}
|