Adds a scheduled Lambda that pulls all pages from the Office Operations Notion teamspace, converts them to markdown, uploads to the KB S3 bucket under a notion/ prefix, and triggers a Bedrock ingestion job. Runs daily at 02:00 UTC via EventBridge. Notion API key stored in Secrets Manager at seahaven/notion/api-key (placeholder — fill in post-deploy).
28 lines
646 B
JSON
28 lines
646 B
JSON
{
|
|
"name": "seahaven-slack-bot",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"watch": "tsc -w",
|
|
"cdk": "cdk",
|
|
"deploy": "cdk deploy --all",
|
|
"diff": "cdk diff",
|
|
"synth": "cdk synth"
|
|
},
|
|
"devDependencies": {
|
|
"@types/aws-lambda": "^8.10.149",
|
|
"@types/node": "^22.0.0",
|
|
"aws-cdk": "^2.180.0",
|
|
"esbuild": "^0.25.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "~5.7.2"
|
|
},
|
|
"dependencies": {
|
|
"@cdklabs/generative-ai-cdk-constructs": "^0.1.0",
|
|
"@notionhq/client": "^2.2.15",
|
|
"aws-cdk-lib": "^2.180.0",
|
|
"constructs": "^10.4.2",
|
|
"notion-to-md": "^3.1.1"
|
|
}
|
|
}
|