A simple CDK typescript template/test project for a basic flow.
npm i && cdk deploy
Copy the endpoint url from the result of the above command and make a POST
request to https://<YOUR_ENDPOINT>. amazonaws.com/prod/producer
with JSON
content body.
Example:
curl --location --request POST 'https://qdje2uugu6.execute-api.eu-west-1.amazonaws.com/prod/producer' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Hello world"
}'
cdk destroy