Api gateway to SNS

Hello! Could I write in .yml settings to publish topic (with request data) from api-gateway to sns, without intermediate lambda?