Roblo3

Roblo3 is a fun ‘Unofficial SDK for Amazon Web Services compatible with Roblox’

Basically, you can read & write to dynamoDB from Roblox.

https://roblo3.netlify.app/getting-started/accessing-service-resources/

You need to enable HttpService

So, to read\write to dynamoDB from Roblox you will need an IAM account (this is a decent description of why https://roblo3.netlify.app/security/roblox-and-aws-iam/ )

Here is the how https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_examples_dynamodb_specific-table.html

Then you will need to create a simple dynamoDB table.

Place Roblo3 SDK into ServerScriptService then call require on the path to the SDK. You could put this in a click event.

local ServerScriptService = game:GetService("ServerScriptService")
local roblo3 = require(ServerScriptService.Roblo3)

local awsArgs = {
    ["accessKeyID"] = "ACCESS_KEY_ID",
    ["secretAccessKey"] = "SECRET_ACCESS_KEY",
    ["regionName"] = "us-west-2"
}

local dynamodb = roblo3.resource("dynamodb", awsArgs)

local table = dynamodb:Table("TestTable")

local response = table:PutItem(
		{["Item"] = { ["id"] = "helloworld" }
		}
	)

Tada

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s