AWS code-library documentation change
Summary
Updated example bucket names from 'my-bucket' to 'amzn-s3-demo-bucket' in IAM policy examples
Security assessment
Standardization of example resource names without security context changes
Diff
diff --git a/code-library/latest/ug/python_3_iam_code_examples.md b/code-library/latest/ug/python_3_iam_code_examples.md index c9db88aae..a1bc2c20c 100644 --- a/code-library/latest/ug/python_3_iam_code_examples.md +++ b/code-library/latest/ug/python_3_iam_code_examples.md @@ -721,2 +721,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - 'arn:aws:s3:::my-bucket/*' to allow actions on all objects - in the bucket named 'my-bucket'. + 'arn:aws:s3:::amzn-s3-demo-bucket/*' to allow actions on all objects + in the bucket named 'amzn-s3-demo-bucket'. @@ -3977,2 +3977,2 @@ Create functions that wrap IAM policy actions. - 'arn:aws:s3:::my-bucket/*' to allow actions on all objects - in the bucket named 'my-bucket'. + 'arn:aws:s3:::amzn-s3-demo-bucket/*' to allow actions on all objects + in the bucket named 'amzn-s3-demo-bucket'. @@ -4504,2 +4504,2 @@ Create functions that wrap IAM policy actions. - 'arn:aws:s3:::my-bucket/*' to allow actions on all objects - in the bucket named 'my-bucket'. + 'arn:aws:s3:::amzn-s3-demo-bucket/*' to allow actions on all objects + in the bucket named 'amzn-s3-demo-bucket'. @@ -4685 +4685 @@ Use the wrapper functions to create policies, update versions, and get informati - bucket_arn = f"arn:aws:s3:::made-up-bucket-name" + bucket_arn = f"arn:aws:s3:::amzn-s3-demo-bucket"