conforming to aws spec