Skip to content

How to reach S3 bucket without specifying region #47

Closed
@johnny-guo

Description

@johnny-guo

I can get object in S3 bucket when specifying region in ClientConfiguration:

ClientConfiguration config;
config.scheme = Scheme::HTTPS;
config.connectTimeoutMs = 30000;
config.requestTimeoutMs = 30000;
config.region = Aws::Region::US_WEST_2;
Aws::S3::S3Client Client(config);

And I'm wondering whether there is a way to get the same object in S3 bucket without specifying the region, similar to java sdk.

Thanks again for the great help!
Johnny

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions