AWS AmazonCloudFront: Correct Lambda function URL auth type to AWS_IAM
Summary
Fixes grammar and corrects Lambda URL authorization type from IAM_AUTH to AWS_IAM in OAC SigV4 guidance.
Security assessment
The correction documents the proper AWS_IAM authorization type for Lambda function URLs signed via OAC SigV4; this is security-relevant configuration guidance, though no specific vulnerability or incident is cited.
Evidence
This configuration allows the OAC to manage SigV4 authorization correctly with Lambda by using the Lambda hostname. The payload is signed by using SigV4 from the IAM identity that's authorized for the Lambda function URL, which is designated as the `AWS_IAM` type.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-lambda.md b/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-lambda.md index a678607..0263b1b 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-lambda.md +++ b//AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-lambda.md @@ -63 +63 @@ The following AWS CLI command grants the CloudFront service principal (`cloudfro -The following AWS CLI commands allows the CloudFront distribution (``E1PDK09ESKHJWT``) access to your Lambda ``FUNCTION_URL_NAME``. +The following AWS CLI commands allow the CloudFront distribution (``E1PDK09ESKHJWT``) access to your Lambda ``FUNCTION_URL_NAME``. @@ -261 +261 @@ This code assumes that you configured the OAC with the default signing behavior -This configuration allows the OAC to manage SigV4 authorization correctly with Lambda by using the Lambda hostname. The payload is signed by using SigV4 from the IAM identity that's authorized for the Lambda function URL, which is designated as the `IAM_AUTH` type. +This configuration allows the OAC to manage SigV4 authorization correctly with Lambda by using the Lambda hostname. The payload is signed by using SigV4 from the IAM identity that's authorized for the Lambda function URL, which is designated as the `AWS_IAM` type.