SAM is for simple serverless stacks; this project has ECS, VPC, and multi-service composition which requires CDK. Migration brings ContainerImage.fromAsset() for automatic Docker builds on deploy, matching the seahaven-slack-bot pattern. Also fixes: Bedrock model ID (add version suffix), Gmail history API parameter (labelId not labelIds), classify JSON extraction (handle markdown fences), and digest block limit (cap sections at 5 items to stay under Slack's 50-block limit).
14 lines
371 B
JavaScript
14 lines
371 B
JavaScript
#!/usr/bin/env node
|
|
import * as cdk from 'aws-cdk-lib';
|
|
import { ExecAideStack } from '../lib/exec-aide-stack';
|
|
|
|
const app = new cdk.App();
|
|
|
|
new ExecAideStack(app, 'ExecAideStack', {
|
|
env: {
|
|
account: '328440206208',
|
|
region: 'us-east-1',
|
|
},
|
|
stackName: 'exec-aide',
|
|
description: 'exec-aide - Gmail inbox monitor with AI classification and Slack alerts',
|
|
});
|