Skip to content

Commit 5184c5c

Browse files
committed
fix: rename DefaultAction to DefaultActions for ALB Listener
The CloudFormation property for AWS::ElasticLoadBalancingV2::Listener is 'DefaultActions' (plural), not 'DefaultAction' (singular). Fixed in: - TestServerlessApp.ALB/serverless.template (deployed template) - README.md ALB documentation example
1 parent eb0a529 commit 5184c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Libraries/src/Amazon.Lambda.Annotations/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ The `ALBApi` attribute requires an existing ALB listener. Here is a minimal exam
10651065
"LoadBalancerArn": { "Ref": "MyALB" },
10661066
"Port": 80,
10671067
"Protocol": "HTTP",
1068-
"DefaultAction": [{ "Type": "fixed-response", "FixedResponseConfig": { "StatusCode": "404" } }]
1068+
"DefaultActions": [{ "Type": "fixed-response", "FixedResponseConfig": { "StatusCode": "404" } }]
10691069
}
10701070
}
10711071
}

Libraries/test/TestServerlessApp.ALB/serverless.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
},
156156
"Port": 80,
157157
"Protocol": "HTTP",
158-
"DefaultAction": [
158+
"DefaultActions": [
159159
{
160160
"Type": "fixed-response",
161161
"FixedResponseConfig": {

0 commit comments

Comments
 (0)