Deploying to AWS
Installation
SKILL.md
Deploying to AWS
Quick Start
// Lambda handler
import { APIGatewayProxyEvent, APIGatewayProxyResult } from 'aws-lambda';
export const handler = async (event: APIGatewayProxyEvent): Promise<APIGatewayProxyResult> => {
const { id } = event.pathParameters || {};
return {
statusCode: 200,
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ id, message: 'Success' }),
};
};