AWS lambda documentation change
Summary
Added JSON examples and formatting for resource-based policies
Security assessment
Formatting changes and example additions without specific security context or guidance
Diff
diff --git a/lambda/latest/dg/access-control-resource-based.md b/lambda/latest/dg/access-control-resource-based.md index d7878a1f6..7fad9d20e 100644 --- a//lambda/latest/dg/access-control-resource-based.md +++ b//lambda/latest/dg/access-control-resource-based.md @@ -68,0 +69,8 @@ You should see the following output: +JSON + +JSON + + +**** + + @@ -71,0 +80,13 @@ You should see the following output: + +JSON + +JSON + + +**** + + + + {"Version":"2012-10-17","Id":"default","Statement":[{"Sid":"sns","Effect":"Allow","Principal":{"Service":"s3.amazonaws.com.cn"},"Action":"lambda:InvokeFunction","Resource":"arn:aws:lambda:cn-north-1:123456789012:function:my-function","Condition":{"ArnLike":{"AWS:SourceArn":"arn:aws:sns:us-east-2:123456789012:lambda*"}}}]} 7c681fc9-b791-4e91-acdf-eb847fdaa0f0 + +