AWS-SDK inside Realm Function

I was wondering if it is possible to use the AWS SDK in a Realm Function directly?

I saw that you can use it via the services API ( https://docs.mongodb.com/realm/services/aws/ ), however, that requires you to pre-configure your AWS connection. I would like to be able to set this up dynamically.

I also tried uploading the aws-sdk as a node module but that does not work. I also noticed when trying the aws-sdk 3.0 version the upload doesn’t work nor does it throw a message.

Hi Austin – v2.737.0 of the AWS SDK should work within Realm Functions and we are currently working on supporting more recent versions.

1 Like

Thanks for the reply. I would recommend putting that in the docs.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.