Skip to content

Commit dcfacf2

Browse files
Release 2026-04-08 (#2326)
* release_2026-04-08 * Update test app CloudFormation templates * Updated changelog
1 parent d86f1af commit dcfacf2

File tree

9 files changed

+45
-41
lines changed

9 files changed

+45
-41
lines changed

.autover/changes/alb-annotations-support.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Release 2026-04-08
2+
3+
### Amazon.Lambda.Annotations (1.11.0)
4+
* Added [ALBApi] attribute for configuring Lambda functions as targets behind an Application Load Balancer
5+
16
## Release 2026-03-27
27

38
### Amazon.Lambda.Annotations (1.10.0)

Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
2121
<IncludeBuildOutput>false</IncludeBuildOutput>
2222

23-
<Version>1.10.0</Version>
23+
<Version>1.11.0</Version>
2424
</PropertyGroup>
2525

2626
<!-- Delay setting the package id till after resolving dependencies to avoid ambigious errors. -->

Libraries/src/Amazon.Lambda.Annotations/Amazon.Lambda.Annotations.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AssemblyOriginatorKeyFile>..\..\..\buildtools\public.snk</AssemblyOriginatorKeyFile>
1212
<SignAssembly>true</SignAssembly>
1313

14-
<Version>1.10.0</Version>
14+
<Version>1.11.0</Version>
1515
</PropertyGroup>
1616

1717
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">

Libraries/test/TestCustomAuthorizerApp/serverless.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.10.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.11.0.0).",
55
"Resources": {
66
"AnnotationsHttpApi": {
77
"Type": "AWS::Serverless::HttpApi",

Libraries/test/TestExecutableServerlessApp/serverless.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "An AWS Serverless Application. This template is partially managed by Amazon.Lambda.Annotations (v1.10.0.0).",
4+
"Description": "An AWS Serverless Application. This template is partially managed by Amazon.Lambda.Annotations (v1.11.0.0).",
55
"Parameters": {
66
"ArchitectureTypeParameter": {
77
"Type": "String",

Libraries/test/TestServerlessApp.ALB/serverless.template

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "ALB Integration Test Stack - VPC and ALB infrastructure for testing Lambda ALB annotations This template is partially managed by Amazon.Lambda.Annotations (v1.10.0.0).",
4+
"Description": "ALB Integration Test Stack - VPC and ALB infrastructure for testing Lambda ALB annotations This template is partially managed by Amazon.Lambda.Annotations (v1.11.0.0).",
55
"Resources": {
66
"ALBTestVPC": {
77
"Type": "AWS::EC2::VPC",
@@ -235,9 +235,11 @@
235235
"Conditions": [
236236
{
237237
"Field": "path-pattern",
238-
"Values": [
239-
"/hello"
240-
]
238+
"PathPatternConfig": {
239+
"Values": [
240+
"/hello"
241+
]
242+
}
241243
}
242244
],
243245
"Actions": [
@@ -321,9 +323,11 @@
321323
"Conditions": [
322324
{
323325
"Field": "path-pattern",
324-
"Values": [
325-
"/health"
326-
]
326+
"PathPatternConfig": {
327+
"Values": [
328+
"/health"
329+
]
330+
}
327331
}
328332
],
329333
"Actions": [
@@ -403,16 +407,15 @@
403407
"Tool": "Amazon.Lambda.Annotations"
404408
},
405409
"Properties": {
406-
"ListenerArn": {
407-
"Ref": "ALBTestListener"
408-
},
409410
"Priority": 3,
410411
"Conditions": [
411412
{
412413
"Field": "path-pattern",
413-
"Values": [
414-
"/greeting"
415-
]
414+
"PathPatternConfig": {
415+
"Values": [
416+
"/greeting"
417+
]
418+
}
416419
}
417420
],
418421
"Actions": [
@@ -422,7 +425,10 @@
422425
"Ref": "ALBGreetingALBTargetGroup"
423426
}
424427
}
425-
]
428+
],
429+
"ListenerArn": {
430+
"Ref": "ALBTestListener"
431+
}
426432
}
427433
},
428434
"ALBCreateItem": {
@@ -489,22 +495,23 @@
489495
"Tool": "Amazon.Lambda.Annotations"
490496
},
491497
"Properties": {
492-
"ListenerArn": {
493-
"Ref": "ALBTestListener"
494-
},
495498
"Priority": 4,
496499
"Conditions": [
497500
{
498501
"Field": "path-pattern",
499-
"Values": [
500-
"/items"
501-
]
502+
"PathPatternConfig": {
503+
"Values": [
504+
"/items"
505+
]
506+
}
502507
},
503508
{
504509
"Field": "http-request-method",
505-
"Values": [
506-
"POST"
507-
]
510+
"HttpRequestMethodConfig": {
511+
"Values": [
512+
"POST"
513+
]
514+
}
508515
}
509516
],
510517
"Actions": [
@@ -514,7 +521,10 @@
514521
"Ref": "ALBCreateItemALBTargetGroup"
515522
}
516523
}
517-
]
524+
],
525+
"ListenerArn": {
526+
"Ref": "ALBTestListener"
527+
}
518528
}
519529
}
520530
},

Libraries/test/TestServerlessApp.NET8/serverless.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.10.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.11.0.0).",
55
"Resources": {
66
"TestServerlessAppNET8FunctionsToUpperGenerated": {
77
"Type": "AWS::Serverless::Function",

Libraries/test/TestServerlessApp/serverless.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"AWSTemplateFormatVersion": "2010-09-09",
33
"Transform": "AWS::Serverless-2016-10-31",
4-
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.10.0.0).",
4+
"Description": "This template is partially managed by Amazon.Lambda.Annotations (v1.11.0.0).",
55
"Resources": {
66
"TestQueue": {
77
"Type": "AWS::SQS::Queue"

0 commit comments

Comments
 (0)