AWS bedrock-agentcore documentation change
Summary
Updated variable reference in authorizer configuration comment
Security assessment
Clarifies code sample by using proper variable name but doesn't change security functionality. Maintains existing OAuth authorization documentation without adding new security features.
Diff
diff --git a/bedrock-agentcore/latest/devguide/create-gateway-methods.md b/bedrock-agentcore/latest/devguide/create-gateway-methods.md index 80f34eef5..2e48115b2 100644 --- a//bedrock-agentcore/latest/devguide/create-gateway-methods.md +++ b//bedrock-agentcore/latest/devguide/create-gateway-methods.md @@ -31 +31 @@ You can create a gateway with the AgentCore SDK: - authorizer_config=cognito_result["authorizer_config"], # the OAuth authorizer details for authorizing callers to your Gateway (MCP only supports OAuth). + authorizer_config=authorization, # Variable from inbound authorization setup steps. Contains the OAuth authorizer details for authorizing callers to your Gateway (MCP only supports OAuth).