Use path-style S3 URLs for remote endpoints
mainWhen using CDK >= 2.177.0 with remote LocalStack endpoints (e.g., *.sandbox.localstack.cloud), asset uploads to S3 require path-style URLs because wildcard TLS certificates do not cover virtual-hosted-style bucket addresses (e.g., <bucket>.abc.sandbox.localstack.cloud).
cdklocal automatically enables path-style S3 if it detects a .sandbox. hostname in AWS_ENDPOINT_URL. You can also force this behavior manually using AWS_S3_FORCE_PATH_STYLE=1.