@qpqjs/config-aws
v0.10.0
Published
AWS-specific config settings and accessors for quidproquo apps.
Readme
@qpqjs/config-aws
AWS-specific configuration for quidproquo.
A qpq config is a plain array of settings. Core and webserver settings describe resources in platform-neutral terms (a key value store, a queue, a route). This package holds the settings that only mean something on AWS, each keyed by the core resource it applies to and resolved at deploy time.
That split is deliberate: a service config stays portable, and the AWS detail sits in one place you can point at.
npm install @qpqjs/config-awsYou usually pair it with @qpqjs/deploy-aws, which reads these settings and builds the stacks.
What you can configure
| Setting | For |
| --- | --- |
| defineAwsServiceAccountInfo | Which account and region a service deploys into |
| defineAwsDynamoOverrideForKvs | DynamoDB specifics for a key value store: indexes, capacity, streams |
| defineAwsDataStoreRemovalPolicy | Whether data stores survive a stack delete |
| defineAwsVirtualNetworkSettings | VPC placement |
| defineAwsAlarm, defineAwsServiceDashboard | CloudWatch alarms and dashboards |
| defineDomainCertificate | ACM certificates, including cross-region for CloudFront |
| defineEmailSenderAllowList | SES sender restrictions |
| defineEventBusQuickSubscription | Shortcut subscriptions on an event bus topic |
| defineBootstrapWaf, defineWafProtection | Web ACLs and which resources sit behind them |
| defineBootstrapAwsOrganization | Organization structure |
| defineAccountBudget, defineAccountCloudTrail, defineAccountSecurityServices | Account-level budgets, audit trail, and security services |
Naming
Resource names are derived from the account, region, and config name rather than being set by hand. The runtime processors derive them the same way, so nothing has to be threaded between deploy and run.
Status
Pre-1.0. The whole @qpqjs/* family releases in lockstep, so versions that share a number were built and tested together. Expect APIs to move between releases, and pin your versions.
Documentation
License
MIT. See LICENSE.
