Repository navigation
Expand file tree
/
Copy pathlambda_layer_generated.json
More file actions
3379 lines (3379 loc) · 190 KB
/
Copy pathlambda_layer_generated.json
File metadata and controls
3379 lines (3379 loc) · 190 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"source": "Native AWS public endpoints; configured endpoint overrides disabled",
"captured_at": "2026-09-30T14:18:34.315822+00:00",
"account": "000000000000",
"region": "us-east-1",
"prefix": "stackd-cfn-layer-4df55ff9e4df",
"sdk": {
"boto3": "1.43.98",
"botocore": "1.43.98"
},
"environment": {
"credential_method": "shared-credentials-file",
"aws_variable_names": [
"AWS_PAGER"
]
},
"scope": "Exact-owned versioned S3 bucket/object and one LayerVersion stack; only CFN-returned physical versions are owned when LayerName is omitted",
"bounds": {
"stack_wait_seconds": 420,
"poll_seconds": 3,
"resource_group_wait_seconds": 90
},
"sources": [
"https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-lambda-layerversion.md",
"https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-lambda-layerversion-content.md",
"https://docs.aws.amazon.com/lambda/latest/api/API_PublishLayerVersion.md",
"https://docs.aws.amazon.com/lambda/latest/api/API_DeleteLayerVersion.md",
"https://docs.aws.amazon.com/lambda/latest/api/API_LayerVersionContentInput.md",
"https://docs.aws.amazon.com/lambda/latest/dg/adding-layers.md",
"https://docs.aws.amazon.com/ARG/latest/userguide/supported-resources.md"
],
"documentation": [
{
"source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-lambda-layerversion.md",
"captured_at": "2026-09-30T14:18:35.100196+00:00",
"source_sha256": "431364dd261d31a05f4de9c9f56d9885240de9b026788e8e55479dc86fffef71",
"content": "\n\nThis is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).\n\n# AWS::Lambda::LayerVersion\n<a name=\"aws-resource-lambda-layerversion\"></a>\n\nThe `AWS::Lambda::LayerVersion` resource creates a [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) from a ZIP archive.\n\n## Syntax\n<a name=\"aws-resource-lambda-layerversion-syntax\"></a>\n\nTo declare this entity in your CloudFormation template, use the following syntax:\n\n### JSON\n<a name=\"aws-resource-lambda-layerversion-syntax.json\"></a>\n\n```\n{\n \"Type\" : \"AWS::Lambda::LayerVersion\",\n \"Properties\" : {\n \"[CompatibleArchitectures](#cfn-lambda-layerversion-compatiblearchitectures)\" : {{[ String, ... ]}},\n \"[CompatibleRuntimes](#cfn-lambda-layerversion-compatibleruntimes)\" : {{[ String, ... ]}},\n \"[Content](#cfn-lambda-layerversion-content)\" : {{Content}},\n \"[Description](#cfn-lambda-layerversion-description)\" : {{String}},\n \"[LayerName](#cfn-lambda-layerversion-layername)\" : {{String}},\n \"[LicenseInfo](#cfn-lambda-layerversion-licenseinfo)\" : {{String}}\n }\n}\n```\n\n### YAML\n<a name=\"aws-resource-lambda-layerversion-syntax.yaml\"></a>\n\n```\nType: AWS::Lambda::LayerVersion\nProperties:\n [CompatibleArchitectures](#cfn-lambda-layerversion-compatiblearchitectures): {{\n - String}}\n [CompatibleRuntimes](#cfn-lambda-layerversion-compatibleruntimes): {{\n - String}}\n [Content](#cfn-lambda-layerversion-content): {{\n Content}}\n [Description](#cfn-lambda-layerversion-description): {{String}}\n [LayerName](#cfn-lambda-layerversion-layername): {{String}}\n [LicenseInfo](#cfn-lambda-layerversion-licenseinfo): {{String}}\n```\n\n## Properties\n<a name=\"aws-resource-lambda-layerversion-properties\"></a>\n\n`CompatibleArchitectures` <a name=\"cfn-lambda-layerversion-compatiblearchitectures\"></a>\nA list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). \n*Required*: No \n*Type*: Array of String \n*Minimum*: `0` \n*Maximum*: `2` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`CompatibleRuntimes` <a name=\"cfn-lambda-layerversion-compatibleruntimes\"></a>\nA list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). Used for filtering with [ListLayers](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayers.html) and [ListLayerVersions](https://docs.aws.amazon.com/lambda/latest/dg/API_ListLayerVersions.html). \n*Required*: No \n*Type*: Array of String \n*Minimum*: `0` \n*Maximum*: `15` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`Content` <a name=\"cfn-lambda-layerversion-content\"></a>\nThe function layer archive. \n*Required*: Yes \n*Type*: [Content](aws-properties-lambda-layerversion-content.md) \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`Description` <a name=\"cfn-lambda-layerversion-description\"></a>\nThe description of the version. \n*Required*: No \n*Type*: String \n*Minimum*: `0` \n*Maximum*: `256` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`LayerName` <a name=\"cfn-lambda-layerversion-layername\"></a>\nThe name or Amazon Resource Name (ARN) of the layer. \n*Required*: No \n*Type*: String \n*Pattern*: `(arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+` \n*Minimum*: `1` \n*Maximum*: `140` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`LicenseInfo` <a name=\"cfn-lambda-layerversion-licenseinfo\"></a>\nThe layer's software license. It can be any of the following: \n+ An [SPDX license identifier](https://spdx.org/licenses/). For example, `MIT`.\n+ The URL of a license hosted on the internet. For example, `https://opensource.org/licenses/MIT`.\n+ The full text of the license.\n*Required*: No \n*Type*: String \n*Minimum*: `0` \n*Maximum*: `512` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n## Return values\n<a name=\"aws-resource-lambda-layerversion-return-values\"></a>\n\n### Ref\n<a name=\"aws-resource-lambda-layerversion-return-values-ref\"></a>\n\nWhen you pass the logical ID of this resource to the intrinsic `Ref` function, `Ref` returns the ARN of the layer version, such as `arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1`.\n\nFor more information about using the `Ref` function, see [`Ref`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-ref.html).\n\n### Fn::GetAtt\n<a name=\"aws-resource-lambda-layerversion-return-values-fn--getatt\"></a>\n\n#### \n<a name=\"aws-resource-lambda-layerversion-return-values-fn--getatt-fn--getatt\"></a>\n\n`LayerVersionArn` <a name=\"LayerVersionArn-fn::getatt\"></a>\nThe ARN of the layer version.\n\n## Examples\n<a name=\"aws-resource-lambda-layerversion--examples\"></a>\n\n\n\n### Layer Version\n<a name=\"aws-resource-lambda-layerversion--examples--Layer_Version\"></a>\n\nCreate a layer named `my-layer`.\n\n#### JSON\n<a name=\"aws-resource-lambda-layerversion--examples--Layer_Version--json\"></a>\n\n```\n\"MyLayer\": {\n \"Type\": \"AWS::Lambda::LayerVersion\",\n \"Properties\": {\n \"CompatibleRuntimes\": [\n \"python3.12\",\n \"python3.11\"\n ],\n \"Content\": {\n \"S3Bucket\": \"amzn-s3-demo-bucket\",\n \"S3Key\": \"layer.zip\"\n },\n \"Description\": \"My layer\",\n \"LayerName\": \"my-layer\",\n \"LicenseInfo\": \"MIT\"\n }\n}\n```\n\n#### YAML\n<a name=\"aws-resource-lambda-layerversion--examples--Layer_Version--yaml\"></a>\n\n```\nMyLayer:\n Type: AWS::Lambda::LayerVersion\n Properties:\n CompatibleRuntimes:\n - python3.12\n - python3.11\n Content:\n S3Bucket: amzn-s3-demo-bucket\n S3Key: layer.zip\n Description: My layer\n LayerName: my-layer\n LicenseInfo: MIT\n```"
},
{
"source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-lambda-layerversion-content.md",
"captured_at": "2026-09-30T14:18:35.359872+00:00",
"source_sha256": "aa23e4cf1bfd78f67f14536b8ed6c94e2a700a66b263504c4592b9b379fc4729",
"content": "\n\nThis is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).\n\n# AWS::Lambda::LayerVersion Content\n<a name=\"aws-properties-lambda-layerversion-content\"></a>\n\nA ZIP archive that contains the contents of an [Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html).\n\n## Syntax\n<a name=\"aws-properties-lambda-layerversion-content-syntax\"></a>\n\nTo declare this entity in your CloudFormation template, use the following syntax:\n\n### JSON\n<a name=\"aws-properties-lambda-layerversion-content-syntax.json\"></a>\n\n```\n{\n \"[S3Bucket](#cfn-lambda-layerversion-content-s3bucket)\" : {{String}},\n \"[S3Key](#cfn-lambda-layerversion-content-s3key)\" : {{String}},\n \"[S3ObjectStorageMode](#cfn-lambda-layerversion-content-s3objectstoragemode)\" : {{String}},\n \"[S3ObjectVersion](#cfn-lambda-layerversion-content-s3objectversion)\" : {{String}}\n}\n```\n\n### YAML\n<a name=\"aws-properties-lambda-layerversion-content-syntax.yaml\"></a>\n\n```\n [S3Bucket](#cfn-lambda-layerversion-content-s3bucket): {{String}}\n [S3Key](#cfn-lambda-layerversion-content-s3key): {{String}}\n [S3ObjectStorageMode](#cfn-lambda-layerversion-content-s3objectstoragemode): {{String}}\n [S3ObjectVersion](#cfn-lambda-layerversion-content-s3objectversion): {{String}}\n```\n\n## Properties\n<a name=\"aws-properties-lambda-layerversion-content-properties\"></a>\n\n`S3Bucket` <a name=\"cfn-lambda-layerversion-content-s3bucket\"></a>\nThe Amazon S3 bucket of the layer archive. \n*Required*: Yes \n*Type*: String \n*Pattern*: `[0-9A-Za-z\\.\\-_]*(?<!\\.)` \n*Minimum*: `3` \n*Maximum*: `63` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`S3Key` <a name=\"cfn-lambda-layerversion-content-s3key\"></a>\nThe Amazon S3 key of the layer archive. \n*Required*: Yes \n*Type*: String \n*Minimum*: `1` \n*Maximum*: `1024` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`S3ObjectStorageMode` <a name=\"cfn-lambda-layerversion-content-s3objectstoragemode\"></a>\nSpecifies the storage mode for the layer archive. Use `COPY` to store the archive in AWS Lambda-managed storage. Use `REFERENCE` to read the archive directly from the Amazon S3 bucket. If omitted, the default is `COPY`. \n*Required*: No \n*Type*: String \n*Allowed values*: `COPY | REFERENCE` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n`S3ObjectVersion` <a name=\"cfn-lambda-layerversion-content-s3objectversion\"></a>\nFor versioned objects, the version of the layer archive object to use. \n*Required*: No \n*Type*: String \n*Minimum*: `1` \n*Maximum*: `1024` \n*Update requires*: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)\n\n## Examples\n<a name=\"aws-properties-lambda-layerversion-content--examples\"></a>\n\n\n\n### Layer Content\n<a name=\"aws-properties-lambda-layerversion-content--examples--Layer_Content\"></a>\n\nThe location of a layer archive in Amazon S3.\n\n#### JSON\n<a name=\"aws-properties-lambda-layerversion-content--examples--Layer_Content--json\"></a>\n\n```\n \"Content\": {\n \"S3Bucket\": \"amzn-s3-demo-bucket\",\n \"S3Key\": \"layer.zip\"\n }\n```\n\n#### YAML\n<a name=\"aws-properties-lambda-layerversion-content--examples--Layer_Content--yaml\"></a>\n\n```\n Content:\n S3Bucket: amzn-s3-demo-bucket\n S3Key: layer.zip\n```"
},
{
"source": "https://docs.aws.amazon.com/lambda/latest/api/API_PublishLayerVersion.md",
"captured_at": "2026-09-30T14:18:35.855791+00:00",
"source_sha256": "d75c8bdd552fe20739295a49bde1235b95acb1cd7e3673d27ad65ce3ff730172",
"content": "\n\n# PublishLayerVersion\n<a name=\"API_PublishLayerVersion\"></a>\n\nCreates an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html) from a ZIP archive. Each time you call `PublishLayerVersion` with the same layer name, a new version is created.\n\nAdd layers to your function with [CreateFunction](API_CreateFunction.md) or [UpdateFunctionConfiguration](API_UpdateFunctionConfiguration.md).\n\n## Request Syntax\n<a name=\"API_PublishLayerVersion_RequestSyntax\"></a>\n\n```\nPOST /2018-10-31/layers/{{LayerName}}/versions HTTP/1.1\nContent-type: application/json\n\n{\n \"CompatibleArchitectures\": [ \"{{string}}\" ],\n \"CompatibleRuntimes\": [ \"{{string}}\" ],\n \"Content\": { \n \"S3Bucket\": \"{{string}}\",\n \"S3Key\": \"{{string}}\",\n \"S3ObjectStorageMode\": \"{{string}}\",\n \"S3ObjectVersion\": \"{{string}}\",\n \"ZipFile\": {{blob}}\n },\n \"Description\": \"{{string}}\",\n \"LicenseInfo\": \"{{string}}\"\n}\n```\n\n## URI Request Parameters\n<a name=\"API_PublishLayerVersion_RequestParameters\"></a>\n\nThe request uses the following URI parameters.\n\n ** [LayerName](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-uri-LayerName\"></a>\nThe name or Amazon Resource Name (ARN) of the layer. \nLength Constraints: Minimum length of 1. Maximum length of 140. \nPattern: `(arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+` \nRequired: Yes\n\n## Request Body\n<a name=\"API_PublishLayerVersion_RequestBody\"></a>\n\nThe request accepts the following data in JSON format.\n\n ** [CompatibleArchitectures](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-CompatibleArchitectures\"></a>\nA list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). \nType: Array of strings \nArray Members: Minimum number of 0 items. Maximum number of 2 items. \nValid Values: `x86_64 | arm64` \nRequired: No\n\n ** [CompatibleRuntimes](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-CompatibleRuntimes\"></a>\nA list of compatible [function runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html). Used for filtering with [ListLayers](API_ListLayers.md) and [ListLayerVersions](API_ListLayerVersions.md). \nThe following list includes deprecated runtimes. For more information, see [Runtime deprecation policy](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy). \nType: Array of strings \nArray Members: Minimum number of 0 items. Maximum number of 15 items. \nValid Values: `nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | nodejs16.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | python3.9 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | dotnet6 | dotnet8 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2 | nodejs18.x | python3.10 | java17 | ruby3.2 | ruby3.3 | ruby3.4 | python3.11 | nodejs20.x | provided.al2023 | python3.12 | java21 | python3.13 | nodejs22.x | nodejs24.x | python3.14 | java25 | dotnet10 | ruby4.0` \nRequired: No\n\n ** [Content](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-Content\"></a>\nThe function layer archive. \nType: [LayerVersionContentInput](API_LayerVersionContentInput.md) object \nRequired: Yes\n\n ** [Description](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-Description\"></a>\nThe description of the version. \nType: String \nLength Constraints: Minimum length of 0. Maximum length of 256. \nRequired: No\n\n ** [LicenseInfo](#API_PublishLayerVersion_RequestSyntax) ** <a name=\"lambda-PublishLayerVersion-request-LicenseInfo\"></a>\nThe layer's software license. It can be any of the following: \n+ An [SPDX license identifier](https://spdx.org/licenses/). For example, `MIT`.\n+ The URL of a license hosted on the internet. For example, `https://opensource.org/licenses/MIT`.\n+ The full text of the license.\nType: String \nLength Constraints: Minimum length of 0. Maximum length of 512. \nRequired: No\n\n## Response Syntax\n<a name=\"API_PublishLayerVersion_ResponseSyntax\"></a>\n\n```\nHTTP/1.1 201\nContent-type: application/json\n\n{\n \"CompatibleArchitectures\": [ \"string\" ],\n \"CompatibleRuntimes\": [ \"string\" ],\n \"Content\": { \n \"CodeSha256\": \"string\",\n \"CodeSize\": number,\n \"Location\": \"string\",\n \"ResolvedS3Object\": { \n \"S3Bucket\": \"string\",\n \"S3Key\": \"string\",\n \"S3ObjectVersion\": \"string\"\n },\n \"SigningJobArn\": \"string\",\n \"SigningProfileVersionArn\": \"string\"\n },\n \"CreatedDate\": \"string\",\n \"Description\": \"string\",\n \"LayerArn\": \"string\",\n \"LayerVersionArn\": \"string\",\n \"LicenseInfo\": \"string\",\n \"Version\": number\n}\n```\n\n## Response Elements\n<a name=\"API_PublishLayerVersion_ResponseElements\"></a>\n\nIf the action is successful, the service sends back an HTTP 201 response.\n\nThe following data is returned in JSON format by the service.\n\n ** [CompatibleArchitectures](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-CompatibleArchitectures\"></a>\nA list of compatible [instruction set architectures](https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html). \nType: Array of strings \nArray Members: Minimum number of 0 items. Maximum number of 2 items. \nValid Values: `x86_64 | arm64` \n\n ** [CompatibleRuntimes](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-CompatibleRuntimes\"></a>\nThe layer's compatible runtimes. \nThe following list includes deprecated runtimes. For more information, see [Runtime use after deprecation](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-deprecation-levels). \nFor a list of all currently supported runtimes, see [Supported runtimes](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-supported). \nType: Array of strings \nArray Members: Minimum number of 0 items. Maximum number of 15 items. \nValid Values: `nodejs | nodejs4.3 | nodejs6.10 | nodejs8.10 | nodejs10.x | nodejs12.x | nodejs14.x | nodejs16.x | java8 | java8.al2 | java11 | python2.7 | python3.6 | python3.7 | python3.8 | python3.9 | dotnetcore1.0 | dotnetcore2.0 | dotnetcore2.1 | dotnetcore3.1 | dotnet6 | dotnet8 | nodejs4.3-edge | go1.x | ruby2.5 | ruby2.7 | provided | provided.al2 | nodejs18.x | python3.10 | java17 | ruby3.2 | ruby3.3 | ruby3.4 | python3.11 | nodejs20.x | provided.al2023 | python3.12 | java21 | python3.13 | nodejs22.x | nodejs24.x | python3.14 | java25 | dotnet10 | ruby4.0` \n\n ** [Content](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-Content\"></a>\nDetails about the layer version. \nType: [LayerVersionContentOutput](API_LayerVersionContentOutput.md) object\n\n ** [CreatedDate](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-CreatedDate\"></a>\nThe date that the layer version was created, in [ISO-8601 format](https://www.w3.org/TR/NOTE-datetime) (YYYY-MM-DDThh:mm:ss.sTZD). \nType: String\n\n ** [Description](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-Description\"></a>\nThe description of the version. \nType: String \nLength Constraints: Minimum length of 0. Maximum length of 256.\n\n ** [LayerArn](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-LayerArn\"></a>\nThe ARN of the layer. \nType: String \nLength Constraints: Minimum length of 1. Maximum length of 140. \nPattern: `arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+` \n\n ** [LayerVersionArn](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-LayerVersionArn\"></a>\nThe ARN of the layer version. \nType: String \nLength Constraints: Minimum length of 1. Maximum length of 140. \nPattern: `arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+` \n\n ** [LicenseInfo](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-LicenseInfo\"></a>\nThe layer's software license. \nType: String \nLength Constraints: Minimum length of 0. Maximum length of 512.\n\n ** [Version](#API_PublishLayerVersion_ResponseSyntax) ** <a name=\"lambda-PublishLayerVersion-response-Version\"></a>\nThe version number. \nType: Long\n\n## Errors\n<a name=\"API_PublishLayerVersion_Errors\"></a>\n\nFor information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).\n\n ** CodeStorageExceededException ** \nYour AWS account has exceeded its maximum total code size. For more information, see [Lambda quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html). \n ** Type ** \nThe exception type.\nHTTP Status Code: 400\n\n ** InvalidParameterValueException ** \nOne of the parameters in the request is not valid. \n ** message ** \nThe exception message. \n ** Type ** \nThe exception type.\nHTTP Status Code: 400\n\n ** ResourceNotFoundException ** \nThe resource specified in the request does not exist. \nHTTP Status Code: 404\n\n ** ServiceException ** \nThe AWS Lambda service encountered an internal error. \nHTTP Status Code: 500\n\n ** TooManyRequestsException ** \nThe request throughput limit was exceeded. For more information, see [Lambda quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). \n ** retryAfterSeconds ** \nThe number of seconds the caller should wait before retrying.\nHTTP Status Code: 429\n\n## See Also\n<a name=\"API_PublishLayerVersion_SeeAlso\"></a>\n\nFor more information about using this API in one of the language-specific AWS SDKs, see the following:\n+ [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for C\\+\\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/PublishLayerVersion) \n+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/PublishLayerVersion) "
},
{
"source": "https://docs.aws.amazon.com/lambda/latest/api/API_DeleteLayerVersion.md",
"captured_at": "2026-09-30T14:18:36.109714+00:00",
"source_sha256": "6292ebd5941c578d8e05db14564b248eb2d61a0197a495b43feedff0e6dabe60",
"content": "\n\n# DeleteLayerVersion\n<a name=\"API_DeleteLayerVersion\"></a>\n\nDeletes a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.\n\n## Request Syntax\n<a name=\"API_DeleteLayerVersion_RequestSyntax\"></a>\n\n```\nDELETE /2018-10-31/layers/{{LayerName}}/versions/{{VersionNumber}} HTTP/1.1\n```\n\n## URI Request Parameters\n<a name=\"API_DeleteLayerVersion_RequestParameters\"></a>\n\nThe request uses the following URI parameters.\n\n ** [LayerName](#API_DeleteLayerVersion_RequestSyntax) ** <a name=\"lambda-DeleteLayerVersion-request-uri-LayerName\"></a>\nThe name or Amazon Resource Name (ARN) of the layer. \nLength Constraints: Minimum length of 1. Maximum length of 140. \nPattern: `(arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+)|[a-zA-Z0-9-_]+` \nRequired: Yes\n\n ** [VersionNumber](#API_DeleteLayerVersion_RequestSyntax) ** <a name=\"lambda-DeleteLayerVersion-request-uri-VersionNumber\"></a>\nThe version number. \nRequired: Yes\n\n## Request Body\n<a name=\"API_DeleteLayerVersion_RequestBody\"></a>\n\nThe request does not have a request body.\n\n## Response Syntax\n<a name=\"API_DeleteLayerVersion_ResponseSyntax\"></a>\n\n```\nHTTP/1.1 204\n```\n\n## Response Elements\n<a name=\"API_DeleteLayerVersion_ResponseElements\"></a>\n\nIf the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.\n\n## Errors\n<a name=\"API_DeleteLayerVersion_Errors\"></a>\n\nFor information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).\n\n ** ServiceException ** \nThe AWS Lambda service encountered an internal error. \nHTTP Status Code: 500\n\n ** TooManyRequestsException ** \nThe request throughput limit was exceeded. For more information, see [Lambda quotas](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests). \n ** retryAfterSeconds ** \nThe number of seconds the caller should wait before retrying.\nHTTP Status Code: 429\n\n## See Also\n<a name=\"API_DeleteLayerVersion_SeeAlso\"></a>\n\nFor more information about using this API in one of the language-specific AWS SDKs, see the following:\n+ [AWS Command Line Interface V2](https://docs.aws.amazon.com/goto/cli2/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for .NET V4](https://docs.aws.amazon.com/goto/DotNetSDKV4/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for C\\+\\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for Go v2](https://docs.aws.amazon.com/goto/SdkForGoV2/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for JavaScript V3](https://docs.aws.amazon.com/goto/SdkForJavaScriptV3/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for Kotlin](https://docs.aws.amazon.com/goto/SdkForKotlin/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for Python (Boto3)](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/DeleteLayerVersion) \n+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/DeleteLayerVersion) "
},
{
"source": "https://docs.aws.amazon.com/lambda/latest/api/API_LayerVersionContentInput.md",
"captured_at": "2026-09-30T14:18:36.370738+00:00",
"source_sha256": "c8baba7bbe823cdfcce78d5ae97af444e38197941156f6a54844af416000534d",
"content": "\n\n# LayerVersionContentInput\n<a name=\"API_LayerVersionContentInput\"></a>\n\nA ZIP archive that contains the contents of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html). You can specify either an Amazon S3 location, or upload a layer archive directly.\n\n## Contents\n<a name=\"API_LayerVersionContentInput_Contents\"></a>\n\n ** S3Bucket ** <a name=\"lambda-Type-LayerVersionContentInput-S3Bucket\"></a>\nThe Amazon S3 bucket of the layer archive. \nType: String \nLength Constraints: Minimum length of 3. Maximum length of 63. \nPattern: `[0-9A-Za-z\\.\\-_]*(?<!\\.)` \nRequired: No\n\n ** S3Key ** <a name=\"lambda-Type-LayerVersionContentInput-S3Key\"></a>\nThe Amazon S3 key of the layer archive. \nType: String \nLength Constraints: Minimum length of 1. Maximum length of 1024. \nRequired: No\n\n ** S3ObjectStorageMode ** <a name=\"lambda-Type-LayerVersionContentInput-S3ObjectStorageMode\"></a>\nSpecifies how the layer archive is stored. Valid values: \n+ `COPY` (default) \u2013 Uploads a copy of your layer archive to Lambda.\n+ `REFERENCE` \u2013 Lambda references the layer archive from the specified Amazon S3 bucket.\nType: String \nValid Values: `COPY | REFERENCE` \nRequired: No\n\n ** S3ObjectVersion ** <a name=\"lambda-Type-LayerVersionContentInput-S3ObjectVersion\"></a>\nFor versioned objects, the version of the layer archive object to use. \nType: String \nLength Constraints: Minimum length of 1. Maximum length of 1024. \nRequired: No\n\n ** ZipFile ** <a name=\"lambda-Type-LayerVersionContentInput-ZipFile\"></a>\nThe base64-encoded contents of the layer archive. AWS SDK and AWS CLI clients handle the encoding for you. \nType: Base64-encoded binary data object \nRequired: No\n\n## See Also\n<a name=\"API_LayerVersionContentInput_SeeAlso\"></a>\n\nFor more information about using this API in one of the language-specific AWS SDKs, see the following:\n+ [AWS SDK for C\\+\\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/LayerVersionContentInput) \n+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/LayerVersionContentInput) \n+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/LayerVersionContentInput) "
},
{
"source": "https://docs.aws.amazon.com/lambda/latest/dg/adding-layers.md",
"captured_at": "2026-09-30T14:18:36.621009+00:00",
"source_sha256": "af3964ba2e04e22c197b3172c4372dd99e20d86fb8ba55fad241a3ea44d359d9",
"content": "\n\n# Adding layers to functions\n<a name=\"adding-layers\"></a>\n\nA Lambda layer is a .zip file archive that contains supplementary code or data. Layers usually contain library dependencies, a [custom runtime](runtimes-custom.md), or configuration files. \n\nThis section explains how to add a layer to a Lambda function. For more conceptual information about layers and why you might consider using them, see [Managing Lambda dependencies with layers](chapter-layers.md).\n\nBefore you can configure a Lambda function to use a layer, you must:\n+ [Package your layer content](packaging-layers.md)\n+ [Create a layer in Lambda](creating-deleting-layers.md)\n+ Make sure that you have permission to call the [GetLayerVersion](https://docs.aws.amazon.com/lambda/latest/api/API_GetLayerVersion.html) API on the layer version. For functions in your AWS account, you must have this permission in your [user policy](access-control-identity-based.md). To use a layer in another account, the owner of that account must grant your account permission in a [resource-based policy](access-control-resource-based.md). For examples, see [Granting Lambda layer access to other accounts](permissions-layer-cross-account.md).\n\nYou can add up to five layers to a Lambda function. The total unzipped size of the function and all layers cannot exceed the unzipped deployment package size quota of 250 MB. For more information, see [Lambda quotas](gettingstarted-limits.md).\n\nYour functions can continue to use any layer version that you've already added, even after that layer version has been deleted, or after your permission to access the layer is revoked. However, you cannot create a new function that uses a deleted layer version.\n\n**To add a layer to a function**\n\n1. Open the [Functions page](https://console.aws.amazon.com/lambda/home#/functions) of the Lambda console.\n\n1. Choose the function.\n\n1. Scroll down to the **Layers** section, and then choose **Add a layer**.\n\n1. Under **Choose a layer**, choose a layer source:\n\n 1. **AWS layers**: Choose from the list of [AWS-managed extensions](extensions-api-partners.md#aws-managed-extensions).\n\n 1. **Custom layers**: Choose a layer created in your AWS account.\n\n 1. **Specify an ARN**: To use a layer [from a different AWS account](permissions-layer-cross-account.md), such as a [third-party extension](extensions-api-partners.md), enter the Amazon Resource Name (ARN).\n\n1. Choose **Add**.\n\nThe order in which you add the layers is the order in which Lambda merges the layer content into the execution environment. You can change the layer merge order using the console.\n\n**To update layer merge order for your function (console)**\n\n1. Open the [Functions page](https://console.aws.amazon.com/lambda/home#/functions) of the Lambda console.\n\n1. Choose the function to configure.\n\n1. Under **Layers**, choose **Edit**\n\n1. Choose one of the layers.\n\n1. Choose **Merge earlier** or **Merge later** to adjust the order of the layers.\n\n1. Choose **Save**.\n\nLayers are versioned. The content of each layer version is immutable. The owner of a layer can release new layer versions to provide updated content. You can use the console to update the layer version attached to your functions.\n\n**To update layer versions for your function (console)**\n\n1. Open the [Layers page](https://console.aws.amazon.com/lambda/home#/layers) of the Lambda console.\n\n1. Choose the layer you want to update the version for.\n\n1. Choose the **Functions using this version** tab.\n\n1. Choose the functions you want to modify, then choose **Edit**.\n\n1. For **Layer version**, choose the layer version to change to.\n\n1. Choose **Update functions**.\n\nYou cannot update function layer versions across AWS accounts.\n\n## Finding layer information\n<a name=\"finding-layer-information\"></a>\n\nTo find layers in your account that are compatible with your function's runtime, use the [ListLayers](https://docs.aws.amazon.com/lambda/latest/api/API_ListLayers.html) API. For example, you can use the following [list-layers](https://docs.aws.amazon.com/cli/latest/reference/lambda/list-layers.html) AWS Command Line Interface (CLI) command:\n\n```\naws lambda list-layers --compatible-runtime python3.14\n```\n\nYou should see output similar to the following:\n\n```\n{\n \"Layers\": [\n {\n \"LayerName\": \"my-layer\",\n \"LayerArn\": \"arn:aws:lambda:us-east-2:123456789012:layer:my-layer\",\n \"LatestMatchingVersion\": {\n \"LayerVersionArn\": \"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2\",\n \"Version\": 2,\n \"Description\": \"My layer\",\n \"CreatedDate\": \"2025-04-15T00:37:46.592+0000\",\n \"CompatibleRuntimes\": [\n \"python3.14\"\n ]\n }\n }\n ]\n}\n```\n\nTo list all layers in your account, omit the `--compatible-runtime` option. The response details show the latest version of each layer.\n\nYou can also get the latest version of a layer using the [ListLayerVersions](https://docs.aws.amazon.com/lambda/latest/api/API_ListLayerVersions.html) API. For example, you can use the following `list-layer-versions` CLI command:\n\n```\naws lambda list-layer-versions --layer-name my-layer\n```\n\nYou should see output similar to the following:\n\n```\n{\n \"LayerVersions\": [\n {\n \"LayerVersionArn\": \"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2\",\n \"Version\": 2,\n \"Description\": \"My layer\",\n \"CreatedDate\": \"2023-11-15T00:37:46.592+0000\",\n \"CompatibleRuntimes\": [\n \"java11\"\n ]\n },\n {\n \"LayerVersionArn\": \"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\",\n \"Version\": 1,\n \"Description\": \"My layer\",\n \"CreatedDate\": \"2023-11-15T00:27:46.592+0000\",\n \"CompatibleRuntimes\": [\n \"java11\"\n ]\n }\n ]\n}\n```"
},
{
"source": "https://docs.aws.amazon.com/ARG/latest/userguide/supported-resources.md",
"captured_at": "2026-09-30T14:18:37.000491+00:00",
"source_sha256": "c0d086784436fbc2d6e6b655ca0e0cf7a808cd6b73d5db0a4dedab22bb299b59",
"content": "| `AWS::Lambda::LayerVersion` |  No |  No |  Yes | "
}
],
"calls": [
{
"label": "identity",
"service": "sts",
"operation": "GetCallerIdentity",
"input": {},
"started_at": "2026-09-30T14:18:34.316005+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"UserId": "AIDAQAAAAAAAMEZHRHAHY",
"Account": "000000000000",
"Arn": "arn:aws:iam::000000000000:user/Delegated"
},
"metadata": {
"RequestId": "10a571b2-769d-4ff6-8f4e-4fe88cd4db4a",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "10a571b2-769d-4ff6-8f4e-4fe88cd4db4a",
"x-amz-sts-extended-request-id": "MTp1cy1lYXN0LTE6UzoxNzkwNzc3OTE0NzI0OlI6cVJNTmtUeGg=",
"content-type": "text/xml",
"content-length": "406",
"date": "Wed, 30 Sep 2026 14:18:34 GMT"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:34.798133+00:00"
},
{
"label": "layer-public-registry-schema",
"service": "cloudformation",
"operation": "DescribeType",
"input": {
"Type": "RESOURCE",
"TypeName": "AWS::Lambda::LayerVersion"
},
"started_at": "2026-09-30T14:18:37.000992+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Arn": "arn:aws:cloudformation:us-east-1::type/resource/AWS-Lambda-LayerVersion",
"Type": "RESOURCE",
"TypeName": "AWS::Lambda::LayerVersion",
"IsDefaultVersion": true,
"Description": "Resource Type definition for AWS::Lambda::LayerVersion",
"Schema": "{\n \"typeName\": \"AWS::Lambda::LayerVersion\",\n \"description\": \"Resource Type definition for AWS::Lambda::LayerVersion\",\n \"sourceUrl\": \"https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lambda.git\",\n \"definitions\": {\n \"Content\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"S3ObjectVersion\": {\n \"description\": \"For versioned objects, the version of the layer archive object to use.\",\n \"type\": \"string\"\n },\n \"S3Bucket\": {\n \"description\": \"The Amazon S3 bucket of the layer archive.\",\n \"type\": \"string\"\n },\n \"S3Key\": {\n \"description\": \"The Amazon S3 key of the layer archive.\",\n \"type\": \"string\"\n },\n \"S3ObjectStorageMode\": {\n \"type\": \"string\",\n \"description\": \"Specifies whether Lambda should copy the deployment package to its internal storage (COPY) or reference it directly from your S3 bucket (REFERENCE).\",\n \"enum\": [\"COPY\", \"REFERENCE\"]\n }\n },\n \"required\": [\n \"S3Bucket\",\n \"S3Key\"\n ]\n }\n },\n \"properties\": {\n \"CompatibleRuntimes\": {\n \"description\": \"A list of compatible function runtimes. Used for filtering with ListLayers and ListLayerVersions.\",\n \"type\": \"array\",\n \"insertionOrder\": false,\n \"uniqueItems\": false,\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"LicenseInfo\": {\n \"description\": \"The layer's software license.\",\n \"type\": \"string\"\n },\n \"Description\": {\n \"description\": \"The description of the version.\",\n \"type\": \"string\"\n },\n \"LayerName\": {\n \"description\": \"The name or Amazon Resource Name (ARN) of the layer.\",\n \"type\": \"string\"\n },\n \"Content\": {\n \"description\": \"The function layer archive.\",\n \"$ref\": \"#/definitions/Content\"\n },\n \"LayerVersionArn\": {\n \"type\": \"string\"\n },\n \"CompatibleArchitectures\": {\n \"description\": \"A list of compatible instruction set architectures.\",\n \"type\": \"array\",\n \"insertionOrder\": false,\n \"uniqueItems\": false,\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"additionalProperties\": false,\n \"required\": [\n \"Content\"\n ],\n \"createOnlyProperties\": [\n \"/properties/CompatibleRuntimes\",\n \"/properties/LicenseInfo\",\n \"/properties/CompatibleArchitectures\",\n \"/properties/LayerName\",\n \"/properties/Description\",\n \"/properties/Content\"\n ],\n \"readOnlyProperties\": [\n \"/properties/LayerVersionArn\"\n ],\n \"writeOnlyProperties\" : [\n \"/properties/Content\"\n ],\n \"primaryIdentifier\": [\n \"/properties/LayerVersionArn\"\n ],\n \"propertyTransform\": {\n \"/properties/LayerName\": \"$split(LayerName, \\\":\\\")[-1] $OR LayerName\"\n },\n \"tagging\": {\n \"taggable\": false,\n \"tagOnCreate\": false,\n \"tagUpdatable\": false,\n \"cloudFormationSystemTags\": false\n },\n \"handlers\": {\n \"create\": {\n \"permissions\": [\n \"lambda:PublishLayerVersion\",\n \"s3:GetObject\",\n \"s3:GetObjectVersion\"\n ]\n },\n \"read\": {\n \"permissions\": [\n \"lambda:GetLayerVersion\"\n ]\n },\n \"delete\": {\n \"permissions\": [\n \"lambda:GetLayerVersion\",\n \"lambda:DeleteLayerVersion\"\n ]\n },\n \"list\": {\n \"permissions\": [\n \"lambda:ListLayerVersions\"\n ],\n \"handlerSchema\": {\n \"properties\": {\n \"LayerName\": {\n \"$ref\": \"resource-schema.json#/properties/LayerName\"\n }\n },\n \"required\": [\"LayerName\"]\n }\n }\n }\n}\n",
"ProvisioningType": "IMMUTABLE",
"DeprecatedStatus": "LIVE",
"Visibility": "PUBLIC",
"SourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-lambda.git",
"TimeCreated": "2020-12-10T19:09:24.027000+00:00"
},
"metadata": {
"RequestId": "ca499d9f-7cd5-4125-ae61-1139cc281ecd",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "ca499d9f-7cd5-4125-ae61-1139cc281ecd",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:37 GMT",
"content-type": "text/xml",
"content-length": "6534",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:37.529832+00:00"
},
{
"label": "bucket-name-absent",
"service": "s3",
"operation": "HeadBucket",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data"
},
"started_at": "2026-09-30T14:18:37.539435+00:00",
"phase": "workflow",
"code": "404",
"error": {
"Code": "404",
"Message": "Not Found"
},
"metadata": {
"RequestId": "FGJMER9XF11MK9HT",
"HostId": "BnxaufkJ+aQUyfTHGJkAY0GnVc832tLAlqgdn6LGhlbxiH+DuR5hn1L/nS63ZFkAS6VUQtdRQ2/3pY0+Xpbjt0oyNnHmWEB+",
"HTTPStatusCode": 404,
"HTTPHeaders": {
"x-amz-request-id": "FGJMER9XF11MK9HT",
"x-amz-id-2": "BnxaufkJ+aQUyfTHGJkAY0GnVc832tLAlqgdn6LGhlbxiH+DuR5hn1L/nS63ZFkAS6VUQtdRQ2/3pY0+Xpbjt0oyNnHmWEB+",
"content-type": "application/xml",
"transfer-encoding": "chunked",
"date": "Wed, 30 Sep 2026 14:18:37 GMT",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:37.970174+00:00"
},
{
"label": "create-bucket",
"service": "s3",
"operation": "CreateBucket",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data"
},
"started_at": "2026-09-30T14:18:37.980035+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Location": "/stackd-cfn-layer-4df55ff9e4df-data",
"BucketArn": "arn:aws:s3:::stackd-cfn-layer-4df55ff9e4df-data"
},
"metadata": {
"RequestId": "XJS621NQJKGYYBNT",
"HostId": "1hRvo3kERm4QGZ6yQzKjX0GsEtnaCkES4iH94Z1cBCSH9/sH5s7DpSzDJn38H8Ehb6nLDiOGPOOnKLnANZO+/m+UctD8gyxo",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amz-id-2": "1hRvo3kERm4QGZ6yQzKjX0GsEtnaCkES4iH94Z1cBCSH9/sH5s7DpSzDJn38H8Ehb6nLDiOGPOOnKLnANZO+/m+UctD8gyxo",
"x-amz-request-id": "XJS621NQJKGYYBNT",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"location": "/stackd-cfn-layer-4df55ff9e4df-data",
"x-amz-bucket-arn": "arn:aws:s3:::stackd-cfn-layer-4df55ff9e4df-data",
"content-length": "0",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:38.267315+00:00"
},
{
"label": "tag-bucket",
"service": "s3",
"operation": "PutBucketTagging",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data",
"ExpectedBucketOwner": "000000000000",
"Tagging": {
"TagSet": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
]
}
},
"started_at": "2026-09-30T14:18:38.277324+00:00",
"phase": "workflow",
"code": "Success",
"output": {},
"metadata": {
"RequestId": "XJS6BSKVBMH8KVD1",
"HostId": "lFgftvMnnI5A/bV2UbApiuuKUcNYota46mZKvW39dH9fy6uri6j6Ib8tGmj2i4M6EkYvOrm5NgVxCTs4EYNoBDtFqH1yD9jt",
"HTTPStatusCode": 204,
"HTTPHeaders": {
"x-amz-id-2": "lFgftvMnnI5A/bV2UbApiuuKUcNYota46mZKvW39dH9fy6uri6j6Ib8tGmj2i4M6EkYvOrm5NgVxCTs4EYNoBDtFqH1yD9jt",
"x-amz-request-id": "XJS6BSKVBMH8KVD1",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:38.615765+00:00"
},
{
"label": "enable-object-versioning",
"service": "s3",
"operation": "PutBucketVersioning",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data",
"ExpectedBucketOwner": "000000000000",
"VersioningConfiguration": {
"Status": "Enabled"
}
},
"started_at": "2026-09-30T14:18:38.616476+00:00",
"phase": "workflow",
"code": "Success",
"output": {},
"metadata": {
"RequestId": "XJS4E4BWXYRK5XGE",
"HostId": "iWZxXgF1gZ7qiXxsJjzksbYDVxn6O8srJMzutGgMPYUbooS8JU1R39+VMGMpNXcexwQuqfztofWU9GLY1Ssxh0zyGIuzGaOI",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amz-id-2": "iWZxXgF1gZ7qiXxsJjzksbYDVxn6O8srJMzutGgMPYUbooS8JU1R39+VMGMpNXcexwQuqfztofWU9GLY1Ssxh0zyGIuzGaOI",
"x-amz-request-id": "XJS4E4BWXYRK5XGE",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"content-length": "0",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:38.828502+00:00"
},
{
"label": "versioning-state",
"service": "s3",
"operation": "GetBucketVersioning",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data",
"ExpectedBucketOwner": "000000000000"
},
"started_at": "2026-09-30T14:18:38.829226+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Status": "Enabled"
},
"metadata": {
"RequestId": "XJS0JKXDC1BA3JZA",
"HostId": "BTeq3jIFpaLgv5QvEK8M61WekicsltuzS5MwXyu35wjgdeWfqUeITHkWr3C4/0LIrT8MbhiTKC/LCyYYo4K0AeGrKubacI+E",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amz-id-2": "BTeq3jIFpaLgv5QvEK8M61WekicsltuzS5MwXyu35wjgdeWfqUeITHkWr3C4/0LIrT8MbhiTKC/LCyYYo4K0AeGrKubacI+E",
"x-amz-request-id": "XJS0JKXDC1BA3JZA",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"transfer-encoding": "chunked",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:38.945821+00:00"
},
{
"label": "upload-one",
"service": "s3",
"operation": "PutObject",
"input": {
"Bucket": "stackd-cfn-layer-4df55ff9e4df-data",
"Key": "layer.zip",
"Body": {
"base64": "UEsDBBQAAAAIAAAAIVwwDMDXEAAAAA4AAAAQAAAAcHl0aG9uL3NoYXJlZC5weQtz9Al1VbBVUM/PS1XnAgBQSwECFAMUAAAACAAAACFcMAzA1xAAAAAOAAAAEAAAAAAAAAAAAAAAgAEAAAAAcHl0aG9uL3NoYXJlZC5weVBLBQYAAAAAAQABAD4AAAA+AAAAAAA=",
"bytes": 146
},
"ExpectedBucketOwner": "000000000000"
},
"started_at": "2026-09-30T14:18:38.955781+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"ETag": "\"e23bdc342bd511f3a7b28ab5162b39fc\"",
"ChecksumCRC32": "7cDMig==",
"ChecksumType": "FULL_OBJECT",
"ServerSideEncryption": "AES256",
"VersionId": "_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx"
},
"metadata": {
"RequestId": "XJSFKJC8MCHEV0KF",
"HostId": "ATXKZTzJQT/mm+UmVeQNG1Ng4FtXwZ50AnZuZTiH29QLw9/D/K1hqTGysVHuGFHhMPmNX70nB5N8YQ8kmu4hWnRXia5Cmsww",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amz-id-2": "ATXKZTzJQT/mm+UmVeQNG1Ng4FtXwZ50AnZuZTiH29QLw9/D/K1hqTGysVHuGFHhMPmNX70nB5N8YQ8kmu4hWnRXia5Cmsww",
"x-amz-request-id": "XJSFKJC8MCHEV0KF",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"x-amz-version-id": "_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx",
"x-amz-server-side-encryption": "AES256",
"etag": "\"e23bdc342bd511f3a7b28ab5162b39fc\"",
"x-amz-checksum-crc32": "7cDMig==",
"x-amz-checksum-type": "FULL_OBJECT",
"content-length": "0",
"server": "AmazonS3"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:39.178064+00:00"
},
{
"label": "generated-name-name-absent",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated"
},
"started_at": "2026-09-30T14:18:39.188493+00:00",
"phase": "workflow",
"code": "ValidationError",
"error": {
"Type": "Sender",
"Code": "ValidationError",
"Message": "Stack with id stackd-cfn-layer-4df55ff9e4df-generated does not exist"
},
"metadata": {
"RequestId": "74e30d35-2586-4d52-b8fc-c4084f3ffd22",
"HTTPStatusCode": 400,
"HTTPHeaders": {
"x-amzn-requestid": "74e30d35-2586-4d52-b8fc-c4084f3ffd22",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"content-type": "text/xml",
"content-length": "325",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:39.318078+00:00"
},
{
"label": "generated-name-submit",
"service": "cloudformation",
"operation": "CreateStack",
"input": {
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"TemplateBody": "{\"AWSTemplateFormatVersion\": \"2010-09-09\", \"Resources\": {\"Layer\": {\"Type\": \"AWS::Lambda::LayerVersion\", \"Properties\": {\"Content\": {\"S3Bucket\": \"stackd-cfn-layer-4df55ff9e4df-data\", \"S3Key\": \"layer.zip\", \"S3ObjectVersion\": \"_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx\"}, \"Description\": \"initial layer\", \"LicenseInfo\": \"MIT\", \"CompatibleRuntimes\": [\"python3.12\"], \"CompatibleArchitectures\": [\"x86_64\"]}}}, \"Outputs\": {\"LayerRef\": {\"Value\": {\"Ref\": \"Layer\"}}, \"LayerVersionArn\": {\"Value\": {\"Fn::GetAtt\": [\"Layer\", \"LayerVersionArn\"]}}}}",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name",
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
]
},
"started_at": "2026-09-30T14:18:39.373041+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
},
"metadata": {
"RequestId": "bf0a575a-54f9-4ddf-9837-03838a2551f0",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "bf0a575a-54f9-4ddf-9837-03838a2551f0",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"content-type": "text/xml",
"content-length": "477",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:39.700854+00:00"
},
{
"label": "generated-name-poll-0",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:39.711057+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Stacks": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"CreationTime": "2026-09-30T14:18:39.497000+00:00",
"RollbackConfiguration": {},
"StackStatus": "CREATE_IN_PROGRESS",
"StackStatusReason": "User Initiated",
"DisableRollback": false,
"DeploymentConfig": {
"Mode": "STANDARD",
"DisableRollback": false
},
"NotificationARNs": [],
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
],
"EnableTerminationProtection": false,
"DriftInformation": {
"StackDriftStatus": "NOT_CHECKED"
},
"LastOperations": [
{
"OperationType": "CREATE_STACK",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
}
]
}
]
},
"metadata": {
"RequestId": "3d0332c2-2f55-4cc1-8d28-15b7e12033de",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "3d0332c2-2f55-4cc1-8d28-15b7e12033de",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:39 GMT",
"content-type": "text/xml",
"content-length": "1552",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:39.830171+00:00"
},
{
"label": "generated-name-poll-1",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:42.831286+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Stacks": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"CreationTime": "2026-09-30T14:18:39.497000+00:00",
"RollbackConfiguration": {},
"StackStatus": "CREATE_IN_PROGRESS",
"DisableRollback": false,
"DeploymentConfig": {
"Mode": "STANDARD",
"DisableRollback": false
},
"NotificationARNs": [],
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
],
"EnableTerminationProtection": false,
"DriftInformation": {
"StackDriftStatus": "NOT_CHECKED"
},
"LastOperations": [
{
"OperationType": "CREATE_STACK",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
}
]
}
]
},
"metadata": {
"RequestId": "a3961a8f-b379-4988-952b-bb56fac3bcf0",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "a3961a8f-b379-4988-952b-bb56fac3bcf0",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:42 GMT",
"content-type": "text/xml",
"content-length": "1490",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:42.953592+00:00"
},
{
"label": "generated-name-poll-2",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:45.954744+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Stacks": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"CreationTime": "2026-09-30T14:18:39.497000+00:00",
"RollbackConfiguration": {},
"StackStatus": "CREATE_IN_PROGRESS",
"DisableRollback": false,
"DeploymentConfig": {
"Mode": "STANDARD",
"DisableRollback": false
},
"NotificationARNs": [],
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
],
"EnableTerminationProtection": false,
"DriftInformation": {
"StackDriftStatus": "NOT_CHECKED"
},
"LastOperations": [
{
"OperationType": "CREATE_STACK",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
}
]
}
]
},
"metadata": {
"RequestId": "6261bbe6-ef36-46f9-9dcf-9551f5cc2768",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "6261bbe6-ef36-46f9-9dcf-9551f5cc2768",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:46 GMT",
"content-type": "text/xml",
"content-length": "1490",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:46.083936+00:00"
},
{
"label": "generated-name-poll-3",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:49.085238+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Stacks": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"CreationTime": "2026-09-30T14:18:39.497000+00:00",
"RollbackConfiguration": {},
"StackStatus": "CREATE_COMPLETE",
"DisableRollback": false,
"DeploymentConfig": {
"Mode": "STANDARD",
"DisableRollback": false
},
"NotificationARNs": [],
"Outputs": [
{
"OutputKey": "LayerVersionArn",
"OutputValue": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2"
},
{
"OutputKey": "LayerRef",
"OutputValue": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2"
}
],
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
],
"EnableTerminationProtection": false,
"DriftInformation": {
"StackDriftStatus": "NOT_CHECKED"
},
"LastOperations": [
{
"OperationType": "CREATE_STACK",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
}
]
}
]
},
"metadata": {
"RequestId": "f0ad4ae7-83de-4029-bcdb-46ec4c37707f",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "f0ad4ae7-83de-4029-bcdb-46ec4c37707f",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:49 GMT",
"content-type": "text/xml",
"content-length": "1879",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:49.219008+00:00"
},
{
"label": "generated-name-identity",
"service": "cloudformation",
"operation": "DescribeStacks",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:49.220414+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Stacks": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"CreationTime": "2026-09-30T14:18:39.497000+00:00",
"RollbackConfiguration": {},
"StackStatus": "CREATE_COMPLETE",
"DisableRollback": false,
"DeploymentConfig": {
"Mode": "STANDARD",
"DisableRollback": false
},
"NotificationARNs": [],
"Outputs": [
{
"OutputKey": "LayerVersionArn",
"OutputValue": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2"
},
{
"OutputKey": "LayerRef",
"OutputValue": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2"
}
],
"Tags": [
{
"Key": "stackd-probe",
"Value": "stackd-cfn-layer-4df55ff9e4df"
}
],
"EnableTerminationProtection": false,
"DriftInformation": {
"StackDriftStatus": "NOT_CHECKED"
},
"LastOperations": [
{
"OperationType": "CREATE_STACK",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d"
}
]
}
]
},
"metadata": {
"RequestId": "66d079a3-18d1-459c-9b44-61f0033722af",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "66d079a3-18d1-459c-9b44-61f0033722af",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:49 GMT",
"content-type": "text/xml",
"content-length": "1879",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:49.349477+00:00"
},
{
"label": "generated-name-describe_stack_resources-0",
"service": "cloudformation",
"operation": "DescribeStackResources",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:49.359824+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"StackResources": [
{
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "Layer",
"PhysicalResourceId": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2",
"ResourceType": "AWS::Lambda::LayerVersion",
"Timestamp": "2026-09-30T14:18:45.141000+00:00",
"ResourceStatus": "CREATE_COMPLETE",
"DriftInformation": {
"StackResourceDriftStatus": "NOT_CHECKED"
}
}
]
},
"metadata": {
"RequestId": "c28b1cf8-c23b-48f8-8bf5-e855db60e7d6",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "c28b1cf8-c23b-48f8-8bf5-e855db60e7d6",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:49 GMT",
"content-type": "text/xml",
"content-length": "1062",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:49.501530+00:00"
},
{
"label": "generated-name-describe_stack_events-0",
"service": "cloudformation",
"operation": "DescribeStackEvents",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:49.512135+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"StackEvents": [
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"EventId": "d91e6910-bcd9-11f1-9e9b-1240a3e9568b",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "stackd-cfn-layer-4df55ff9e4df-generated",
"PhysicalResourceId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"ResourceType": "AWS::CloudFormation::Stack",
"Timestamp": "2026-09-30T14:18:46.157000+00:00",
"ResourceStatus": "CREATE_COMPLETE",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name"
},
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"EventId": "Layer-CREATE_COMPLETE-2026-09-30T14:18:45.141Z",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "Layer",
"PhysicalResourceId": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2",
"ResourceType": "AWS::Lambda::LayerVersion",
"Timestamp": "2026-09-30T14:18:45.141000+00:00",
"ResourceStatus": "CREATE_COMPLETE",
"ResourceProperties": "{\"CompatibleRuntimes\":[\"python3.12\"],\"LicenseInfo\":\"MIT\",\"Description\":\"initial layer\",\"Content\":{\"S3ObjectVersion\":\"_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx\",\"S3Bucket\":\"stackd-cfn-layer-4df55ff9e4df-data\",\"S3Key\":\"layer.zip\"},\"CompatibleArchitectures\":[\"x86_64\"]}",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name"
},
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"EventId": "Layer-CREATE_IN_PROGRESS-2026-09-30T14:18:44.572Z",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "Layer",
"PhysicalResourceId": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2",
"ResourceType": "AWS::Lambda::LayerVersion",
"Timestamp": "2026-09-30T14:18:44.572000+00:00",
"ResourceStatus": "CREATE_IN_PROGRESS",
"ResourceStatusReason": "Resource creation Initiated",
"ResourceProperties": "{\"CompatibleRuntimes\":[\"python3.12\"],\"LicenseInfo\":\"MIT\",\"Description\":\"initial layer\",\"Content\":{\"S3ObjectVersion\":\"_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx\",\"S3Bucket\":\"stackd-cfn-layer-4df55ff9e4df-data\",\"S3Key\":\"layer.zip\"},\"CompatibleArchitectures\":[\"x86_64\"]}",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name"
},
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"EventId": "Layer-CREATE_IN_PROGRESS-2026-09-30T14:18:42.469Z",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "Layer",
"PhysicalResourceId": "",
"ResourceType": "AWS::Lambda::LayerVersion",
"Timestamp": "2026-09-30T14:18:42.469000+00:00",
"ResourceStatus": "CREATE_IN_PROGRESS",
"ResourceProperties": "{\"CompatibleRuntimes\":[\"python3.12\"],\"LicenseInfo\":\"MIT\",\"Description\":\"initial layer\",\"Content\":{\"S3ObjectVersion\":\"_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx\",\"S3Bucket\":\"stackd-cfn-layer-4df55ff9e4df-data\",\"S3Key\":\"layer.zip\"},\"CompatibleArchitectures\":[\"x86_64\"]}",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name"
},
{
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"EventId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"StackName": "stackd-cfn-layer-4df55ff9e4df-generated",
"OperationId": "d51f7610-bcd9-11f1-9126-0affc116022d",
"LogicalResourceId": "stackd-cfn-layer-4df55ff9e4df-generated",
"PhysicalResourceId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"ResourceType": "AWS::CloudFormation::Stack",
"Timestamp": "2026-09-30T14:18:39.497000+00:00",
"ResourceStatus": "CREATE_IN_PROGRESS",
"ResourceStatusReason": "User Initiated",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name"
}
]
},
"metadata": {
"RequestId": "968e2a31-d0c9-436e-96e2-1e04ce75e2ca",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "968e2a31-d0c9-436e-96e2-1e04ce75e2ca",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:49 GMT",
"content-type": "text/xml",
"content-length": "6134",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:49.644537+00:00"
},
{
"label": "generated-name-template",
"service": "cloudformation",
"operation": "GetTemplate",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d"
},
"started_at": "2026-09-30T14:18:49.645986+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"TemplateBody": {
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"Layer": {
"Type": "AWS::Lambda::LayerVersion",
"Properties": {
"Content": {
"S3Bucket": "stackd-cfn-layer-4df55ff9e4df-data",
"S3Key": "layer.zip",
"S3ObjectVersion": "_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx"
},
"Description": "initial layer",
"LicenseInfo": "MIT",
"CompatibleRuntimes": [
"python3.12"
],
"CompatibleArchitectures": [
"x86_64"
]
}
}
},
"Outputs": {
"LayerRef": {
"Value": {
"Ref": "Layer"
}
},
"LayerVersionArn": {
"Value": {
"Fn::GetAtt": [
"Layer",
"LayerVersionArn"
]
}
}
}
},
"StagesAvailable": [
"Original",
"Processed"
]
},
"metadata": {
"RequestId": "c2ea44a3-e8cc-44bb-831f-0568afa1ab7c",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "c2ea44a3-e8cc-44bb-831f-0568afa1ab7c",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:49 GMT",
"content-type": "text/xml",
"content-length": "1243",
"connection": "keep-alive"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:49.779381+00:00"
},
{
"label": "generated-name-layer",
"service": "lambda",
"operation": "GetLayerVersionByArn",
"input": {
"Arn": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2"
},
"started_at": "2026-09-30T14:18:49.781064+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"Content": {
"Location": "https://prod-iad-c1-djusa-layers.s3.us-east-1.amazonaws.com/snapshots/000000000000/Layer-e2345395-9934-4228-b9f9-69c6775324be?versionId=4nhzhXCaCZLjXirFL5RQb92Ioe5BuFEj&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIFjhU1PIYRT6tmrqyB97tD%2BMS2TxvuFfbSbrV9%2FJP0cFAiAV6CSZQ5btqJYCXEQxsj9z18R1MxgrniX%2BswHQb%2Ft1Iyq6BQhlEAQaDDQ3OTIzMzAyNTM3OSIMhrs1semDBFMTGm%2BfKpcFQmL%2FpbUZswpTJmkw75%2B2bh6AnzqPVHIYYgzr1Ze%2BM95bMy8uTA8myua5WiyNigAtrzPMBvdrDPg5PyvcEv8F9uZQCY0NeonTdF%2FGCRndHHxH2jxYVc%2BAFtX9qnqUcX6aS115SHwkUfy5IP99kxotJabsqRSmgZY3Ij7g1VPUGORt0Pc%2BdgU8LiMXtjtGOmKh%2BaZkNoFmymGgy6ZEvYQ2UUHdJPFpxm3UQwOHR%2FgGMI1O1O%2F7wY10bmPhGMfsLew3k9k0DExEsQcupTvr6gkg6%2FEupvwD5h6AmIMsEfUjAWkKQDnED8tj3%2FonC3CSurg%2FIi3eTsMEHoRKp%2BzfWM2I0nKO0CH6xvgSHjNMjsuqrCyTu1p%2FPvhV712KzQdGJHeDEq8O%2BMNb1RJATV3yKBtm5omkUhQXC4yuANeNVPcwqkJ48tE2UVUGs5oIPpB2nTi7Uw3HQb6F1XUjO%2Bqyy3Sk7LBgbt6vXI802eovGBewOlYxt0cGO64v31pocr4mWfPjNVqDwxEvJV%2FyCfrQPBEakpZ7hPiw%2F16ABE7bkpyy804lzwIleYacXswzvpthdQNPB8L1Zal0j8Kl2bw6GWra92doeUp%2FgnGUB0SyTHIRkhc2UQGWtXZMTJNrmto9NJCD6AOzCMV32S3FLA6stxApfnll2DoYiIptjH95hY4bIW82PGS9ZpeG01BD1q1u9DGMd8WMLMJ423Fk%2BagZrdyYVJiph9fngn%2FGuA0ypbTNW1d4RTGAco0W2M0zbHXdkJ9V9NJ6385l%2BXqTO3h3IKHg%2FOWXiVP0kQ%2BWfn9RHerzpkWElcJgjzjx8SLxb4Boh64VejpmipdxR7IFXSmTKArrRVz2o2PeHjg5p59lNMIsc9pArZKEjVQGMMSS9NUGOrIBT%2BGXFl7%2Bf6mP0d88mXvP9etnk6rQRogw%2FQ5S4PuXtkKpS5K3kFGc4qLZ9hgUDwuL0uCdC2Uk2Xl1mvRAIP2e3jswQeXrXGGt9UzLr0QjRCgC7D0X8ox%2F783%2Bd4Mdh8NFB2NltvyzCELT92I9uwSB0T9rygr%2F7a%2BVAzLG5mj%2FgDv2s2fZCmqYRn%2FMT0Uu%2FImKoD771AdPfTkUmsTncOhJgduzyum5FhGP27I2ZncBY9csBQ%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260930T141850Z&X-Amz-SignedHeaders=host&X-Amz-Expires=599&X-Amz-Credential=ASIAW7FEDUVR55DBBFYH%2F20260930%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=d7829c6b7be9c2fbcf536256e8e2cd2f8d2f623121fa2d09eeecfdb4cf54cd1c",
"CodeSha256": "tfRQIWmQTEnkd0k0mQGn9dJHoBq6yrPYF4Gjv/mG6oI=",
"CodeSize": 146
},
"LayerArn": "arn:aws:lambda:us-east-1:000000000000:layer:Layer",
"LayerVersionArn": "arn:aws:lambda:us-east-1:000000000000:layer:Layer:2",
"Description": "initial layer",
"CreatedDate": "2026-09-30T14:18:44.295+0000",
"Version": 2,
"CompatibleArchitectures": [
"x86_64"
],
"CompatibleRuntimes": [
"python3.12"
],
"LicenseInfo": "MIT"
},
"metadata": {
"RequestId": "dd75e1ca-02ab-4761-bedb-c5deea903069",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"date": "Wed, 30 Sep 2026 14:18:50 GMT",
"content-type": "application/json",
"content-length": "2405",
"connection": "keep-alive",
"x-amzn-requestid": "dd75e1ca-02ab-4761-bedb-c5deea903069"
},
"RetryAttempts": 0
},
"finished_at": "2026-09-30T14:18:50.186424+00:00"
},
{
"label": "generated-name-replacement-submit",
"service": "cloudformation",
"operation": "UpdateStack",
"input": {
"StackName": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"TemplateBody": "{\"AWSTemplateFormatVersion\": \"2010-09-09\", \"Resources\": {\"Layer\": {\"Type\": \"AWS::Lambda::LayerVersion\", \"Properties\": {\"Content\": {\"S3Bucket\": \"stackd-cfn-layer-4df55ff9e4df-data\", \"S3Key\": \"layer.zip\", \"S3ObjectVersion\": \"_UkJQ9gPSUzc79wL3LdGCwftgEiBqxNx\"}, \"Description\": \"generated-name description replacement\", \"LicenseInfo\": \"MIT\", \"CompatibleRuntimes\": [\"python3.12\"], \"CompatibleArchitectures\": [\"x86_64\"]}}}, \"Outputs\": {\"LayerRef\": {\"Value\": {\"Ref\": \"Layer\"}}, \"LayerVersionArn\": {\"Value\": {\"Fn::GetAtt\": [\"Layer\", \"LayerVersionArn\"]}}}}",
"ClientRequestToken": "stackd-cfn-layer-4df55ff9e4df-generated-name-replacement"
},
"started_at": "2026-09-30T14:18:50.196510+00:00",
"phase": "workflow",
"code": "Success",
"output": {
"StackId": "arn:aws:cloudformation:us-east-1:000000000000:stack/stackd-cfn-layer-4df55ff9e4df-generated/d51e3d90-bcd9-11f1-9126-0affc116022d",
"OperationId": "db8f9020-bcd9-11f1-a1de-0eeba011532f"
},
"metadata": {
"RequestId": "2ec5f258-75db-4859-9bd3-168a4a0eba04",
"HTTPStatusCode": 200,
"HTTPHeaders": {
"x-amzn-requestid": "2ec5f258-75db-4859-9bd3-168a4a0eba04",
"strict-transport-security": "max-age=47304000; includeSubDomains",
"cache-control": "no-store, no-cache",
"date": "Wed, 30 Sep 2026 14:18:50 GMT",
"content-type": "text/xml",