17 lines
428 B
JavaScript
17 lines
428 B
JavaScript
|
|
#!/usr/bin/env node
|
||
|
|
// infra/bin/app.js
|
||
|
|
const cdk = require("aws-cdk-lib");
|
||
|
|
const { LedgerFlowStack } = require("../lib/ledgerflow-stack");
|
||
|
|
|
||
|
|
const app = new cdk.App();
|
||
|
|
|
||
|
|
new LedgerFlowStack(app, "LedgerFlow", {
|
||
|
|
env: {
|
||
|
|
account: process.env.CDK_DEFAULT_ACCOUNT,
|
||
|
|
region: process.env.CDK_DEFAULT_REGION || "us-east-1",
|
||
|
|
},
|
||
|
|
description: "LedgerFlow B2B Accounting — Lambda + API Gateway + DynamoDB",
|
||
|
|
});
|
||
|
|
|
||
|
|
app.synth();
|