AWS AWSCloudFormation documentation change
Summary
Updated Lambda authorizer example to explicitly reference AuthorizerFunction ARN using GetAtt
Security assessment
Change improves example clarity by showing proper ARN retrieval but doesn't address security vulnerabilities or document security features
Diff
diff --git a/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.md b/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.md index 625c6dc34..5dacadc77 100644 --- a//AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.md +++ b//AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.md @@ -206 +206 @@ The authorizer ID. -The following example creates a Lambda `authorizer` resource for the `MyApi` API. +The following example creates a Lambda `authorizer` resource using the Lambda function `AuthorizerFunction` for the `MyApi` API. @@ -233,0 +234,6 @@ The following example creates a Lambda `authorizer` resource for the `MyApi` API + { + "Fn::GetAtt": [ + "AuthorizerFunction", + "Arn" + ] + }, @@ -262,0 +269 @@ The following example creates a Lambda `authorizer` resource for the `MyApi` API + - !GetAtt AuthorizerFunction.Arn