Move setting to aws py.