Решено с использованием поведения для / path / и лямбда-функции по запросу источника:
exports.handler = async (event, context, callback) => {
const response = {
status: '301',
statusDescription: 'Moved Permanently',
headers: {
location: [{
key: 'Location',
value: "https://" + event.Records[0].cf.request.headers.host[0].value.replace(".s3.amazonaws.com", ""),
}],
},
};
callback(null, response);
};