@aws-solutions-constructs/aws-lambda-sns 2.79.0 → 2.80.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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "39.0.0",
2
+ "version": "40.0.0",
3
3
  "artifacts": {
4
4
  "lamsnsdeployFunctionWithVpcIntegDefaultTestDeployAssertEDF33408.assets": {
5
5
  "type": "cdk:asset-manifest",
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/fa852462691caa3089915c8467f5bdcc5c8099c50c63ef472c5b033840c25574.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/16ad0e6e8194649abdd9ba42beb94348979d5cb100bc1afe2e6ad5de6829fe9c.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -82,48 +82,274 @@
82
82
  "lamsns-deployFunctionWithVpc.assets"
83
83
  ],
84
84
  "metadata": {
85
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole": [
86
+ {
87
+ "type": "aws:cdk:analytics:construct",
88
+ "data": {
89
+ "assumedBy": {
90
+ "principalAccount": "*",
91
+ "assumeRoleAction": "*"
92
+ },
93
+ "inlinePolicies": "*"
94
+ }
95
+ },
96
+ {
97
+ "type": "aws:cdk:analytics:method",
98
+ "data": {
99
+ "addToPolicy": [
100
+ {}
101
+ ]
102
+ }
103
+ },
104
+ {
105
+ "type": "aws:cdk:analytics:method",
106
+ "data": {
107
+ "addToPrincipalPolicy": [
108
+ {}
109
+ ]
110
+ }
111
+ },
112
+ {
113
+ "type": "aws:cdk:analytics:method",
114
+ "data": {
115
+ "attachInlinePolicy": [
116
+ "*"
117
+ ]
118
+ }
119
+ },
120
+ {
121
+ "type": "aws:cdk:analytics:method",
122
+ "data": {
123
+ "attachInlinePolicy": [
124
+ "*"
125
+ ]
126
+ }
127
+ },
128
+ {
129
+ "type": "aws:cdk:analytics:method",
130
+ "data": {
131
+ "addToPrincipalPolicy": [
132
+ {}
133
+ ]
134
+ }
135
+ },
136
+ {
137
+ "type": "aws:cdk:analytics:method",
138
+ "data": {
139
+ "addToPrincipalPolicy": [
140
+ {}
141
+ ]
142
+ }
143
+ }
144
+ ],
145
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole": [
146
+ {
147
+ "type": "aws:cdk:analytics:construct",
148
+ "data": "*"
149
+ }
150
+ ],
85
151
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/Resource": [
86
152
  {
87
153
  "type": "aws:cdk:logicalId",
88
154
  "data": "testlambdasnsLambdaFunctionServiceRole9C412F74"
89
155
  }
90
156
  ],
157
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/DefaultPolicy": [
158
+ {
159
+ "type": "aws:cdk:analytics:construct",
160
+ "data": "*"
161
+ },
162
+ {
163
+ "type": "aws:cdk:analytics:method",
164
+ "data": {
165
+ "attachToRole": [
166
+ "*"
167
+ ]
168
+ }
169
+ },
170
+ {
171
+ "type": "aws:cdk:analytics:method",
172
+ "data": {
173
+ "attachToRole": [
174
+ "*"
175
+ ]
176
+ }
177
+ },
178
+ {
179
+ "type": "aws:cdk:analytics:method",
180
+ "data": {
181
+ "addStatements": [
182
+ {}
183
+ ]
184
+ }
185
+ },
186
+ {
187
+ "type": "aws:cdk:analytics:method",
188
+ "data": {
189
+ "addStatements": [
190
+ {}
191
+ ]
192
+ }
193
+ },
194
+ {
195
+ "type": "aws:cdk:analytics:method",
196
+ "data": {
197
+ "addStatements": [
198
+ {}
199
+ ]
200
+ }
201
+ }
202
+ ],
91
203
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunctionServiceRole/DefaultPolicy/Resource": [
92
204
  {
93
205
  "type": "aws:cdk:logicalId",
94
206
  "data": "testlambdasnsLambdaFunctionServiceRoleDefaultPolicyBB1D55CB"
95
207
  }
96
208
  ],
209
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group": [
210
+ {
211
+ "type": "aws:cdk:analytics:construct",
212
+ "data": {
213
+ "vpc": "*",
214
+ "allowAllOutbound": true
215
+ }
216
+ }
217
+ ],
97
218
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/ReplaceDefaultSecurityGroup-security-group/Resource": [
98
219
  {
99
220
  "type": "aws:cdk:logicalId",
100
221
  "data": "testlambdasnsReplaceDefaultSecurityGroupsecuritygroup071D13CB"
101
222
  }
102
223
  ],
224
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction": [
225
+ {
226
+ "type": "aws:cdk:analytics:construct",
227
+ "data": {
228
+ "role": "*",
229
+ "tracing": "Active",
230
+ "runtime": "*",
231
+ "handler": "*",
232
+ "code": "*",
233
+ "securityGroups": [
234
+ "*"
235
+ ],
236
+ "vpc": "*"
237
+ }
238
+ },
239
+ {
240
+ "type": "aws:cdk:analytics:method",
241
+ "data": {
242
+ "addEnvironment": [
243
+ "*",
244
+ "*",
245
+ {
246
+ "removeInEdge": true
247
+ }
248
+ ]
249
+ }
250
+ },
251
+ {
252
+ "type": "aws:cdk:analytics:method",
253
+ "data": {
254
+ "addEnvironment": [
255
+ "*",
256
+ "*"
257
+ ]
258
+ }
259
+ },
260
+ {
261
+ "type": "aws:cdk:analytics:method",
262
+ "data": {
263
+ "addEnvironment": [
264
+ "*",
265
+ "*"
266
+ ]
267
+ }
268
+ }
269
+ ],
103
270
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/LambdaFunction/Resource": [
104
271
  {
105
272
  "type": "aws:cdk:logicalId",
106
273
  "data": "testlambdasnsLambdaFunctionD8BC8ABA"
107
274
  }
108
275
  ],
276
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic": [
277
+ {
278
+ "type": "aws:cdk:analytics:construct",
279
+ "data": {
280
+ "masterKey": "*"
281
+ }
282
+ }
283
+ ],
109
284
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Resource": [
110
285
  {
111
286
  "type": "aws:cdk:logicalId",
112
287
  "data": "testlambdasnsSnsTopic57DFED98"
113
288
  }
114
289
  ],
290
+ "/lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy": [
291
+ {
292
+ "type": "aws:cdk:analytics:construct",
293
+ "data": {
294
+ "topics": [
295
+ "*"
296
+ ]
297
+ }
298
+ }
299
+ ],
115
300
  "/lamsns-deployFunctionWithVpc/test-lambda-sns/SnsTopic/Policy/Resource": [
116
301
  {
117
302
  "type": "aws:cdk:logicalId",
118
303
  "data": "testlambdasnsSnsTopicPolicy4481ABC3"
119
304
  }
120
305
  ],
306
+ "/lamsns-deployFunctionWithVpc/Vpc": [
307
+ {
308
+ "type": "aws:cdk:analytics:construct",
309
+ "data": {
310
+ "natGateways": "*",
311
+ "subnetConfiguration": [
312
+ {
313
+ "cidrMask": "*",
314
+ "name": "*",
315
+ "subnetType": "Isolated"
316
+ }
317
+ ],
318
+ "enableDnsHostnames": true,
319
+ "enableDnsSupport": true
320
+ }
321
+ }
322
+ ],
121
323
  "/lamsns-deployFunctionWithVpc/Vpc/Resource": [
122
324
  {
123
325
  "type": "aws:cdk:logicalId",
124
326
  "data": "Vpc8378EB38"
125
327
  }
126
328
  ],
329
+ "/lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1": [
330
+ {
331
+ "type": "aws:cdk:analytics:construct",
332
+ "data": {
333
+ "availabilityZone": "*",
334
+ "vpcId": "*",
335
+ "cidrBlock": "*",
336
+ "mapPublicIpOnLaunch": false,
337
+ "ipv6CidrBlock": "*",
338
+ "assignIpv6AddressOnCreation": "*"
339
+ }
340
+ },
341
+ {
342
+ "type": "aws:cdk:analytics:construct",
343
+ "data": {
344
+ "availabilityZone": "*",
345
+ "vpcId": "*",
346
+ "cidrBlock": "*",
347
+ "mapPublicIpOnLaunch": false,
348
+ "ipv6CidrBlock": "*",
349
+ "assignIpv6AddressOnCreation": "*"
350
+ }
351
+ }
352
+ ],
127
353
  "/lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet1/Subnet": [
128
354
  {
129
355
  "type": "aws:cdk:logicalId",
@@ -142,6 +368,30 @@
142
368
  "data": "VpcisolatedSubnet1RouteTableAssociationD259E31A"
143
369
  }
144
370
  ],
371
+ "/lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2": [
372
+ {
373
+ "type": "aws:cdk:analytics:construct",
374
+ "data": {
375
+ "availabilityZone": "*",
376
+ "vpcId": "*",
377
+ "cidrBlock": "*",
378
+ "mapPublicIpOnLaunch": false,
379
+ "ipv6CidrBlock": "*",
380
+ "assignIpv6AddressOnCreation": "*"
381
+ }
382
+ },
383
+ {
384
+ "type": "aws:cdk:analytics:construct",
385
+ "data": {
386
+ "availabilityZone": "*",
387
+ "vpcId": "*",
388
+ "cidrBlock": "*",
389
+ "mapPublicIpOnLaunch": false,
390
+ "ipv6CidrBlock": "*",
391
+ "assignIpv6AddressOnCreation": "*"
392
+ }
393
+ }
394
+ ],
145
395
  "/lamsns-deployFunctionWithVpc/Vpc/isolatedSubnet2/Subnet": [
146
396
  {
147
397
  "type": "aws:cdk:logicalId",
@@ -160,24 +410,132 @@
160
410
  "data": "VpcisolatedSubnet2RouteTableAssociation25A4716F"
161
411
  }
162
412
  ],
413
+ "/lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource": [
414
+ {
415
+ "type": "aws:cdk:analytics:construct",
416
+ "data": "*"
417
+ }
418
+ ],
163
419
  "/lamsns-deployFunctionWithVpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default": [
164
420
  {
165
421
  "type": "aws:cdk:logicalId",
166
422
  "data": "VpcRestrictDefaultSecurityGroupCustomResourceC73DA2BE"
167
423
  }
168
424
  ],
425
+ "/lamsns-deployFunctionWithVpc/Vpc/FlowLog": [
426
+ {
427
+ "type": "aws:cdk:analytics:construct",
428
+ "data": {
429
+ "resourceType": "*"
430
+ }
431
+ }
432
+ ],
433
+ "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole": [
434
+ {
435
+ "type": "aws:cdk:analytics:construct",
436
+ "data": {
437
+ "roleName": "*",
438
+ "assumedBy": {
439
+ "principalAccount": "*",
440
+ "assumeRoleAction": "*"
441
+ }
442
+ }
443
+ },
444
+ {
445
+ "type": "aws:cdk:analytics:method",
446
+ "data": {
447
+ "addToPrincipalPolicy": [
448
+ {}
449
+ ]
450
+ }
451
+ },
452
+ {
453
+ "type": "aws:cdk:analytics:method",
454
+ "data": {
455
+ "attachInlinePolicy": [
456
+ "*"
457
+ ]
458
+ }
459
+ },
460
+ {
461
+ "type": "aws:cdk:analytics:method",
462
+ "data": {
463
+ "attachInlinePolicy": [
464
+ "*"
465
+ ]
466
+ }
467
+ },
468
+ {
469
+ "type": "aws:cdk:analytics:method",
470
+ "data": {
471
+ "addToPrincipalPolicy": [
472
+ {}
473
+ ]
474
+ }
475
+ }
476
+ ],
477
+ "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/ImportIAMRole": [
478
+ {
479
+ "type": "aws:cdk:analytics:construct",
480
+ "data": "*"
481
+ }
482
+ ],
169
483
  "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/Resource": [
170
484
  {
171
485
  "type": "aws:cdk:logicalId",
172
486
  "data": "VpcFlowLogIAMRole6A475D41"
173
487
  }
174
488
  ],
489
+ "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy": [
490
+ {
491
+ "type": "aws:cdk:analytics:construct",
492
+ "data": "*"
493
+ },
494
+ {
495
+ "type": "aws:cdk:analytics:method",
496
+ "data": {
497
+ "attachToRole": [
498
+ "*"
499
+ ]
500
+ }
501
+ },
502
+ {
503
+ "type": "aws:cdk:analytics:method",
504
+ "data": {
505
+ "attachToRole": [
506
+ "*"
507
+ ]
508
+ }
509
+ },
510
+ {
511
+ "type": "aws:cdk:analytics:method",
512
+ "data": {
513
+ "addStatements": [
514
+ {}
515
+ ]
516
+ }
517
+ },
518
+ {
519
+ "type": "aws:cdk:analytics:method",
520
+ "data": {
521
+ "addStatements": [
522
+ {}
523
+ ]
524
+ }
525
+ }
526
+ ],
175
527
  "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource": [
176
528
  {
177
529
  "type": "aws:cdk:logicalId",
178
530
  "data": "VpcFlowLogIAMRoleDefaultPolicy406FB995"
179
531
  }
180
532
  ],
533
+ "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup": [
534
+ {
535
+ "type": "aws:cdk:analytics:construct",
536
+ "data": "*"
537
+ }
538
+ ],
181
539
  "/lamsns-deployFunctionWithVpc/Vpc/FlowLog/LogGroup/Resource": [
182
540
  {
183
541
  "type": "aws:cdk:logicalId",
@@ -190,6 +548,22 @@
190
548
  "data": "VpcFlowLog8FF33A73"
191
549
  }
192
550
  ],
551
+ "/lamsns-deployFunctionWithVpc/Vpc/SNS": [
552
+ {
553
+ "type": "aws:cdk:analytics:construct",
554
+ "data": {
555
+ "vpc": "*",
556
+ "service": {
557
+ "privateDnsDefault": true,
558
+ "name": "*",
559
+ "port": "*"
560
+ },
561
+ "securityGroups": [
562
+ "*"
563
+ ]
564
+ }
565
+ }
566
+ ],
193
567
  "/lamsns-deployFunctionWithVpc/Vpc/SNS/Resource": [
194
568
  {
195
569
  "type": "aws:cdk:logicalId",
@@ -220,6 +594,45 @@
220
594
  "data": "CustomVpcRestrictDefaultSGCustomResourceProviderHandlerDC833E5E"
221
595
  }
222
596
  ],
597
+ "/lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group": [
598
+ {
599
+ "type": "aws:cdk:analytics:construct",
600
+ "data": {
601
+ "vpc": "*",
602
+ "allowAllOutbound": true
603
+ }
604
+ },
605
+ {
606
+ "type": "aws:cdk:analytics:method",
607
+ "data": {
608
+ "addIngressRule": [
609
+ {
610
+ "canInlineRule": true,
611
+ "connections": "*",
612
+ "uniqueId": "*"
613
+ },
614
+ {},
615
+ "*",
616
+ "*"
617
+ ]
618
+ }
619
+ },
620
+ {
621
+ "type": "aws:cdk:analytics:method",
622
+ "data": {
623
+ "addIngressRule": [
624
+ {
625
+ "canInlineRule": true,
626
+ "connections": "*",
627
+ "uniqueId": "*"
628
+ },
629
+ {},
630
+ "*",
631
+ false
632
+ ]
633
+ }
634
+ }
635
+ ],
223
636
  "/lamsns-deployFunctionWithVpc/lamsns-deployFunctionWithVpc-SNS-security-group/Resource": [
224
637
  {
225
638
  "type": "aws:cdk:logicalId",