AWS sns: Capitalization edits to SNS Lambda cross-Region prerequisites
Summary
Editorial changes only: capitalized 'Regions' and reworded 'prior to' to 'before' in the SNS-to-Lambda cross-Region delivery prerequisites. No technical or policy content changed.
Security assessment
The diff only changes capitalization of 'regions' to 'Regions' and 'prior to' to 'before'. The existing guidance about altering the Lambda resource policy principal for opt-in Regions is unchanged, so this is a purely editorial edit with no new security implications.
Evidence
+When you use Amazon SNS to deliver messages from opt-in Regions to Regions which are enabled by default, you must alter the policy created in the Lambda function by replacing the principal `sns.amazonaws.com` with `sns.<opt-in-region>.amazonaws.com`.
Diff
diff --git a/sns/latest/dg/lambda-prereq.md b/sns/latest/dg/lambda-prereq.md index b02414ded..030b303c6 100644 --- a//sns/latest/dg/lambda-prereq.md +++ b//sns/latest/dg/lambda-prereq.md @@ -20 +20 @@ For information about creating a Lambda function to use with Amazon SNS, see [Us -When you use Amazon SNS to deliver messages from opt-in regions to regions which are enabled by default, you must alter the policy created in the Lambda function by replacing the principal `sns.amazonaws.com` with `sns.<opt-in-region>.amazonaws.com`. +When you use Amazon SNS to deliver messages from opt-in Regions to Regions which are enabled by default, you must alter the policy created in the Lambda function by replacing the principal `sns.amazonaws.com` with `sns.<opt-in-region>.amazonaws.com`. @@ -22 +22 @@ When you use Amazon SNS to deliver messages from opt-in regions to regions which -For example, if you want to subscribe a Lambda function in US East (N. Virginia) to an Amazon SNS topic in Asia Pacific (Hong Kong), change the principal in the Lambda function policy to `sns.ap-east-1.amazonaws.com`. Opt-in regions include any regions launched after March 20, 2019, which includes Asia Pacific (Hong Kong), Middle East (Bahrain), EU (Milano), and Africa (Cape Town). Regions launched prior to March 20, 2019 are enabled by default. +For example, if you want to subscribe a Lambda function in US East (N. Virginia) to an Amazon SNS topic in Asia Pacific (Hong Kong), change the principal in the Lambda function policy to `sns.ap-east-1.amazonaws.com`. Opt-in Regions include any Regions launched after March 20, 2019, which includes Asia Pacific (Hong Kong), Middle East (Bahrain), EU (Milano), and Africa (Cape Town). Regions launched before March 20, 2019 are enabled by default. @@ -26 +26 @@ For example, if you want to subscribe a Lambda function in US East (N. Virginia) -AWS doesn't support cross-region delivery to Lambda from a region that is enabled by default to an opt-in region. Also, cross-region forwarding of Amazon SNS messages from opt-in regions to other opt-in regions is not supported. +AWS doesn't support cross-Region delivery to Lambda from a Region that is enabled by default to an opt-in Region. Also, cross-Region forwarding of Amazon SNS messages from opt-in Regions to other opt-in Regions is not supported.