Skip to content

how to make dualstack work in amplify configuration or client code of amplify 2.x #4042

@smediomike

Description

@smediomike

I want to set my S3 to support dualstack.

status:
Android can work with setS3ClientOption in AmazonS3Client from getEscapeHatch.

iOS do not find same android method to handle this.

based on https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html; if add use_dualstack_endpoint into AmplifyConfiguration file, iOS client also can not work like below:

"storage":{
"plugins":{
"awsS3StoragePlugin":{
"bucket" :"greenbeehive",
"region":"ap-northest-1",
"use_dualstack_endpoint",true
}
}
}

SDK version: 2.26.1
Device: any iOS device

Questions:
How I make it workable in AmplifyConfiguration file or how to change configuration or others in code to make it workable?

Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest a new featurestorageIssues related to the Storage category

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions