export const handler = async (event) => {
// TODO implement
const newObject = {
first : 12,
second : "This is the second property",
third : event
};
console.log("new object: ", JSON.stringify(newObject, null, 2));
const response = {
statusCode: 200,
body: JSON.stringify('Hello from Lambda!'),
};
return response;
};
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "GameLiftListFleetsAccess",
"Effect": "Allow",
"Action": [
"gamelift:ListFleets"
],
"Resource": "*"
}
]
}