Relative Content

Tag Archive for amazon-web-servicesamazon-s3localstack

Accessing localstack-S3 bucket without using the localstack-host url

I have this situation where I am able to connect to the AWS S3 bucket without actually mentioning the path to the s3 bucket. I am only passing the client, secret, region & bucket name and able to connect to the AWS S3 bucket. I have this only application (SBApp) code repository where I can’t make changes to connect to the S3 bucket. ( What change? explained ahead.)
The following code in the SBApp is responsible for connecting to the AWS S3 bucket without using AWS S3 url :