AWS Security ChangesHomeSearch

AWS bedrock-agentcore documentation change

Service: bedrock-agentcore · 2025-08-10 · Documentation medium

File: bedrock-agentcore/latest/devguide/code-interpreter-s3-integration.md

Summary

Added JSON formatting markers, updated S3 integration examples with placeholders, and restricted file operations documentation to 'write' only.

Security assessment

Placeholders for account IDs and regions promote security best practices by preventing accidental exposure of sensitive information. The removal of 'read' from file operations may imply tighter permissions, though not explicitly stated.

Diff

diff --git a/bedrock-agentcore/latest/devguide/code-interpreter-s3-integration.md b/bedrock-agentcore/latest/devguide/code-interpreter-s3-integration.md
index b0d1b07c8..d64b69d0d 100644
--- a//bedrock-agentcore/latest/devguide/code-interpreter-s3-integration.md
+++ b//bedrock-agentcore/latest/devguide/code-interpreter-s3-integration.md
@@ -22,0 +23,6 @@ Before creating a custom Code Interpreter with S3 access, you need to:
+JSON
+    
+
+****
+    
+    
@@ -38,0 +46,6 @@ Before creating a custom Code Interpreter with S3 access, you need to:
+JSON
+    
+
+****
+    
+    
@@ -64 +78 @@ You can implement S3 integration using boto3 (AWS SDK for Python). The following
-Before running this code, make sure to replace `{REGION}` and `<awsaccountid>` with your AWS Region and AWS account number.
+Before running this code, make sure to replace `REGION` and `<awsaccountid>` with your AWS Region and AWS account number.
@@ -71 +85 @@ Before running this code, make sure to replace `{REGION}` and `<awsaccountid>` w
-    REGION = "us-west-2"
+    REGION = "<Region>"
@@ -93 +107 @@ Before running this code, make sure to replace `{REGION}` and `<awsaccountid>` w
-        executionRoleArn="arn:aws:iam::864899855746:role/S3InteractionRole",
+        executionRoleArn="arn:aws:iam::<your-account-id>:role/S3InteractionRole",
@@ -186 +200 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please
-Read from or write files to a session
+Write files to a session