bedrock agentcore optimization