AWS Help

So I’m trying to integrate Dynamo with my .netcore web api project. When I try to use my ACCESS_KEY/SECRET_Key to create a connection I get a segmentation fault, in C# I’m wondering if anyone has sucessfully done this before?

    public async Task<string> GetItemNaive(string key)
    {
        
        using (var client = new AmazonDynamoDBClient(ACCESS_KEY, SECRET_KEY, RegionEndpoint.USEast1))
        {
            var tableResponse = await client.ListTablesAsync();
            if (!tableResponse.TableNames.Contains("Users"))
            {
                return "no table";
            }
        }
        return "table";

    }

Disclaimer: I have not worked with AWS nor with C# before, I just did some GoogleFu. But since noone else answered… might as well.

In the Code Samples they don’t pass arguments individually, they pass an AmazonDynamoDBConfig object, not sure, maybe it helps ¯\_(ツ)_/¯

http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/CodeSamples.DotNet.html

Thanks, I think the issue has to do with the .netcore build on linux, because when I ran it on a windows machine at work the same code worked just fine.