Skip to content

Instantly share code, notes, and snippets.

View sashatu's full-sized avatar

aSail sashatu

View GitHub Profile
@sashatu
sashatu / requestDebugger.js
Created August 30, 2024 11:30
Simple Node.JS Lambda Function to output the HTTP request parameters in JSON format
export const handler = async (event) => {
// Extract useful information from the event object
const {
httpMethod,
headers = {},
queryStringParameters = {},
path,
body,
requestContext: {
identity: { sourceIp, userAgent } = {}
@sashatu
sashatu / Test-WAFT-Profile.json
Created June 21, 2023 11:30
Sample Well-Architected Tool Profile JSON
{
"Profile": {
"ProfileArn": "arn:aws:wellarchitected:us-east-1:1234567890:profile/035d049beb441cd46ee7f14990b6dea4",
"ProfileVersion": "1.0.0",
"ProfileName": "test",
"ProfileDescription": "test",
"ProfileQuestions": [
{
"QuestionId": "org-cloud-adoption-phase",
"QuestionTitle": "What is the current cloud adoption phase for the organization architecting or operating the workloads in this profile?",