@aws-solutions-constructs/aws-sns-lambda 2.50.0 → 2.52.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.
@@ -0,0 +1,515 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "snslam-no-arguments": {
8
+ "id": "snslam-no-arguments",
9
+ "path": "snslam-no-arguments",
10
+ "children": {
11
+ "test-sns-lambda": {
12
+ "id": "test-sns-lambda",
13
+ "path": "snslam-no-arguments/test-sns-lambda",
14
+ "children": {
15
+ "LambdaFunctionServiceRole": {
16
+ "id": "LambdaFunctionServiceRole",
17
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunctionServiceRole",
18
+ "children": {
19
+ "ImportLambdaFunctionServiceRole": {
20
+ "id": "ImportLambdaFunctionServiceRole",
21
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
+ "constructInfo": {
23
+ "fqn": "aws-cdk-lib.Resource",
24
+ "version": "2.118.0"
25
+ }
26
+ },
27
+ "Resource": {
28
+ "id": "Resource",
29
+ "path": "snslam-no-arguments/test-sns-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.118.0"
88
+ }
89
+ },
90
+ "DefaultPolicy": {
91
+ "id": "DefaultPolicy",
92
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunctionServiceRole/DefaultPolicy",
93
+ "children": {
94
+ "Resource": {
95
+ "id": "Resource",
96
+ "path": "snslam-no-arguments/test-sns-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
+ "Version": "2012-10-17"
112
+ },
113
+ "policyName": "testsnslambdaLambdaFunctionServiceRoleDefaultPolicy3E6745ED",
114
+ "roles": [
115
+ {
116
+ "Ref": "testsnslambdaLambdaFunctionServiceRole23794781"
117
+ }
118
+ ]
119
+ }
120
+ },
121
+ "constructInfo": {
122
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
123
+ "version": "2.118.0"
124
+ }
125
+ }
126
+ },
127
+ "constructInfo": {
128
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
129
+ "version": "2.118.0"
130
+ }
131
+ }
132
+ },
133
+ "constructInfo": {
134
+ "fqn": "aws-cdk-lib.aws_iam.Role",
135
+ "version": "2.118.0"
136
+ }
137
+ },
138
+ "LambdaFunction": {
139
+ "id": "LambdaFunction",
140
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction",
141
+ "children": {
142
+ "Code": {
143
+ "id": "Code",
144
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/Code",
145
+ "children": {
146
+ "Stage": {
147
+ "id": "Stage",
148
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/Code/Stage",
149
+ "constructInfo": {
150
+ "fqn": "aws-cdk-lib.AssetStaging",
151
+ "version": "2.118.0"
152
+ }
153
+ },
154
+ "AssetBucket": {
155
+ "id": "AssetBucket",
156
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/Code/AssetBucket",
157
+ "constructInfo": {
158
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
159
+ "version": "2.118.0"
160
+ }
161
+ }
162
+ },
163
+ "constructInfo": {
164
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
165
+ "version": "2.118.0"
166
+ }
167
+ },
168
+ "Resource": {
169
+ "id": "Resource",
170
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/Resource",
171
+ "attributes": {
172
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
173
+ "aws:cdk:cloudformation:props": {
174
+ "code": {
175
+ "s3Bucket": {
176
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
177
+ },
178
+ "s3Key": "0c3255e93ffe7a906c7422e9f0e9cc4c7fd86ee996ee3bb302e2f134b38463c8.zip"
179
+ },
180
+ "environment": {
181
+ "variables": {
182
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
183
+ }
184
+ },
185
+ "handler": "index.handler",
186
+ "role": {
187
+ "Fn::GetAtt": [
188
+ "testsnslambdaLambdaFunctionServiceRole23794781",
189
+ "Arn"
190
+ ]
191
+ },
192
+ "runtime": "nodejs16.x",
193
+ "tracingConfig": {
194
+ "mode": "Active"
195
+ }
196
+ }
197
+ },
198
+ "constructInfo": {
199
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
200
+ "version": "2.118.0"
201
+ }
202
+ },
203
+ "AllowInvoke:snslamnoargumentstestsnslambdaSnsTopicC2A35224": {
204
+ "id": "AllowInvoke:snslamnoargumentstestsnslambdaSnsTopicC2A35224",
205
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/AllowInvoke:snslamnoargumentstestsnslambdaSnsTopicC2A35224",
206
+ "attributes": {
207
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
208
+ "aws:cdk:cloudformation:props": {
209
+ "action": "lambda:InvokeFunction",
210
+ "functionName": {
211
+ "Fn::GetAtt": [
212
+ "testsnslambdaLambdaFunctionEE9A249B",
213
+ "Arn"
214
+ ]
215
+ },
216
+ "principal": "sns.amazonaws.com",
217
+ "sourceArn": {
218
+ "Ref": "testsnslambdaSnsTopic52CA159E"
219
+ }
220
+ }
221
+ },
222
+ "constructInfo": {
223
+ "fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
224
+ "version": "2.118.0"
225
+ }
226
+ },
227
+ "SnsTopic": {
228
+ "id": "SnsTopic",
229
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/SnsTopic",
230
+ "children": {
231
+ "Resource": {
232
+ "id": "Resource",
233
+ "path": "snslam-no-arguments/test-sns-lambda/LambdaFunction/SnsTopic/Resource",
234
+ "attributes": {
235
+ "aws:cdk:cloudformation:type": "AWS::SNS::Subscription",
236
+ "aws:cdk:cloudformation:props": {
237
+ "endpoint": {
238
+ "Fn::GetAtt": [
239
+ "testsnslambdaLambdaFunctionEE9A249B",
240
+ "Arn"
241
+ ]
242
+ },
243
+ "protocol": "lambda",
244
+ "topicArn": {
245
+ "Ref": "testsnslambdaSnsTopic52CA159E"
246
+ }
247
+ }
248
+ },
249
+ "constructInfo": {
250
+ "fqn": "aws-cdk-lib.aws_sns.CfnSubscription",
251
+ "version": "2.118.0"
252
+ }
253
+ }
254
+ },
255
+ "constructInfo": {
256
+ "fqn": "aws-cdk-lib.aws_sns.Subscription",
257
+ "version": "2.118.0"
258
+ }
259
+ }
260
+ },
261
+ "constructInfo": {
262
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
263
+ "version": "2.118.0"
264
+ }
265
+ },
266
+ "aws-managed-key": {
267
+ "id": "aws-managed-key",
268
+ "path": "snslam-no-arguments/test-sns-lambda/aws-managed-key",
269
+ "constructInfo": {
270
+ "fqn": "aws-cdk-lib.Resource",
271
+ "version": "2.118.0"
272
+ }
273
+ },
274
+ "SnsTopic": {
275
+ "id": "SnsTopic",
276
+ "path": "snslam-no-arguments/test-sns-lambda/SnsTopic",
277
+ "children": {
278
+ "Resource": {
279
+ "id": "Resource",
280
+ "path": "snslam-no-arguments/test-sns-lambda/SnsTopic/Resource",
281
+ "attributes": {
282
+ "aws:cdk:cloudformation:type": "AWS::SNS::Topic",
283
+ "aws:cdk:cloudformation:props": {
284
+ "kmsMasterKeyId": {
285
+ "Fn::Join": [
286
+ "",
287
+ [
288
+ "arn:",
289
+ {
290
+ "Ref": "AWS::Partition"
291
+ },
292
+ ":kms:",
293
+ {
294
+ "Ref": "AWS::Region"
295
+ },
296
+ ":",
297
+ {
298
+ "Ref": "AWS::AccountId"
299
+ },
300
+ ":alias/aws/sns"
301
+ ]
302
+ ]
303
+ }
304
+ }
305
+ },
306
+ "constructInfo": {
307
+ "fqn": "aws-cdk-lib.aws_sns.CfnTopic",
308
+ "version": "2.118.0"
309
+ }
310
+ },
311
+ "Policy": {
312
+ "id": "Policy",
313
+ "path": "snslam-no-arguments/test-sns-lambda/SnsTopic/Policy",
314
+ "children": {
315
+ "Resource": {
316
+ "id": "Resource",
317
+ "path": "snslam-no-arguments/test-sns-lambda/SnsTopic/Policy/Resource",
318
+ "attributes": {
319
+ "aws:cdk:cloudformation:type": "AWS::SNS::TopicPolicy",
320
+ "aws:cdk:cloudformation:props": {
321
+ "policyDocument": {
322
+ "Statement": [
323
+ {
324
+ "Action": [
325
+ "SNS:AddPermission",
326
+ "SNS:DeleteTopic",
327
+ "SNS:GetTopicAttributes",
328
+ "SNS:ListSubscriptionsByTopic",
329
+ "SNS:Publish",
330
+ "SNS:Receive",
331
+ "SNS:RemovePermission",
332
+ "SNS:SetTopicAttributes",
333
+ "SNS:Subscribe"
334
+ ],
335
+ "Condition": {
336
+ "StringEquals": {
337
+ "AWS:SourceOwner": {
338
+ "Ref": "AWS::AccountId"
339
+ }
340
+ }
341
+ },
342
+ "Effect": "Allow",
343
+ "Principal": {
344
+ "AWS": {
345
+ "Fn::Join": [
346
+ "",
347
+ [
348
+ "arn:",
349
+ {
350
+ "Ref": "AWS::Partition"
351
+ },
352
+ ":iam::",
353
+ {
354
+ "Ref": "AWS::AccountId"
355
+ },
356
+ ":root"
357
+ ]
358
+ ]
359
+ }
360
+ },
361
+ "Resource": {
362
+ "Ref": "testsnslambdaSnsTopic52CA159E"
363
+ },
364
+ "Sid": "TopicOwnerOnlyAccess"
365
+ },
366
+ {
367
+ "Action": [
368
+ "SNS:AddPermission",
369
+ "SNS:DeleteTopic",
370
+ "SNS:GetTopicAttributes",
371
+ "SNS:ListSubscriptionsByTopic",
372
+ "SNS:Publish",
373
+ "SNS:Receive",
374
+ "SNS:RemovePermission",
375
+ "SNS:SetTopicAttributes",
376
+ "SNS:Subscribe"
377
+ ],
378
+ "Condition": {
379
+ "Bool": {
380
+ "aws:SecureTransport": "false"
381
+ }
382
+ },
383
+ "Effect": "Deny",
384
+ "Principal": {
385
+ "AWS": "*"
386
+ },
387
+ "Resource": {
388
+ "Ref": "testsnslambdaSnsTopic52CA159E"
389
+ },
390
+ "Sid": "HttpsOnly"
391
+ }
392
+ ],
393
+ "Version": "2012-10-17"
394
+ },
395
+ "topics": [
396
+ {
397
+ "Ref": "testsnslambdaSnsTopic52CA159E"
398
+ }
399
+ ]
400
+ }
401
+ },
402
+ "constructInfo": {
403
+ "fqn": "aws-cdk-lib.aws_sns.CfnTopicPolicy",
404
+ "version": "2.118.0"
405
+ }
406
+ }
407
+ },
408
+ "constructInfo": {
409
+ "fqn": "aws-cdk-lib.aws_sns.TopicPolicy",
410
+ "version": "2.118.0"
411
+ }
412
+ }
413
+ },
414
+ "constructInfo": {
415
+ "fqn": "aws-cdk-lib.aws_sns.Topic",
416
+ "version": "2.118.0"
417
+ }
418
+ }
419
+ },
420
+ "constructInfo": {
421
+ "fqn": "@aws-solutions-constructs/aws-sns-lambda.SnsToLambda",
422
+ "version": "2.50.0"
423
+ }
424
+ },
425
+ "Integ": {
426
+ "id": "Integ",
427
+ "path": "snslam-no-arguments/Integ",
428
+ "children": {
429
+ "DefaultTest": {
430
+ "id": "DefaultTest",
431
+ "path": "snslam-no-arguments/Integ/DefaultTest",
432
+ "children": {
433
+ "Default": {
434
+ "id": "Default",
435
+ "path": "snslam-no-arguments/Integ/DefaultTest/Default",
436
+ "constructInfo": {
437
+ "fqn": "constructs.Construct",
438
+ "version": "10.0.0"
439
+ }
440
+ },
441
+ "DeployAssert": {
442
+ "id": "DeployAssert",
443
+ "path": "snslam-no-arguments/Integ/DefaultTest/DeployAssert",
444
+ "children": {
445
+ "BootstrapVersion": {
446
+ "id": "BootstrapVersion",
447
+ "path": "snslam-no-arguments/Integ/DefaultTest/DeployAssert/BootstrapVersion",
448
+ "constructInfo": {
449
+ "fqn": "aws-cdk-lib.CfnParameter",
450
+ "version": "2.118.0"
451
+ }
452
+ },
453
+ "CheckBootstrapVersion": {
454
+ "id": "CheckBootstrapVersion",
455
+ "path": "snslam-no-arguments/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
456
+ "constructInfo": {
457
+ "fqn": "aws-cdk-lib.CfnRule",
458
+ "version": "2.118.0"
459
+ }
460
+ }
461
+ },
462
+ "constructInfo": {
463
+ "fqn": "aws-cdk-lib.Stack",
464
+ "version": "2.118.0"
465
+ }
466
+ }
467
+ },
468
+ "constructInfo": {
469
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
470
+ "version": "2.118.0-alpha.0"
471
+ }
472
+ }
473
+ },
474
+ "constructInfo": {
475
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
476
+ "version": "2.118.0-alpha.0"
477
+ }
478
+ },
479
+ "BootstrapVersion": {
480
+ "id": "BootstrapVersion",
481
+ "path": "snslam-no-arguments/BootstrapVersion",
482
+ "constructInfo": {
483
+ "fqn": "aws-cdk-lib.CfnParameter",
484
+ "version": "2.118.0"
485
+ }
486
+ },
487
+ "CheckBootstrapVersion": {
488
+ "id": "CheckBootstrapVersion",
489
+ "path": "snslam-no-arguments/CheckBootstrapVersion",
490
+ "constructInfo": {
491
+ "fqn": "aws-cdk-lib.CfnRule",
492
+ "version": "2.118.0"
493
+ }
494
+ }
495
+ },
496
+ "constructInfo": {
497
+ "fqn": "aws-cdk-lib.Stack",
498
+ "version": "2.118.0"
499
+ }
500
+ },
501
+ "Tree": {
502
+ "id": "Tree",
503
+ "path": "Tree",
504
+ "constructInfo": {
505
+ "fqn": "constructs.Construct",
506
+ "version": "10.0.0"
507
+ }
508
+ }
509
+ },
510
+ "constructInfo": {
511
+ "fqn": "aws-cdk-lib.App",
512
+ "version": "2.118.0"
513
+ }
514
+ }
515
+ }