@emulates/cloudcontrol
v1.0.0
Published
Work-in-progress Amazon Cloud Control API transport scaffold; vendor operations are not implemented.
Maintainers
Readme
@emulates/cloudcontrol
Part of Emulates: high-fidelity, in-process emulators for APIs and databases.
Transport scaffold for Amazon Cloud Control API. ESM; Node 22+ or Bun 1.2+.
Usage
import { createServer } from "@emulates/cloudcontrol/server"
const mock = await createServer()
// AWS SDK: endpoint: mock.url, region: "us-east-1", fixture credentials.
// Await mock.close() after the test.State lives in SQLite collections and participates in the shared runtime's namespace isolation, reset, timeline, clock, journal, metrics and fault controls. No AWS account is needed.
Planned, not implemented, AWS operations: CreateResource, GetResource, ListResources, UpdateResource, DeleteResource, GetResourceRequestStatus, ListResourceRequests, CancelResourceRequest.
Operations outside this list fail explicitly. This package emulates API state, not AWS infrastructure, production quotas, billing, IAM enforcement, or provider consoles. Service-specific omissions and oracle evidence are recorded in the AWS coverage ledger.
Run bun run parity with LocalStack on http://127.0.0.1:4566; an unavailable oracle fails the run.
No LocalStack run is recorded for this integration. The parity command is a bounded read-only SDK envelope probe, not proof of full vendor equivalence.
Implementation status
No vendor operations are implemented. Requests fail explicitly with UnknownOperationException; transport tests cover this boundary and malformed input. This package is not a usable vendor replacement yet. No LocalStack or live AWS parity is claimed.
Install
bun add @emulates/cloudcontrolAPI
CloudcontrolAPI(options?): low-level AWS transport instance withfetchandreset.createRuntime(options?): in-process Fetch API and shared state controls.createServer(options?)from the/serverentry: HTTP listener withurl,runtime, andclose().document,operationIds, andsupportedOperationIds: generated transport contract metadata.
