Add AWS_SESSION_TOKEN to Laravel's AWS configuration.
For example, you can use AWS_SESSION_TOKEN (without setting AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY) to run your Laravel application in AWS Lambda using bref.
composer require sunaoka/laravel-aws-session-tokenphp artisan vendor:publish --tag=aws-session-token-config