cdk-local 0.153.2 → 0.155.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/dist/{cdkl-io-host-CDXI-7cC.js → cdkl-io-host-DFQf5KWv.js} +12 -4
- package/dist/cdkl-io-host-DFQf5KWv.js.map +1 -0
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/{docker-cmd-BSdu45mc.js → docker-cmd-CoZdbeos.js} +14 -13
- package/dist/docker-cmd-CoZdbeos.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/internal.d.ts +214 -2
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.js +3 -3
- package/dist/{local-studio-DCTVck5l.js → local-studio-CsftJJ1r.js} +1629 -675
- package/dist/local-studio-CsftJJ1r.js.map +1 -0
- package/dist/{local-studio-DDFmguSG.d.ts → local-studio-D5Ycx74D.d.ts} +12 -2
- package/dist/local-studio-D5Ycx74D.d.ts.map +1 -0
- package/dist/{logger-CwFXOD1w.js → logger-Co5XVwco.js} +68 -11
- package/dist/logger-Co5XVwco.js.map +1 -0
- package/package.json +1 -1
- package/dist/cdkl-io-host-CDXI-7cC.js.map +0 -1
- package/dist/docker-cmd-BSdu45mc.js.map +0 -1
- package/dist/local-studio-DCTVck5l.js.map +0 -1
- package/dist/local-studio-DDFmguSG.d.ts.map +0 -1
- package/dist/logger-CwFXOD1w.js.map +0 -1
package/README.md
CHANGED
|
@@ -63,8 +63,8 @@ Run every `cdkl` command from your CDK project root (the directory containing `c
|
|
|
63
63
|
|
|
64
64
|
Every command takes its target two ways:
|
|
65
65
|
|
|
66
|
-
- **Leave it off** and cdk-local lists every matching target for you to pick with the arrow keys — no need to know or type the CDK path (`invoke` / `invoke-agentcore` / `start-agentcore` / `run-task` / `start-cloudfront` pick one; `start-service` / `start-alb` / `start-api` multi-select).
|
|
67
|
-
- **Or name it** — pass the CDK display path (e.g. `cdkl invoke MyStack/Fn`) or a stack-qualified logical ID (`MyStack:Fn1234ABCD`, the SAM-compatible form); single-stack apps may drop the stack prefix.
|
|
66
|
+
- **Leave it off** and cdk-local lists every matching target for you to pick with the arrow keys — no need to know or type the CDK path (`invoke` / `invoke-agentcore` / `start-agentcore` / `start-web-function` / `run-task` / `start-cloudfront` pick one; `start-service` / `start-alb` / `start-api` multi-select).
|
|
67
|
+
- **Or name it** — pass the CDK display path (e.g. `cdkl invoke MyStack/Fn`) or a stack-qualified logical ID (`MyStack:Fn1234ABCD`, the SAM-compatible form); single-stack apps may drop the stack prefix. A stack inside a `cdk.Stage` is named by its display path (`cdkl invoke MyStage/Api/Fn`) and counts toward the stack total, so one top-level stack plus a Stage is multi-stack.
|
|
68
68
|
|
|
69
69
|

|
|
70
70
|
|
|
@@ -86,6 +86,7 @@ Per-command notes — full capabilities are in [Supported resources](#supported-
|
|
|
86
86
|
- **`start-cloudfront`** serves the `viewer-request` -> origin -> `viewer-response` pipeline over S3 / Lambda Function URL origins, running CloudFront Functions and Lambda@Edge locally ([details](docs/cli-reference.md#cdkl-start-cloudfront-serve-a-cloudfront-distribution-locally)).
|
|
87
87
|
- **`invoke-agentcore`** runs a Bedrock AgentCore Runtime agent once ([details](docs/cli-reference.md#cdkl-invoke-agentcore-run-bedrock-agentcore-runtime-agents-locally)).
|
|
88
88
|
- **`start-agentcore`** serves an AgentCore Runtime warm — one container you hit repeatedly until `^C` ([details](docs/cli-reference.md#cdkl-start-agentcore-serve-an-agentcore-runtimes-http-contract--ws-locally)).
|
|
89
|
+
- **`start-web-function`** serves a Lambda Web Function: one revision's code bundle in a container listening on `AWS_LAMBDA_HTTP_ENDPOINT`, on a local port ([details](docs/cli-reference.md#cdkl-start-web-function-serve-a-lambda-web-function-locally)).
|
|
89
90
|
- **`studio`** opens a local web console over the same targets, no target needed: [Web console — `cdkl studio`](#web-console--cdkl-studio).
|
|
90
91
|
- Non-TTY (CI / pipes): every command except a bare `start-api` needs an explicit target.
|
|
91
92
|
|
|
@@ -100,6 +101,7 @@ cdkl start-api # API Gateway REST v1 / HTTP v2 / WebSocket + Function U
|
|
|
100
101
|
cdkl start-cloudfront # CloudFront: S3 / Lambda Function URL origins + Functions (static site / SPA / SSR)
|
|
101
102
|
cdkl invoke-agentcore # Bedrock AgentCore Runtime (HTTP / MCP / A2A / AGUI)
|
|
102
103
|
cdkl start-agentcore # serve an AgentCore Runtime warm: HTTP (POST /invocations + /ws) / MCP (POST /mcp) / A2A (POST /), repeatable
|
|
104
|
+
cdkl start-web-function # Lambda Web Function: one revision's HTTP server on a local port
|
|
103
105
|
cdkl list # every runnable target, grouped by command (alias: ls)
|
|
104
106
|
cdkl studio # interactive web console over every target
|
|
105
107
|
```
|
|
@@ -293,6 +295,7 @@ Most CDK ECS apps boot multiple replicas behind an ALB. cdk-local exposes each l
|
|
|
293
295
|
| Cloud Map / Service Connect registry | `start-service` / `start-alb` — service discovery between local replicas |
|
|
294
296
|
| ALB-fronted ECS / Lambda services | `start-alb` — HTTP / HTTPS listeners, all six listener-rule conditions, weighted forwards, redirect / fixed-response, mixed ECS + Lambda targets, authenticate-cognito / authenticate-oidc (local Bearer-JWT enforcement), WebSocket Upgrade |
|
|
295
297
|
| CloudFront distributions (S3 + Lambda Function URL origins + CloudFront Functions + Lambda@Edge) | `start-cloudfront` — **CloudFront Functions** (viewer-request / viewer-response) and **Lambda@Edge** (real RIE container, all four event types) over an S3 origin served from **local files** — the **BucketDeployment** source or a `--origin <id>=<dir>` dir — or from **real S3** on demand (`--from-cfn-stack`); plus Lambda Function URL origins, **KeyValueStore** reads, `ResponseHeadersPolicy` CORS, `--tls`, `--watch` ([details](docs/cli-reference.md#cdkl-start-cloudfront-serve-a-cloudfront-distribution-locally)) |
|
|
298
|
+
| Lambda Web Functions (`WebFunction` / `WebFunctionRevision` / `WebFunctionEndpoint`) | `start-web-function` — one revision (the endpoint's highest weight, or `--revision`) from its cdk.out code asset, `nodejs24.x` |
|
|
296
299
|
| Bedrock AgentCore Runtime agents | `invoke-agentcore` — single-shot (boot, invoke, tear down); `start-agentcore` — long-running warm serve, one container kept warm to hit repeatedly until `^C` |
|
|
297
300
|
|
|
298
301
|
Lambda runs on every current AWS Lambda runtime — Node.js (18/20/22/24), Python (3.11–3.14), Ruby (3.2/3.3), Java (8.al2/11/17/21), .NET (6/8), and the OS-only `provided.al2` / `provided.al2023`. The retired `go1.x` runtime is rejected with a pointer to migrate to `provided.al2023`.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as resolveConfiguredLogLevel } from "./logger-
|
|
1
|
+
import { n as renderLogText, r as resolveConfiguredLogLevel } from "./logger-Co5XVwco.js";
|
|
2
2
|
import { NonInteractiveIoHost } from "@aws-cdk/toolkit-lib";
|
|
3
3
|
|
|
4
4
|
//#region src/synthesis/cdkl-io-host.ts
|
|
5
|
+
const ANSI_SGR_RE = /\u001b\[[0-9;]*m/g;
|
|
5
6
|
var CdklIoHost = class extends NonInteractiveIoHost {
|
|
6
7
|
suppressNonWarnings = (() => {
|
|
7
8
|
const level = resolveConfiguredLogLevel();
|
|
@@ -14,13 +15,20 @@ var CdklIoHost = class extends NonInteractiveIoHost {
|
|
|
14
15
|
level: "info"
|
|
15
16
|
} : msg;
|
|
16
17
|
if (this.suppressNonWarnings && reclassified.level !== "warn" && reclassified.level !== "error") return;
|
|
17
|
-
return super.notify(reclassified);
|
|
18
|
+
if (typeof reclassified.message !== "string") return super.notify(reclassified);
|
|
19
|
+
return super.notify({
|
|
20
|
+
...reclassified,
|
|
21
|
+
message: renderToolkitMessageText(reclassified.message)
|
|
22
|
+
});
|
|
18
23
|
}
|
|
19
24
|
};
|
|
25
|
+
function renderToolkitMessageText(text) {
|
|
26
|
+
return renderLogText(text.replace(ANSI_SGR_RE, ""));
|
|
27
|
+
}
|
|
20
28
|
function isStackIdTemplateHint(msg) {
|
|
21
29
|
return msg.code === void 0 && typeof msg.message === "string" && msg.message.startsWith("Supply a stack id ") && msg.message.includes("to display its template");
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
//#endregion
|
|
25
|
-
export { CdklIoHost };
|
|
26
|
-
//# sourceMappingURL=cdkl-io-host-
|
|
33
|
+
export { CdklIoHost, renderToolkitMessageText };
|
|
34
|
+
//# sourceMappingURL=cdkl-io-host-DFQf5KWv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cdkl-io-host-DFQf5KWv.js","names":[],"sources":["../src/synthesis/cdkl-io-host.ts"],"mappings":";;;;AAKA,MAAM,cAAc;AAyDpB,IAAa,aAAb,cAAgC,qBAAqB;CACnD,AAAiB,6BAA6B;EAC5C,MAAM,QAAQ,0BAA0B;EACxC,OAAO,UAAU,UAAU,UAAU;CACvC,EAAC,CAAE;CAEH,MAAM,OAAO,KAAwC;EACnD,IAAI,sBAAsB,GAAG,GAC3B;EAGF,MAAM,eACJ,IAAI,SAAS,wBACb,IAAI,SAAS,uBACb,IAAI,SAAS,sBACT;GAAE,GAAG;GAAK,OAAO;EAAgB,IACjC;EAEN,IACE,KAAK,uBACL,aAAa,UAAU,UACvB,aAAa,UAAU,SAEvB;EAEF,IAAI,OAAO,aAAa,YAAY,UAAU,OAAO,MAAM,OAAO,YAAY;EAC9E,OAAO,MAAM,OAAO;GAClB,GAAG;GACH,SAAS,yBAAyB,aAAa,OAAO;EACxD,CAAC;CACH;AACF;AAWA,SAAgB,yBAAyB,MAAsB;CAC7D,OAAO,cAAc,KAAK,QAAQ,aAAa,EAAE,CAAC;AACpD;AAQA,SAAS,sBAAsB,KAAkC;CAC/D,OACE,IAAI,SAAS,UACb,OAAO,IAAI,YAAY,YACvB,IAAI,QAAQ,WAAW,oBAAoB,KAC3C,IAAI,QAAQ,SAAS,yBAAyB;AAElD"}
|
package/dist/cli.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { D as
|
|
2
|
+
import { D as createLocalStartWebFunctionCommand, Qt as createLocalStartAlbCommand, a as createLocalStudioCommand, dt as createLocalStartCloudFrontCommand, fr as createLocalStartApiCommand, in as createLocalStartServiceCommand, rt as createLocalStartAgentCoreCommand, sn as createLocalRunTaskCommand, ur as createLocalInvokeCommand, w as createLocalListCommand, zn as createLocalInvokeAgentCoreCommand } from "./local-studio-CsftJJ1r.js";
|
|
3
3
|
import { Command } from "commander";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/index.ts
|
|
6
6
|
const program = new Command();
|
|
7
|
-
program.name("cdkl").description("Run AWS CDK stacks locally with Docker.").version("0.
|
|
7
|
+
program.name("cdkl").description("Run AWS CDK stacks locally with Docker.").version("0.155.0");
|
|
8
8
|
program.addCommand(createLocalInvokeCommand());
|
|
9
9
|
program.addCommand(createLocalInvokeAgentCoreCommand());
|
|
10
10
|
program.addCommand(createLocalStartApiCommand());
|
|
@@ -13,6 +13,7 @@ program.addCommand(createLocalStartServiceCommand());
|
|
|
13
13
|
program.addCommand(createLocalStartAlbCommand());
|
|
14
14
|
program.addCommand(createLocalStartCloudFrontCommand());
|
|
15
15
|
program.addCommand(createLocalStartAgentCoreCommand());
|
|
16
|
+
program.addCommand(createLocalStartWebFunctionCommand());
|
|
16
17
|
program.addCommand(createLocalListCommand());
|
|
17
18
|
program.addCommand(createLocalStudioCommand());
|
|
18
19
|
program.parseAsync(process.argv);
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli/index.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"cli.js","names":[],"sources":["../src/cli/index.ts"],"mappings":";;;;;AAiBA,MAAM,UAAU,IAAI,QAAQ;AAC5B,QACG,KAAK,MAAM,CAAC,CACZ,YAAY,yCAAyC,CAAC,CACtD,iBAA6B;AAEhC,QAAQ,WAAW,yBAAyB,CAAC;AAC7C,QAAQ,WAAW,kCAAkC,CAAC;AACtD,QAAQ,WAAW,2BAA2B,CAAC;AAC/C,QAAQ,WAAW,0BAA0B,CAAC;AAC9C,QAAQ,WAAW,+BAA+B,CAAC;AACnD,QAAQ,WAAW,2BAA2B,CAAC;AAC/C,QAAQ,WAAW,kCAAkC,CAAC;AACtD,QAAQ,WAAW,iCAAiC,CAAC;AACrD,QAAQ,WAAW,mCAAmC,CAAC;AACvD,QAAQ,WAAW,uBAAuB,CAAC;AAC3C,QAAQ,WAAW,yBAAyB,CAAC;AAExC,QAAQ,WAAW,QAAQ,IAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { readlinkSync, realpathSync } from "node:fs";
|
|
1
|
+
import { c as getEmbedConfig, t as getLogger } from "./logger-Co5XVwco.js";
|
|
2
|
+
import { existsSync, readlinkSync, realpathSync } from "node:fs";
|
|
3
3
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
4
4
|
import { spinner } from "@clack/prompts";
|
|
5
5
|
import { spawn } from "node:child_process";
|
|
@@ -229,6 +229,7 @@ var docker_cmd_exports = /* @__PURE__ */ __exportAll({
|
|
|
229
229
|
DOCKER_CLIENT_ENV_PREFIXES: () => DOCKER_CLIENT_ENV_PREFIXES,
|
|
230
230
|
DOCKER_CLIENT_ENV_PREFIX_EXEMPTIONS: () => DOCKER_CLIENT_ENV_PREFIX_EXEMPTIONS,
|
|
231
231
|
allowSecretsOnArgvEnvName: () => allowSecretsOnArgvEnvName,
|
|
232
|
+
describeSpawnEnoent: () => describeSpawnEnoent,
|
|
232
233
|
finchSecretArgvRefusal: () => finchSecretArgvRefusal,
|
|
233
234
|
formatDockerLoginError: () => formatDockerLoginError,
|
|
234
235
|
getDockerCmd: () => getDockerCmd,
|
|
@@ -274,6 +275,12 @@ function warnFinchArgvExposure(keys) {
|
|
|
274
275
|
async function runDockerStreaming(args, options = {}) {
|
|
275
276
|
return spawnStreaming(getDockerCmd(), args, options);
|
|
276
277
|
}
|
|
278
|
+
function describeSpawnEnoent(cmd, cwd) {
|
|
279
|
+
if (cwd !== void 0 && !existsSync(cwd)) return `Failed to execute ${displayUntrustedValue(cmd)}: its working directory ${displayUntrustedValue(cwd)} does not exist.`;
|
|
280
|
+
const usingOverride = process.env["CDK_DOCKER"] === cmd && cmd !== "docker";
|
|
281
|
+
const shownCmd = displayUntrustedValue(cmd);
|
|
282
|
+
return usingOverride ? `Failed to find and execute ${shownCmd} (resolved via CDK_DOCKER). Install ${shownCmd} or unset CDK_DOCKER to fall back to 'docker'.` : `Failed to find and execute ${shownCmd}. Install Docker (or set the 'CDK_DOCKER' environment variable to a compatible binary such as podman / finch).`;
|
|
283
|
+
}
|
|
277
284
|
async function spawnStreaming(cmd, args, options = {}) {
|
|
278
285
|
const streamLive = options.streamLive ?? getLogger().getLevel() === "debug";
|
|
279
286
|
const env = options.env ? mergeEnv(options.env) : void 0;
|
|
@@ -307,11 +314,8 @@ async function spawnStreaming(cmd, args, options = {}) {
|
|
|
307
314
|
});
|
|
308
315
|
child.once("error", (err) => {
|
|
309
316
|
stopProgressSpinner(spin, options.progressLabel);
|
|
310
|
-
if (err.code === "ENOENT")
|
|
311
|
-
|
|
312
|
-
const shownCmd = displayUntrustedValue(cmd);
|
|
313
|
-
reject(/* @__PURE__ */ new Error(usingOverride ? `Failed to find and execute ${shownCmd} (resolved via CDK_DOCKER). Install ${shownCmd} or unset CDK_DOCKER to fall back to 'docker'.` : `Failed to find and execute ${shownCmd}. Install Docker (or set the 'CDK_DOCKER' environment variable to a compatible binary such as podman / finch).`));
|
|
314
|
-
} else {
|
|
317
|
+
if (err.code === "ENOENT") reject(new Error(describeSpawnEnoent(cmd, options.cwd)));
|
|
318
|
+
else {
|
|
315
319
|
const wrapped = /* @__PURE__ */ new Error(`Failed to execute ${displayUntrustedValue(cmd)} (${err.code ?? "spawn error"})`);
|
|
316
320
|
if (err.code !== void 0) wrapped.code = err.code;
|
|
317
321
|
reject(wrapped);
|
|
@@ -369,11 +373,8 @@ async function spawnForeground(cmd, args, options = {}) {
|
|
|
369
373
|
]
|
|
370
374
|
});
|
|
371
375
|
child.once("error", (err) => {
|
|
372
|
-
if (err.code === "ENOENT")
|
|
373
|
-
|
|
374
|
-
const shownCmd = displayUntrustedValue(cmd);
|
|
375
|
-
reject(/* @__PURE__ */ new Error(usingOverride ? `Failed to find and execute ${shownCmd} (resolved via CDK_DOCKER). Install ${shownCmd} or unset CDK_DOCKER to fall back to 'docker'.` : `Failed to find and execute ${shownCmd}. Install Docker (or set the 'CDK_DOCKER' environment variable to a compatible binary such as podman / finch).`));
|
|
376
|
-
} else reject(/* @__PURE__ */ new Error(`${cmd} failed: ${err.message}`));
|
|
376
|
+
if (err.code === "ENOENT") reject(new Error(describeSpawnEnoent(cmd, options.cwd)));
|
|
377
|
+
else reject(/* @__PURE__ */ new Error(`${displayUntrustedValue(cmd)} failed: ${err.code ?? "spawn error"}`));
|
|
377
378
|
});
|
|
378
379
|
child.once("close", (code) => {
|
|
379
380
|
if (code === 0) resolve();
|
|
@@ -530,4 +531,4 @@ function isMalformedEnvKey(key) {
|
|
|
530
531
|
|
|
531
532
|
//#endregion
|
|
532
533
|
export { sanitizeServiceExceptionMessage as C, isAwsServiceException as S, resolveAssemblyPath as _, isDockerClientEnvKey as a, describeCredentialLoadFailure as b, runDockerStreaming as c, absoluteAssemblyPathEscape as d, assemblyPathEscape as f, renderAssemblyPathEscape as g, namesTheSameDirectory as h, getDockerCmd as i, spawnStreaming as l, isPasteableCommandArg as m, finchSecretArgvRefusal as n, isMalformedEnvKey as o, displayUntrustedValue as p, formatDockerLoginError as r, runDockerForeground as s, docker_cmd_exports as t, warnFinchArgvExposure as u, clampErrorName as v, stringifyThrown as w, flattenToOneLine as x, describeAwsFailureForWarn as y };
|
|
533
|
-
//# sourceMappingURL=docker-cmd-
|
|
534
|
+
//# sourceMappingURL=docker-cmd-CoZdbeos.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"docker-cmd-CoZdbeos.js","names":["createSpinner"],"sources":["../src/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CACA;CAWA;CACA;CACA;CACA;CACA;CACA;CAKA;CASA;CACA;CACA;CACA;CACA;CACA;CACA;CAIA;CACA;CACA;CAKA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,+BAAoD,IAAI,IAC5D,CAAC,GAAG,sBAAsB,CAAC,CAAC,KAAK,MAAM,EAAE,YAAY,CAAC,CACxD;AA0BA,MAAa,6BAAgD;CAC3D;CACA;CACA;CACA;CACA;AACF;AAeA,MAAa,sDAA2D,IAAI,IAAI,CAC9E,4BACF,CAAC;AAWD,SAAgB,qBAAqB,KAAsB;CACzD,MAAM,QAAQ,IAAI,YAAY;CAC9B,IAAI,6BAA6B,IAAI,KAAK,GAAG,OAAO;CACpD,IAAI,oCAAoC,IAAI,KAAK,GAAG,OAAO;CAC3D,OAAO,2BAA2B,MAAM,WAAW,MAAM,WAAW,MAAM,CAAC;AAC7E;AAWA,MAAM,sBAAsB;AAa5B,SAAgB,kBAAkB,KAAsB;CACtD,OAAO,CAAC,oBAAoB,KAAK,GAAG;AACtC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $ as CreateLocalStartServiceCommandOptions, $n as resetEmbedConfig, Cr as substituteEnvVarsFromState, Dn as CreateLocalInvokeAgentCoreCommandOptions, F as createLocalStartWebFunctionCommand, Ft as countTargets, Gt as CreateLocalStartApiCommandOptions, H as createLocalStartCloudFrontCommand, Hn as SynthesisOptions, I as CreateLocalStartAgentCoreCommandOptions, It as listTargets, Jt as createLocalStartApiCommand, Kn as createLocalInvokeCommand, M as formatTargetListing, N as CreateLocalStartWebFunctionCommandOptions, Nt as TargetEntry, O as CreateLocalListCommandOptions, Pt as TargetListing, Qn as getEmbedConfig, R as createLocalStartAgentCoreCommand, Sr as substituteAgainstStateAsync, Tr as CloudFormationTemplate, Un as SynthesisResult, Vn as CdkAppSynthesizer, Vt as createLocalRunTaskCommand, Wn as CreateLocalInvokeCommandOptions, X as createLocalStartAlbCommand, Xn as CdkLocalEmbedConfig, Zn as EmbedHostLogger, _r as CrossStackResolver, ar as createLocalStateProvider, br as SubstitutionContext, cr as resolveCfnFallbackRegion, dr as LocalStateProvider, er as setEmbedConfig, fr as LocalStateRecord, gr as resolveSsmParameters, hr as collectSsmParameterRefs, ir as LocalStateSourceOptions, j as createLocalListCommand, k as FormatTargetListingOptions, kn as createLocalInvokeAgentCoreCommand, lr as resolveCfnRegion, mr as SsmParameterRef, nr as LocalStateProviderFactory, or as isCfnFlagPresent, pr as ResolvedSsmParameters, q as CreateLocalStartAlbCommandOptions, rr as LocalStateSourceError, s as createLocalStudioCommand, sr as rejectExplicitCfnStackWithMultipleStacks, t as CreateLocalStudioCommandOptions, tr as ExtraStateProviders, tt as createLocalStartServiceCommand, ur as resolveCfnStackName, vr as PseudoParameters, wr as substituteEnvVarsFromStateAsync, xr as substituteAgainstState, yr as StateEnvSubstitutionAudit, z as CreateLocalStartCloudFrontCommandOptions, zt as CreateLocalRunTaskCommandOptions } from "./local-studio-D5Ycx74D.js";
|
|
2
2
|
import { CloudFormationClient } from "@aws-sdk/client-cloudformation";
|
|
3
3
|
//#region src/local/cfn-local-state-provider.d.ts
|
|
4
4
|
interface CfnLocalStateProviderOptions {
|
|
@@ -32,5 +32,5 @@ declare class CfnLocalStateProvider implements LocalStateProvider {
|
|
|
32
32
|
dispose(): void;
|
|
33
33
|
}
|
|
34
34
|
//#endregion
|
|
35
|
-
export { type CdkAppSynthesizer, type CdkLocalEmbedConfig, CfnLocalStateProvider, type CfnLocalStateProviderOptions, type CreateLocalInvokeAgentCoreCommandOptions, type CreateLocalInvokeCommandOptions, type CreateLocalListCommandOptions, type CreateLocalRunTaskCommandOptions, type CreateLocalStartAgentCoreCommandOptions, type CreateLocalStartAlbCommandOptions, type CreateLocalStartApiCommandOptions, type CreateLocalStartCloudFrontCommandOptions, type CreateLocalStartServiceCommandOptions, type CreateLocalStudioCommandOptions, type CrossStackResolver, type EmbedHostLogger, type ExtraStateProviders, type FormatTargetListingOptions, type LocalStateProvider, type LocalStateProviderFactory, type LocalStateRecord, LocalStateSourceError, type LocalStateSourceOptions, type PseudoParameters, type ResolvedSsmParameters, type SsmParameterRef, type StateEnvSubstitutionAudit, type SubstitutionContext, type SynthesisOptions, type SynthesisResult, type TargetEntry, type TargetListing, collectSsmParameterRefs, countTargets, createLocalInvokeAgentCoreCommand, createLocalInvokeCommand, createLocalListCommand, createLocalRunTaskCommand, createLocalStartAgentCoreCommand, createLocalStartAlbCommand, createLocalStartApiCommand, createLocalStartCloudFrontCommand, createLocalStartServiceCommand, createLocalStateProvider, createLocalStudioCommand, formatTargetListing, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resetEmbedConfig, resolveCfnFallbackRegion, resolveCfnRegion, resolveCfnStackName, resolveSsmParameters, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync };
|
|
35
|
+
export { type CdkAppSynthesizer, type CdkLocalEmbedConfig, CfnLocalStateProvider, type CfnLocalStateProviderOptions, type CreateLocalInvokeAgentCoreCommandOptions, type CreateLocalInvokeCommandOptions, type CreateLocalListCommandOptions, type CreateLocalRunTaskCommandOptions, type CreateLocalStartAgentCoreCommandOptions, type CreateLocalStartAlbCommandOptions, type CreateLocalStartApiCommandOptions, type CreateLocalStartCloudFrontCommandOptions, type CreateLocalStartServiceCommandOptions, type CreateLocalStartWebFunctionCommandOptions, type CreateLocalStudioCommandOptions, type CrossStackResolver, type EmbedHostLogger, type ExtraStateProviders, type FormatTargetListingOptions, type LocalStateProvider, type LocalStateProviderFactory, type LocalStateRecord, LocalStateSourceError, type LocalStateSourceOptions, type PseudoParameters, type ResolvedSsmParameters, type SsmParameterRef, type StateEnvSubstitutionAudit, type SubstitutionContext, type SynthesisOptions, type SynthesisResult, type TargetEntry, type TargetListing, collectSsmParameterRefs, countTargets, createLocalInvokeAgentCoreCommand, createLocalInvokeCommand, createLocalListCommand, createLocalRunTaskCommand, createLocalStartAgentCoreCommand, createLocalStartAlbCommand, createLocalStartApiCommand, createLocalStartCloudFrontCommand, createLocalStartServiceCommand, createLocalStartWebFunctionCommand, createLocalStateProvider, createLocalStudioCommand, formatTargetListing, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resetEmbedConfig, resolveCfnFallbackRegion, resolveCfnRegion, resolveCfnStackName, resolveSsmParameters, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync };
|
|
36
36
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/local/cfn-local-state-provider.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/local/cfn-local-state-provider.ts"],"mappings":";;;UAyFiB;EAOf;EAKA;EAiBA;;cAGW,iCAAiC;WAG5B;mBACC;mBACA;UAKT;UAKA;UAKA;UAKA;mBACS;UAQT;UASA;EAER,YAAY,MAAM;UAOV;UAoBA;UAcA;UAcA;EA8BK,6BACX,UAAU,yBACT,QAAQ;EAsBE,2BACX,6BACC,QAAQ;EAiCE,8BACX,6BACC;EAmDU,+BACX,4BACC;EA4CU,KACX,oBACA,mCACC,QAAQ;EAwEJ;EAoBM,wBACX,0BACC,QAAQ;EA8DJ"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { c as getEmbedConfig, l as resetEmbedConfig, u as setEmbedConfig } from "./logger-Co5XVwco.js";
|
|
2
|
+
import { Ai as resolveCfnRegion, Ci as substituteEnvVarsFromState, D as createLocalStartWebFunctionCommand, Di as isCfnFlagPresent, Ei as createLocalStateProvider, Li as countTargets, Mi as CfnLocalStateProvider, Ni as collectSsmParameterRefs, Oi as rejectExplicitCfnStackWithMultipleStacks, Pi as resolveSsmParameters, Qt as createLocalStartAlbCommand, Ri as listTargets, Si as substituteAgainstStateAsync, T as formatTargetListing, Ti as LocalStateSourceError, a as createLocalStudioCommand, dt as createLocalStartCloudFrontCommand, fr as createLocalStartApiCommand, in as createLocalStartServiceCommand, ji as resolveCfnStackName, ki as resolveCfnFallbackRegion, rt as createLocalStartAgentCoreCommand, sn as createLocalRunTaskCommand, ur as createLocalInvokeCommand, w as createLocalListCommand, wi as substituteEnvVarsFromStateAsync, xi as substituteAgainstState, zn as createLocalInvokeAgentCoreCommand } from "./local-studio-CsftJJ1r.js";
|
|
3
3
|
|
|
4
|
-
export { CfnLocalStateProvider, LocalStateSourceError, collectSsmParameterRefs, countTargets, createLocalInvokeAgentCoreCommand, createLocalInvokeCommand, createLocalListCommand, createLocalRunTaskCommand, createLocalStartAgentCoreCommand, createLocalStartAlbCommand, createLocalStartApiCommand, createLocalStartCloudFrontCommand, createLocalStartServiceCommand, createLocalStateProvider, createLocalStudioCommand, formatTargetListing, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resetEmbedConfig, resolveCfnFallbackRegion, resolveCfnRegion, resolveCfnStackName, resolveSsmParameters, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync };
|
|
4
|
+
export { CfnLocalStateProvider, LocalStateSourceError, collectSsmParameterRefs, countTargets, createLocalInvokeAgentCoreCommand, createLocalInvokeCommand, createLocalListCommand, createLocalRunTaskCommand, createLocalStartAgentCoreCommand, createLocalStartAlbCommand, createLocalStartApiCommand, createLocalStartCloudFrontCommand, createLocalStartServiceCommand, createLocalStartWebFunctionCommand, createLocalStateProvider, createLocalStudioCommand, formatTargetListing, getEmbedConfig, isCfnFlagPresent, listTargets, rejectExplicitCfnStackWithMultipleStacks, resetEmbedConfig, resolveCfnFallbackRegion, resolveCfnRegion, resolveCfnStackName, resolveSsmParameters, setEmbedConfig, substituteAgainstState, substituteAgainstStateAsync, substituteEnvVarsFromState, substituteEnvVarsFromStateAsync };
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $t as JwtAuthorizer, A as addListSpecificOptions, An as AgentCoreWsBridgeHandle, At as DEFAULT_SHADOW_READY_TIMEOUT_MS, B as LocalStartCloudFrontError, Bn as tryResolveImageFnJoin, Bt as addRunTaskSpecificOptions, C as StudioEventBus, Cn as resolveProfileCredentials, Ct as resolveEcsAssumeRoleOption, D as StudioTargetKind, Dt as ResolvedListenerAction, E as StudioServeEvent, En as isProxyEnvConfigured, Er as TemplateResource, Et as FrontDoorForwardTarget, Fn as invokeAgentCoreWs, G as parseOriginOverrides, Gn as addInvokeSpecificOptions, Ht as EcsTaskResolutionError, In as ImageResolutionContext, J as addAlbSpecificOptions, Jn as ResolvedZipLambda, K as resolveCloudFrontTarget, Kt as WatchPredicates, L as addStartAgentCoreSpecificOptions, Ln as derivePseudoParametersFromRegion, Lt as CdkLocalError, Mn as BridgeAgentCoreWsOptions, Mt as setShadowReadyTimeoutMs, Nn as InvokeAgentCoreWsOptions, Nt as TargetEntry, On as addInvokeAgentCoreSpecificOptions, Ot as isApplicationLoadBalancer, P as addStartWebFunctionSpecificOptions, Pn as bridgeAgentCoreWs, Pt as TargetListing, Q as resolveAlbTarget, Qt as CognitoUserPoolAuthorizer, Rn as formatStateRemedy, Rt as LocalInvokeBuildError, S as createStudioDispatcher, Sn as buildStsClientConfig, St as parseRestartPolicy, T as StudioLogEvent, Tn as buildProxyClientConfig, Tr as CloudFormationTemplate, Tt as runEcsServiceEmulator, U as normalizeKvsFileKeys, Ut as ResolvedEcsTask, V as addStartCloudFrontSpecificOptions, W as parseKvsFileOverrides, Wt as ApiTargetSubset, Xt as resolveApiTargetSubset, Y as albStrategy, Yn as StackInfo, Yt as createWatchPredicates, Z as parseLbPortOverrides, Zt as AuthorizerInfo, _ as startStudioProxy, _n as pickResponseTemplate, _t as addEcsAssumeRoleOptions, a as coerceServeRequest, an as WebSocketRouteEntry, at as FrontDoorPlan, b as StudioRunRequest, bn as CdkWatchConfig, bt as ecsClusterOption, c as resolveServeBaseUrl, cn as discoverWebSocketApisOrThrow, ct as PlannedEcsForwardTarget, d as StudioServeRequest, dn as webSocketApiMatchesIdentifier, dt as PlannedForwardTarget, en as LambdaRequestAuthorizer, et as addStartServiceSpecificOptions, f as StudioServeState, fn as DiscoveredRoute, ft as PlannedFrontDoorListener, g as StudioProxyConfig, gn as evaluateResponseParameters, gt as addCommonEcsServiceOptions, h as RunningStudioProxy, hn as IntegrationResponseEntry, ht as ServiceBoot, i as coerceRunRequest, in as DiscoveredWebSocketApi, it as EmulatorStrategy, jn as AgentCoreWsResult, jt as SOFT_RELOAD_COMPLETION_LOG_SUFFIX, kt as resolveAlbFrontDoor, l as StudioServeManager, ln as filterWebSocketApisByIdentifiers, lt as PlannedFixedResponseAction, m as createStudioServeManager, mn as discoverRoutes, mt as PlannedRedirectAction, n as StudioServeRequestPayload, nn as RouteWithAuth, nt as serviceStrategy, o as coerceStopRequest, on as availableWebSocketApiIdentifiers, ot as MAX_TASKS_SUBNET_RANGE_CAP, p as StudioStopRequest, pn as RestV1IntegrationConfig, pt as PlannedLambdaForwardTarget, qn as ResolvedArnLambdaLayer, qt as addStartApiSpecificOptions, r as addStudioSpecificOptions, rn as attachAuthorizers, rt as EcsServiceEmulatorOptions, sn as discoverWebSocketApis, st as PlannedAction, tn as LambdaTokenAuthorizer, u as StudioServeManagerConfig, un as parseSelectionExpressionPath, ut as PlannedForwardAction, v as StudioDispatchConfig, vn as selectIntegrationResponse, vt as addImageOverrideOptions, w as StudioInvocationEvent, wn as AwsProxyClientConfig, wt as resolveSharedSidecarCredentials, x as StudioRunResult, xn as resolveWatchConfig, xt as parseMaxTasks, y as StudioDispatcher, yn as tryParseStatus, yt as buildEcsImageResolutionContext, zn as substituteImagePlaceholders } from "./local-studio-D5Ycx74D.js";
|
|
2
2
|
import { IncomingHttpHeaders, IncomingMessage, Server, ServerResponse } from "node:http";
|
|
3
3
|
import { SecretsManagerClient } from "@aws-sdk/client-secrets-manager";
|
|
4
4
|
import { SSMClient } from "@aws-sdk/client-ssm";
|
|
5
5
|
import { WebSocket } from "ws";
|
|
6
6
|
import * as vm from "node:vm";
|
|
7
7
|
import "@aws-sdk/signature-v4a";
|
|
8
|
+
import { spawn } from "child_process";
|
|
8
9
|
//#region src/local/file-watcher.d.ts
|
|
9
10
|
interface FileWatcher {
|
|
10
11
|
close(): Promise<void>;
|
|
@@ -178,6 +179,32 @@ interface EnvOverrideFile {
|
|
|
178
179
|
declare function resolveEnvVars(logicalId: string, displayPath: string | undefined, templateEnv: Record<string, unknown> | undefined, overrides?: EnvOverrideFile): EnvResolutionResult;
|
|
179
180
|
//#endregion
|
|
180
181
|
//#region src/types/assets.d.ts
|
|
182
|
+
interface AssetManifest {
|
|
183
|
+
version: string;
|
|
184
|
+
files: Record<string, FileAsset>;
|
|
185
|
+
dockerImages: Record<string, DockerImageAsset>;
|
|
186
|
+
}
|
|
187
|
+
interface FileAsset {
|
|
188
|
+
displayName: string;
|
|
189
|
+
source: FileAssetSource;
|
|
190
|
+
destinations: Record<string, FileAssetDestination>;
|
|
191
|
+
}
|
|
192
|
+
interface FileAssetSource {
|
|
193
|
+
path: string;
|
|
194
|
+
packaging: 'file' | 'zip';
|
|
195
|
+
executable?: string[];
|
|
196
|
+
}
|
|
197
|
+
interface FileAssetDestination {
|
|
198
|
+
bucketName: string;
|
|
199
|
+
objectKey: string;
|
|
200
|
+
assumeRoleArn?: string;
|
|
201
|
+
region?: string;
|
|
202
|
+
}
|
|
203
|
+
interface DockerImageAsset {
|
|
204
|
+
displayName: string;
|
|
205
|
+
source: DockerImageAssetSource;
|
|
206
|
+
destinations: Record<string, DockerImageAssetDestination>;
|
|
207
|
+
}
|
|
181
208
|
interface DockerImageAssetSource {
|
|
182
209
|
directory?: string;
|
|
183
210
|
executable?: string[];
|
|
@@ -198,6 +225,29 @@ interface DockerCacheOption {
|
|
|
198
225
|
type: string;
|
|
199
226
|
params?: Record<string, string>;
|
|
200
227
|
}
|
|
228
|
+
interface DockerImageAssetDestination {
|
|
229
|
+
repositoryName: string;
|
|
230
|
+
imageTag: string;
|
|
231
|
+
assumeRoleArn?: string;
|
|
232
|
+
region?: string;
|
|
233
|
+
}
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/assets/asset-manifest-loader.d.ts
|
|
236
|
+
declare class AssetManifestLoader {
|
|
237
|
+
private logger;
|
|
238
|
+
loadStackManifest(stack: {
|
|
239
|
+
stackName: string;
|
|
240
|
+
assetManifestPath?: string | undefined;
|
|
241
|
+
}, fallbackDir: string): Promise<AssetManifest | null>;
|
|
242
|
+
loadManifest(cdkOutputDir: string, stackName: string, fileName?: string): Promise<AssetManifest | null>;
|
|
243
|
+
getFileAssets(manifest: AssetManifest): Map<string, FileAsset>;
|
|
244
|
+
getAssetSourcePath(cdkOutputDir: string, asset: FileAsset, opts: {
|
|
245
|
+
assetOutdir: string;
|
|
246
|
+
subject: string;
|
|
247
|
+
wrapError: (message: string) => Error;
|
|
248
|
+
}): string;
|
|
249
|
+
resolveAssetDestinationValue(value: string, accountId: string, region: string, partition?: string): string;
|
|
250
|
+
}
|
|
201
251
|
//#endregion
|
|
202
252
|
//#region src/local/container-pool.d.ts
|
|
203
253
|
interface ContainerHandle {
|
|
@@ -1330,6 +1380,168 @@ declare function attachContainerLogStreamer(prefix: string, containerId: string,
|
|
|
1330
1380
|
expectRestart?: () => boolean;
|
|
1331
1381
|
}): () => void;
|
|
1332
1382
|
//#endregion
|
|
1383
|
+
//#region src/local/web-function-resolver.d.ts
|
|
1384
|
+
declare const WEB_FUNCTION_TYPE = "AWS::Lambda::WebFunction";
|
|
1385
|
+
declare const WEB_FUNCTION_REVISION_TYPE = "AWS::Lambda::WebFunctionRevision";
|
|
1386
|
+
declare const WEB_FUNCTION_ENDPOINT_TYPE = "AWS::Lambda::WebFunctionEndpoint";
|
|
1387
|
+
declare class WebFunctionResolutionError extends Error {
|
|
1388
|
+
constructor(message: string);
|
|
1389
|
+
}
|
|
1390
|
+
interface WebFunctionRevisionWeight {
|
|
1391
|
+
revisionLogicalId: string | undefined;
|
|
1392
|
+
weight: number;
|
|
1393
|
+
}
|
|
1394
|
+
interface ResolvedWebFunctionEndpoint {
|
|
1395
|
+
logicalId: string;
|
|
1396
|
+
endpointType: string | undefined;
|
|
1397
|
+
authType: string | undefined;
|
|
1398
|
+
weights: WebFunctionRevisionWeight[];
|
|
1399
|
+
}
|
|
1400
|
+
type WebFunctionRevisionSelection = 'target-revision' | 'revision-flag' | 'endpoint-weight' | 'only-revision';
|
|
1401
|
+
interface ResolvedWebFunction {
|
|
1402
|
+
stack: StackInfo;
|
|
1403
|
+
functionLogicalId: string | undefined;
|
|
1404
|
+
functionName: string;
|
|
1405
|
+
revisionLogicalId: string;
|
|
1406
|
+
revision: TemplateResource;
|
|
1407
|
+
endpoint: ResolvedWebFunctionEndpoint | undefined;
|
|
1408
|
+
selection: WebFunctionRevisionSelection;
|
|
1409
|
+
}
|
|
1410
|
+
declare function resolveWebFunctionTarget(target: string, stacks: StackInfo[], revisionFlag?: string): ResolvedWebFunction;
|
|
1411
|
+
//#endregion
|
|
1412
|
+
//#region src/local/web-function-artifact.d.ts
|
|
1413
|
+
type WebFunctionArtifact = WebFunctionZipArtifact | WebFunctionImageArtifact;
|
|
1414
|
+
interface WebFunctionZipArtifact {
|
|
1415
|
+
kind: 'zip';
|
|
1416
|
+
runtime: string;
|
|
1417
|
+
codeDir: string;
|
|
1418
|
+
tmpDir?: string;
|
|
1419
|
+
assetHash: string;
|
|
1420
|
+
}
|
|
1421
|
+
interface WebFunctionImageArtifact {
|
|
1422
|
+
kind: 'image';
|
|
1423
|
+
imageUri: string;
|
|
1424
|
+
}
|
|
1425
|
+
interface WebFunctionCodeConfig {
|
|
1426
|
+
runtime: string;
|
|
1427
|
+
s3Object: {
|
|
1428
|
+
bucket: unknown;
|
|
1429
|
+
key: string;
|
|
1430
|
+
versionId?: string;
|
|
1431
|
+
};
|
|
1432
|
+
}
|
|
1433
|
+
declare function parseWebFunctionBuildConfig(revisionLogicalId: string, buildConfig: unknown): WebFunctionCodeConfig;
|
|
1434
|
+
declare function findFileAssetForObjectKey(manifest: AssetManifest, key: string): {
|
|
1435
|
+
hash: string;
|
|
1436
|
+
asset: FileAsset;
|
|
1437
|
+
} | undefined;
|
|
1438
|
+
declare function resolveWebFunctionArtifact(stack: StackInfo, revisionLogicalId: string, code: WebFunctionCodeConfig, loader?: AssetManifestLoader): Promise<WebFunctionArtifact>;
|
|
1439
|
+
declare function disposeWebFunctionArtifact(artifact: WebFunctionArtifact | undefined): void;
|
|
1440
|
+
//#endregion
|
|
1441
|
+
//#region src/local/web-function-runtime.d.ts
|
|
1442
|
+
interface WebFunctionRuntimeSpec {
|
|
1443
|
+
runtime: string;
|
|
1444
|
+
baseImage: string;
|
|
1445
|
+
codeMountPath: string;
|
|
1446
|
+
architectures: readonly ('arm64' | 'x86_64')[];
|
|
1447
|
+
buildStart(env: Readonly<Record<string, string>>, codeDir: string, deps?: {
|
|
1448
|
+
fileExists?: (path: string) => boolean;
|
|
1449
|
+
}): WebFunctionStartCommand;
|
|
1450
|
+
}
|
|
1451
|
+
interface WebFunctionStartCommand {
|
|
1452
|
+
entryPoint: string[];
|
|
1453
|
+
cmd: string[];
|
|
1454
|
+
label: string;
|
|
1455
|
+
}
|
|
1456
|
+
declare function buildNodeEntryFileStart(runtime: string, env: Readonly<Record<string, string>>, codeDir: string, fileExists?: (path: string) => boolean): WebFunctionStartCommand;
|
|
1457
|
+
declare const WEB_FUNCTION_RUNTIMES: Readonly<Record<string, WebFunctionRuntimeSpec>>;
|
|
1458
|
+
declare function supportedWebFunctionRuntimes(table?: Readonly<Record<string, WebFunctionRuntimeSpec>>): string[];
|
|
1459
|
+
declare function resolveWebFunctionRuntime(runtime: string, table?: Readonly<Record<string, WebFunctionRuntimeSpec>>): WebFunctionRuntimeSpec;
|
|
1460
|
+
declare function defaultWebFunctionPlatform(spec: WebFunctionRuntimeSpec): string;
|
|
1461
|
+
//#endregion
|
|
1462
|
+
//#region src/local/web-function-service-config.d.ts
|
|
1463
|
+
declare const WEB_FUNCTION_HTTP_ENDPOINT_ENV = "AWS_LAMBDA_HTTP_ENDPOINT";
|
|
1464
|
+
interface WebFunctionServiceConfig {
|
|
1465
|
+
environmentVariables: Record<string, unknown> | undefined;
|
|
1466
|
+
environmentUnreadable: boolean;
|
|
1467
|
+
executionRoleArn: unknown;
|
|
1468
|
+
egressNetworkConnectorArn: unknown;
|
|
1469
|
+
timeoutSeconds: number | undefined;
|
|
1470
|
+
logGroup: string | undefined;
|
|
1471
|
+
}
|
|
1472
|
+
declare function readWebFunctionServiceConfig(revision: ResolvedWebFunction['revision']): WebFunctionServiceConfig;
|
|
1473
|
+
declare function buildWebFunctionLambdaView(resolved: ResolvedWebFunction, config: WebFunctionServiceConfig, runtime: string): ResolvedZipLambda;
|
|
1474
|
+
declare function webFunctionAssumeRole(assumeRole: string | boolean | undefined, config: WebFunctionServiceConfig): string | boolean | undefined;
|
|
1475
|
+
declare function finalizeWebFunctionEnv(lambdaEnv: Readonly<Record<string, string>>, opts: {
|
|
1476
|
+
functionName: string;
|
|
1477
|
+
containerPort: number;
|
|
1478
|
+
timeoutSeconds: number | undefined;
|
|
1479
|
+
logGroup: string | undefined;
|
|
1480
|
+
}): {
|
|
1481
|
+
env: Record<string, string>;
|
|
1482
|
+
replacedHttpEndpoint: boolean;
|
|
1483
|
+
};
|
|
1484
|
+
declare function webFunctionFidelityWarnings(resolved: ResolvedWebFunction, config: WebFunctionServiceConfig): string[];
|
|
1485
|
+
//#endregion
|
|
1486
|
+
//#region src/local/web-function-runner.d.ts
|
|
1487
|
+
declare const WEB_FUNCTION_CONTAINER_PORT = 8080;
|
|
1488
|
+
interface WebFunctionContainerPlan {
|
|
1489
|
+
image: string;
|
|
1490
|
+
mounts: {
|
|
1491
|
+
hostPath: string;
|
|
1492
|
+
containerPath: string;
|
|
1493
|
+
readOnly: boolean;
|
|
1494
|
+
}[];
|
|
1495
|
+
entryPoint: string[];
|
|
1496
|
+
cmd: string[];
|
|
1497
|
+
workingDir: string | undefined;
|
|
1498
|
+
label: string;
|
|
1499
|
+
}
|
|
1500
|
+
declare function planWebFunctionContainer(artifact: WebFunctionArtifact, spec: WebFunctionRuntimeSpec, env: Readonly<Record<string, string>>, deps?: {
|
|
1501
|
+
fileExists?: (path: string) => boolean;
|
|
1502
|
+
}): WebFunctionContainerPlan;
|
|
1503
|
+
interface StartWebFunctionContainerOptions {
|
|
1504
|
+
plan: WebFunctionContainerPlan;
|
|
1505
|
+
env: Record<string, string>;
|
|
1506
|
+
sensitiveEnvKeys: ReadonlySet<string>;
|
|
1507
|
+
host: string;
|
|
1508
|
+
hostPort: number;
|
|
1509
|
+
platform: string;
|
|
1510
|
+
name: string;
|
|
1511
|
+
}
|
|
1512
|
+
declare function startWebFunctionContainer(opts: StartWebFunctionContainerOptions): Promise<string>;
|
|
1513
|
+
declare class RecentOutput {
|
|
1514
|
+
private lines;
|
|
1515
|
+
private partial;
|
|
1516
|
+
private readonly max;
|
|
1517
|
+
constructor(max?: number);
|
|
1518
|
+
push(chunk: Buffer | string): void;
|
|
1519
|
+
tail(): string[];
|
|
1520
|
+
private add;
|
|
1521
|
+
}
|
|
1522
|
+
type ProbeOutcome = 'answered' | 'refused' | 'timeout';
|
|
1523
|
+
interface WebFunctionReadyDeps {
|
|
1524
|
+
probe: (host: string, port: number, timeoutMs: number) => Promise<ProbeOutcome>;
|
|
1525
|
+
isRunning: (containerId: string) => Promise<boolean>;
|
|
1526
|
+
fetchLogs: (containerId: string, lines: number) => Promise<string[]>;
|
|
1527
|
+
sleep: (ms: number) => Promise<void>;
|
|
1528
|
+
now: () => number;
|
|
1529
|
+
}
|
|
1530
|
+
declare function waitForWebFunctionReady(args: {
|
|
1531
|
+
containerId: string;
|
|
1532
|
+
host: string;
|
|
1533
|
+
port: number;
|
|
1534
|
+
timeoutMs: number;
|
|
1535
|
+
recent: RecentOutput;
|
|
1536
|
+
label: string;
|
|
1537
|
+
}, deps?: WebFunctionReadyDeps): Promise<void>;
|
|
1538
|
+
declare function containerFailure(message: string, containerId: string, recent: RecentOutput, fetchLogs?: WebFunctionReadyDeps['fetchLogs'], code?: 'LOCAL_START_WEB_FUNCTION_NOT_READY' | 'LOCAL_START_WEB_FUNCTION_EXITED'): Promise<CdkLocalError>;
|
|
1539
|
+
declare function watchContainerExit(containerId: string): {
|
|
1540
|
+
exited: Promise<number | undefined>;
|
|
1541
|
+
stop: () => void;
|
|
1542
|
+
};
|
|
1543
|
+
declare function readContainerLogTail(containerId: string, lines: number, spawnFn?: typeof spawn): Promise<string[]>;
|
|
1544
|
+
//#endregion
|
|
1333
1545
|
//#region src/local/cloudfront-edge-event.d.ts
|
|
1334
1546
|
type EdgeHeaders = Record<string, Array<{
|
|
1335
1547
|
key: string;
|
|
@@ -1610,5 +1822,5 @@ declare function resolveDynamicReferencesInEnv(env: Record<string, string>, opti
|
|
|
1610
1822
|
resolvedKeys: string[];
|
|
1611
1823
|
}>;
|
|
1612
1824
|
//#endregion
|
|
1613
|
-
export { A2A_CONTAINER_PORT, A2A_PATH, type A2aInvokeOptions, type A2aInvokeResult, type A2aJsonRpcRequest, AGENTCORE_A2A_PROTOCOL, AGENTCORE_AGUI_PROTOCOL, AGENTCORE_HTTP_PROTOCOL, AGENTCORE_MCP_PROTOCOL, AGENTCORE_RUNTIME_TYPE, AGENTCORE_SESSION_ID_HEADER, AGENTCORE_SIGV4_SERVICE, type AgentCoreCodeArtifact, type AgentCoreCustomClaim, type AgentCoreHttpServerConfig, type AgentCoreInvokeResult, type AgentCoreJwtAuthorizer, AgentCoreResolutionError, type AgentCoreServeAuthCheck, type AgentCoreServeAuthResult, type AgentCoreServeRoute, type AgentCoreServeSignRequest, type AgentCoreWsBridgeHandle, type AgentCoreWsBridgeServerConfig, type AgentCoreWsResult, type ApiServerGroup, type ApiTargetSubset, type AttachedAgentCoreWsBridge, type AuthorizerCache, type AuthorizerEventOverlay, type AuthorizerInfo, type AwsProxyClientConfig, type BridgeAgentCoreWsOptions, type BuildAgentCoreCodeImageOptions, type BuildAgentCoreServeAuthCheckOptions, type BuildContainerImageOptions, CLOUDFRONT_DISTRIBUTION_TYPE, type CachedAuthorizerResult, type CallerCredentials, type CdkWatchConfig, type CfRequest, type CfResponse, type CloudFrontClientCredentials, type CloudFrontKvsAssociation, type CloudFrontKvsHandle, type CloudFrontModule, type CloudMapIndex, CloudMapRegistry, type CompiledCloudFrontFunction, ConnectionRegistry, type ConnectionRegistryEntry, type CorsConfig, type CreateDeployedKvsDataSourceOptions, type CredentialsLoader, DEFAULT_SHADOW_READY_TIMEOUT_MS, type DeployedKvsRef, type DiscoveredRoute, type DiscoveredWebSocketApi, type DiscoveryJwtAuthorizer, type DownloadS3BundleOptions, type DynamicReference, DynamicReferenceResolutionError, DynamicReferenceResolver, type DynamicReferenceResolverOptions, type EcsServiceEmulatorOptions, EcsTaskResolutionError, type EdgeEvent, type EdgeEventType, type EdgeRequest, type EdgeRequestInput, type EdgeResponse, type EdgeResponseResult, type EmulatorStrategy, type EnvOverrideFile, type ErrorResponseCandidate, type ExtractedS3Bundle, type FileWatcher, type FileWatcherOptions, type FilterStudioCustomResourcesOptions, type FrontDoorForwardTarget, type FrontDoorPlan, HOST_DOCKER_INTERNAL_GATEWAY, HOST_GATEWAY_MIN_VERSION, type HttpRequestSnapshot, type ImageOverrideEntry, ImageOverrideError, type ImageOverrideGlobals, type ImageOverrideMap, type ImageResolutionContext, type IntegrationResponseEntry, type InvokeAgentCoreOptions, type InvokeAgentCoreWsOptions, type JwksCache, type JwtCustomClaim, type KvsDataSource, type LambdaArnResolveOutcome, type LambdaUrlInvokerMap, type LambdaUrlOriginRequest, type LambdaUrlOriginResult, LocalInvokeBuildError, LocalStartCloudFrontError, MAX_TASKS_SUBNET_RANGE_CAP, MCP_CONTAINER_PORT, MCP_PATH, MCP_PROTOCOL_VERSION, type MatchedRouteContext, type McpInvokeOptions, type McpInvokeResult, type McpJsonRpcRequest, type MtlsServerConfig, type PerServiceBuildInputs, type PinnedTargetEntry, type PlannedAction, type PlannedEcsForwardTarget, type PlannedFixedResponseAction, type PlannedForwardAction, type PlannedForwardTarget, type PlannedFrontDoorListener, type PlannedLambdaForwardTarget, type PlannedRedirectAction, type RawImageOverrideFlags, type RegistrationHandle, type ReinvokeDeps, type ReinvokeInput, type ReloadAssetContext, type ReloadVerdict, type RequestParameterContext, type ResolveDeployedOriginBucketOptions, type ResolveEnvDynamicReferencesOptions, type ResolveKvsModulesOptions, type ResolveParametersOutcome, type ResolvedAgentCoreRuntime, type ResolvedBehavior, type ResolvedCloudFrontFunction, type ResolvedCustomErrorResponse, type ResolvedDistribution, type ResolvedLambdaEdge, type ResolvedLambdaEdgeAssoc, type ResolvedListenerAction, type ResolvedOrigin, type ResolvedStage, type RestV1IntegrationConfig, type RouteMatchResult, type RouteWithAuth, type RunningAgentCoreHttpServer, type RunningAgentCoreWsBridge, type RunningStudioProxy, type RunningStudioServer, type S3BundleCredentials, type S3BundleLocation, type S3FetchResult, type S3ObjectFetcher, type S3OriginCredentials, type S3OriginReader, type S3OriginReaderOptions, SECOND_ASSUME_MESSAGE, SOFT_RELOAD_COMPLETION_LOG_SUFFIX, SUPPORTED_CODE_RUNTIMES, type ServeInboundAuthPlan, type ServeRequestInput, type ServeRequestResult, type ServerState, type ServiceBoot, type SigV4Credentials, type SignAgentCoreInvocationOptions, type SignedAgentCoreHeaders, type StartedApiServer, type StartedCloudFrontServer, type StaticOriginResult, type StudioDispatchConfig, type StudioDispatcher, StudioEventBus, type StudioHistory, type StudioInvocationEvent, type StudioLogEvent, type StudioLogSearchOptions, type StudioProxyConfig, type StudioRunRequest, type StudioRunResult, type StudioServeEvent, type StudioServeManager, type StudioServeManagerConfig, type StudioServeRequest, type StudioServeRequestPayload, type StudioServeState, type StudioServerOptions, type StudioStopRequest, type StudioStore, type StudioStoreOptions, type StudioTarget, type StudioTargetGroup, type StudioTargetKind, type TranslatedHttpResponse, VtlEvaluationError, type WarnedAt, type WatchPredicates, type WebSocketHandshakeSnapshot, type WebSocketLambdaEvent, type WebSocketRouteEntry, a2aInvokeOnce, addAlbSpecificOptions, addCommonEcsServiceOptions, addEcsAssumeRoleOptions, addImageOverrideOptions, addInvokeAgentCoreSpecificOptions, addInvokeSpecificOptions, addListSpecificOptions, addRunTaskSpecificOptions, addStartAgentCoreSpecificOptions, addStartApiSpecificOptions, addStartCloudFrontSpecificOptions, addStartServiceSpecificOptions, addStudioSpecificOptions, albStrategy, annotateAlbPinnedBackingServices, annotateEcsTaskPinnedTargets, annotatePinnedEcsTargets, applyAuthorizerOverlay, applyCorsResponseHeaders, applyEdgeRequestResult, applyEdgeResponseResult, architectureToPlatform, assumedRoleRecorded, attachAgentCoreWsBridge, attachAuthorizers, attachContainerLogStreamer, attachStageContext, availableApiIdentifiers, availableWebSocketApiIdentifiers, bridgeAgentCoreWs, bufferToBody, buildAgentCoreCodeImage, buildAgentCoreServeAuthCheck, buildCloudMapIndex, buildCognitoJwksUrl, buildConnectEvent, buildContainerImage, buildCorsConfigByApiId, buildCorsConfigFromCloudFrontChain, buildDisconnectEvent, buildEcsImageResolutionContext, buildEdgeRequestEvent, buildEdgeResponseEvent, buildHttpApiV2Event, buildImageOverrideTag, buildJwksUrlFromIssuer, buildMessageEvent, buildMethodArn, buildMgmtEndpointEnvUrl, buildProxyClientConfig, buildRestV1Event, buildStageMap, buildStsClientConfig, canonicalizeImageOverrideKeys, classifyS3Error, classifySourceChange, coerceRunRequest, coerceServeRequest, coerceStopRequest, compileCloudFrontFunction, computeCodeImageTag, computeRequestIdentityHash, containsDynamicReference, createAuthorizerCache, createCloudFrontModule, createDeployedKvsDataSource, createFileWatcher, createJwksCache, createLocalFileKvsDataSource, createS3OriginReader, createStudioDispatcher, createStudioServeManager, createStudioStore, createUnboundCloudFrontModule, createWatchPredicates, defaultCredentialsLoader, deployAccountStsClientConfig, deployedFillMayBeSecret, derivePseudoParametersFromRegion, describeAwsFailureForWarn, describeCredentialLoadFailure, describePinnedImageUri, describeS3OriginDomain, discoverRoutes, discoverWebSocketApis, discoverWebSocketApisOrThrow, downloadAndExtractS3Bundle, ecsClusterOption, edgeHeadersToHttp, enforceImageOverrideOrphans, evaluateCachedLambdaPolicy, evaluateResponseParameters, extractKvsAssociations, filterRoutesByApiIdentifier, filterRoutesByApiIdentifiers, filterStudioCustomResources, filterStudioTargetGroups, filterWebSocketApisByIdentifiers, firstUsableRegion, formatStateRemedy, getContainerNetworkIp, groupRoutesByServer, handleConnectionsRequest, httpHeadersToEdge, idFromArn, imageOverrideKeyAliases, invokeAgentCore, invokeAgentCoreWs, invokeRequestAuthorizer, invokeTokenAuthorizer, isApplicationLoadBalancer, isCloudFrontDistribution, isCustomResourceLambdaTarget, isFunctionUrlOacFronted, isLocalCdkAssetImage, isProxyEnvConfigured, keysNotFromTemplate, keysOverriddenBy, listPinnedTargets, matchBehavior, matchPreflight, matchRoute, materializeLayerFromArn, mcpInvokeOnce, mergeForService, normalizeKvsFileKeys, parseConnectionsPath, parseDynamicReference, parseImageOverrideFlags, parseKvsFileOverrides, parseLbPortOverrides, parseMaxTasks, parseOriginOverrides, parseRestartPolicy, parseSelectionExpressionPath, parseSseForJsonRpc, pickAgentCoreCandidateStack, pickFunctionUrlLogicalIdFromOrigin, pickKvsLogicalIdFromArn, pickLambdaEdgeFunctionLogicalId, pickRefLogicalId, pickResponseTemplate, pickTargetFunctionLogicalId, probeHostGatewaySupport, readEnvCallerCredentials, readMtlsMaterialsFromDisk, recordAssumedRole, reinvoke, relayServeRequest, renderCodeDockerfile, renderStudioHtml, resetWorkloadIdentity, resolveAgentCoreTarget, resolveAlbFrontDoor, resolveAlbTarget, resolveApiTargetSubset, resolveCloudFrontDistribution, resolveCloudFrontTarget, resolveDeployedKvsArnByName, resolveDeployedOriginBucket, resolveDynamicReferencesInEnv, resolveEcsAssumeRoleOption, resolveEnvVars, resolveErrorResponseCandidates, resolveHostGatewayExtraHosts, resolveImageOverrides, resolveKvsModulesForDistribution, resolveLambdaArnIntrinsic, resolveProfileCredentials, resolveRuntimeCodeMountPath, resolveRuntimeFileExtension, resolveRuntimeImage, resolveSelectionExpression, resolveServeBaseUrl, resolveServiceIntegrationParameters, resolveSharedSidecarCredentials, resolveSingleTarget, resolveWatchConfig, runEcsServiceEmulator, runImageOverrideBuilds, runViewerRequest, runViewerResponse, selectIntegrationResponse, selectServeInboundAuth, serveFromStaticOrigin, serveLambdaUrlOrigin, serviceStrategy, setShadowReadyTimeoutMs, signAgentCoreInvocation, startAgentCoreHttpServer, startAgentCoreWsBridge, startApiServer, startCloudFrontServer, startStudioProxy, startStudioServer, stripCloudFrontImport, substituteImagePlaceholders, toCmdArgv, toStudioTargetGroups, translateLambdaResponse, tryParseStatus, tryResolveImageFnJoin, verifyCognitoJwt, verifyJwtAuthorizer, verifyJwtViaDiscovery, waitForAgentCoreHttpReady, waitForAgentCorePing, webSocketApiMatchesIdentifier, withoutKeys, workloadClientConfig, workloadStsClientConfig };
|
|
1825
|
+
export { A2A_CONTAINER_PORT, A2A_PATH, type A2aInvokeOptions, type A2aInvokeResult, type A2aJsonRpcRequest, AGENTCORE_A2A_PROTOCOL, AGENTCORE_AGUI_PROTOCOL, AGENTCORE_HTTP_PROTOCOL, AGENTCORE_MCP_PROTOCOL, AGENTCORE_RUNTIME_TYPE, AGENTCORE_SESSION_ID_HEADER, AGENTCORE_SIGV4_SERVICE, type AgentCoreCodeArtifact, type AgentCoreCustomClaim, type AgentCoreHttpServerConfig, type AgentCoreInvokeResult, type AgentCoreJwtAuthorizer, AgentCoreResolutionError, type AgentCoreServeAuthCheck, type AgentCoreServeAuthResult, type AgentCoreServeRoute, type AgentCoreServeSignRequest, type AgentCoreWsBridgeHandle, type AgentCoreWsBridgeServerConfig, type AgentCoreWsResult, type ApiServerGroup, type ApiTargetSubset, type AttachedAgentCoreWsBridge, type AuthorizerCache, type AuthorizerEventOverlay, type AuthorizerInfo, type AwsProxyClientConfig, type BridgeAgentCoreWsOptions, type BuildAgentCoreCodeImageOptions, type BuildAgentCoreServeAuthCheckOptions, type BuildContainerImageOptions, CLOUDFRONT_DISTRIBUTION_TYPE, type CachedAuthorizerResult, type CallerCredentials, type CdkWatchConfig, type CfRequest, type CfResponse, type CloudFrontClientCredentials, type CloudFrontKvsAssociation, type CloudFrontKvsHandle, type CloudFrontModule, type CloudMapIndex, CloudMapRegistry, type CompiledCloudFrontFunction, ConnectionRegistry, type ConnectionRegistryEntry, type CorsConfig, type CreateDeployedKvsDataSourceOptions, type CredentialsLoader, DEFAULT_SHADOW_READY_TIMEOUT_MS, type DeployedKvsRef, type DiscoveredRoute, type DiscoveredWebSocketApi, type DiscoveryJwtAuthorizer, type DownloadS3BundleOptions, type DynamicReference, DynamicReferenceResolutionError, DynamicReferenceResolver, type DynamicReferenceResolverOptions, type EcsServiceEmulatorOptions, EcsTaskResolutionError, type EdgeEvent, type EdgeEventType, type EdgeRequest, type EdgeRequestInput, type EdgeResponse, type EdgeResponseResult, type EmulatorStrategy, type EnvOverrideFile, type ErrorResponseCandidate, type ExtractedS3Bundle, type FileWatcher, type FileWatcherOptions, type FilterStudioCustomResourcesOptions, type FrontDoorForwardTarget, type FrontDoorPlan, HOST_DOCKER_INTERNAL_GATEWAY, HOST_GATEWAY_MIN_VERSION, type HttpRequestSnapshot, type ImageOverrideEntry, ImageOverrideError, type ImageOverrideGlobals, type ImageOverrideMap, type ImageResolutionContext, type IntegrationResponseEntry, type InvokeAgentCoreOptions, type InvokeAgentCoreWsOptions, type JwksCache, type JwtCustomClaim, type KvsDataSource, type LambdaArnResolveOutcome, type LambdaUrlInvokerMap, type LambdaUrlOriginRequest, type LambdaUrlOriginResult, LocalInvokeBuildError, LocalStartCloudFrontError, MAX_TASKS_SUBNET_RANGE_CAP, MCP_CONTAINER_PORT, MCP_PATH, MCP_PROTOCOL_VERSION, type MatchedRouteContext, type McpInvokeOptions, type McpInvokeResult, type McpJsonRpcRequest, type MtlsServerConfig, type PerServiceBuildInputs, type PinnedTargetEntry, type PlannedAction, type PlannedEcsForwardTarget, type PlannedFixedResponseAction, type PlannedForwardAction, type PlannedForwardTarget, type PlannedFrontDoorListener, type PlannedLambdaForwardTarget, type PlannedRedirectAction, type ProbeOutcome, type RawImageOverrideFlags, RecentOutput, type RegistrationHandle, type ReinvokeDeps, type ReinvokeInput, type ReloadAssetContext, type ReloadVerdict, type RequestParameterContext, type ResolveDeployedOriginBucketOptions, type ResolveEnvDynamicReferencesOptions, type ResolveKvsModulesOptions, type ResolveParametersOutcome, type ResolvedAgentCoreRuntime, type ResolvedBehavior, type ResolvedCloudFrontFunction, type ResolvedCustomErrorResponse, type ResolvedDistribution, type ResolvedLambdaEdge, type ResolvedLambdaEdgeAssoc, type ResolvedListenerAction, type ResolvedOrigin, type ResolvedStage, type ResolvedWebFunction, type ResolvedWebFunctionEndpoint, type RestV1IntegrationConfig, type RouteMatchResult, type RouteWithAuth, type RunningAgentCoreHttpServer, type RunningAgentCoreWsBridge, type RunningStudioProxy, type RunningStudioServer, type S3BundleCredentials, type S3BundleLocation, type S3FetchResult, type S3ObjectFetcher, type S3OriginCredentials, type S3OriginReader, type S3OriginReaderOptions, SECOND_ASSUME_MESSAGE, SOFT_RELOAD_COMPLETION_LOG_SUFFIX, SUPPORTED_CODE_RUNTIMES, type ServeInboundAuthPlan, type ServeRequestInput, type ServeRequestResult, type ServerState, type ServiceBoot, type SigV4Credentials, type SignAgentCoreInvocationOptions, type SignedAgentCoreHeaders, type StartWebFunctionContainerOptions, type StartedApiServer, type StartedCloudFrontServer, type StaticOriginResult, type StudioDispatchConfig, type StudioDispatcher, StudioEventBus, type StudioHistory, type StudioInvocationEvent, type StudioLogEvent, type StudioLogSearchOptions, type StudioProxyConfig, type StudioRunRequest, type StudioRunResult, type StudioServeEvent, type StudioServeManager, type StudioServeManagerConfig, type StudioServeRequest, type StudioServeRequestPayload, type StudioServeState, type StudioServerOptions, type StudioStopRequest, type StudioStore, type StudioStoreOptions, type StudioTarget, type StudioTargetGroup, type StudioTargetKind, type TranslatedHttpResponse, VtlEvaluationError, WEB_FUNCTION_CONTAINER_PORT, WEB_FUNCTION_ENDPOINT_TYPE, WEB_FUNCTION_HTTP_ENDPOINT_ENV, WEB_FUNCTION_REVISION_TYPE, WEB_FUNCTION_RUNTIMES, WEB_FUNCTION_TYPE, type WarnedAt, type WatchPredicates, type WebFunctionArtifact, type WebFunctionCodeConfig, type WebFunctionContainerPlan, type WebFunctionImageArtifact, WebFunctionResolutionError, type WebFunctionRevisionSelection, type WebFunctionRevisionWeight, type WebFunctionRuntimeSpec, type WebFunctionServiceConfig, type WebFunctionStartCommand, type WebFunctionZipArtifact, type WebSocketHandshakeSnapshot, type WebSocketLambdaEvent, type WebSocketRouteEntry, a2aInvokeOnce, addAlbSpecificOptions, addCommonEcsServiceOptions, addEcsAssumeRoleOptions, addImageOverrideOptions, addInvokeAgentCoreSpecificOptions, addInvokeSpecificOptions, addListSpecificOptions, addRunTaskSpecificOptions, addStartAgentCoreSpecificOptions, addStartApiSpecificOptions, addStartCloudFrontSpecificOptions, addStartServiceSpecificOptions, addStartWebFunctionSpecificOptions, addStudioSpecificOptions, albStrategy, annotateAlbPinnedBackingServices, annotateEcsTaskPinnedTargets, annotatePinnedEcsTargets, applyAuthorizerOverlay, applyCorsResponseHeaders, applyEdgeRequestResult, applyEdgeResponseResult, architectureToPlatform, assumedRoleRecorded, attachAgentCoreWsBridge, attachAuthorizers, attachContainerLogStreamer, attachStageContext, availableApiIdentifiers, availableWebSocketApiIdentifiers, bridgeAgentCoreWs, bufferToBody, buildAgentCoreCodeImage, buildAgentCoreServeAuthCheck, buildCloudMapIndex, buildCognitoJwksUrl, buildConnectEvent, buildContainerImage, buildCorsConfigByApiId, buildCorsConfigFromCloudFrontChain, buildDisconnectEvent, buildEcsImageResolutionContext, buildEdgeRequestEvent, buildEdgeResponseEvent, buildHttpApiV2Event, buildImageOverrideTag, buildJwksUrlFromIssuer, buildMessageEvent, buildMethodArn, buildMgmtEndpointEnvUrl, buildNodeEntryFileStart, buildProxyClientConfig, buildRestV1Event, buildStageMap, buildStsClientConfig, buildWebFunctionLambdaView, canonicalizeImageOverrideKeys, classifyS3Error, classifySourceChange, coerceRunRequest, coerceServeRequest, coerceStopRequest, compileCloudFrontFunction, computeCodeImageTag, computeRequestIdentityHash, containerFailure, containsDynamicReference, createAuthorizerCache, createCloudFrontModule, createDeployedKvsDataSource, createFileWatcher, createJwksCache, createLocalFileKvsDataSource, createS3OriginReader, createStudioDispatcher, createStudioServeManager, createStudioStore, createUnboundCloudFrontModule, createWatchPredicates, defaultCredentialsLoader, defaultWebFunctionPlatform, deployAccountStsClientConfig, deployedFillMayBeSecret, derivePseudoParametersFromRegion, describeAwsFailureForWarn, describeCredentialLoadFailure, describePinnedImageUri, describeS3OriginDomain, discoverRoutes, discoverWebSocketApis, discoverWebSocketApisOrThrow, disposeWebFunctionArtifact, downloadAndExtractS3Bundle, ecsClusterOption, edgeHeadersToHttp, enforceImageOverrideOrphans, evaluateCachedLambdaPolicy, evaluateResponseParameters, extractKvsAssociations, filterRoutesByApiIdentifier, filterRoutesByApiIdentifiers, filterStudioCustomResources, filterStudioTargetGroups, filterWebSocketApisByIdentifiers, finalizeWebFunctionEnv, findFileAssetForObjectKey, firstUsableRegion, formatStateRemedy, getContainerNetworkIp, groupRoutesByServer, handleConnectionsRequest, httpHeadersToEdge, idFromArn, imageOverrideKeyAliases, invokeAgentCore, invokeAgentCoreWs, invokeRequestAuthorizer, invokeTokenAuthorizer, isApplicationLoadBalancer, isCloudFrontDistribution, isCustomResourceLambdaTarget, isFunctionUrlOacFronted, isLocalCdkAssetImage, isProxyEnvConfigured, keysNotFromTemplate, keysOverriddenBy, listPinnedTargets, matchBehavior, matchPreflight, matchRoute, materializeLayerFromArn, mcpInvokeOnce, mergeForService, normalizeKvsFileKeys, parseConnectionsPath, parseDynamicReference, parseImageOverrideFlags, parseKvsFileOverrides, parseLbPortOverrides, parseMaxTasks, parseOriginOverrides, parseRestartPolicy, parseSelectionExpressionPath, parseSseForJsonRpc, parseWebFunctionBuildConfig, pickAgentCoreCandidateStack, pickFunctionUrlLogicalIdFromOrigin, pickKvsLogicalIdFromArn, pickLambdaEdgeFunctionLogicalId, pickRefLogicalId, pickResponseTemplate, pickTargetFunctionLogicalId, planWebFunctionContainer, probeHostGatewaySupport, readContainerLogTail, readEnvCallerCredentials, readMtlsMaterialsFromDisk, readWebFunctionServiceConfig, recordAssumedRole, reinvoke, relayServeRequest, renderCodeDockerfile, renderStudioHtml, resetWorkloadIdentity, resolveAgentCoreTarget, resolveAlbFrontDoor, resolveAlbTarget, resolveApiTargetSubset, resolveCloudFrontDistribution, resolveCloudFrontTarget, resolveDeployedKvsArnByName, resolveDeployedOriginBucket, resolveDynamicReferencesInEnv, resolveEcsAssumeRoleOption, resolveEnvVars, resolveErrorResponseCandidates, resolveHostGatewayExtraHosts, resolveImageOverrides, resolveKvsModulesForDistribution, resolveLambdaArnIntrinsic, resolveProfileCredentials, resolveRuntimeCodeMountPath, resolveRuntimeFileExtension, resolveRuntimeImage, resolveSelectionExpression, resolveServeBaseUrl, resolveServiceIntegrationParameters, resolveSharedSidecarCredentials, resolveSingleTarget, resolveWatchConfig, resolveWebFunctionArtifact, resolveWebFunctionRuntime, resolveWebFunctionTarget, runEcsServiceEmulator, runImageOverrideBuilds, runViewerRequest, runViewerResponse, selectIntegrationResponse, selectServeInboundAuth, serveFromStaticOrigin, serveLambdaUrlOrigin, serviceStrategy, setShadowReadyTimeoutMs, signAgentCoreInvocation, startAgentCoreHttpServer, startAgentCoreWsBridge, startApiServer, startCloudFrontServer, startStudioProxy, startStudioServer, startWebFunctionContainer, stripCloudFrontImport, substituteImagePlaceholders, supportedWebFunctionRuntimes, toCmdArgv, toStudioTargetGroups, translateLambdaResponse, tryParseStatus, tryResolveImageFnJoin, verifyCognitoJwt, verifyJwtAuthorizer, verifyJwtViaDiscovery, waitForAgentCoreHttpReady, waitForAgentCorePing, waitForWebFunctionReady, watchContainerExit, webFunctionAssumeRole, webFunctionFidelityWarnings, webSocketApiMatchesIdentifier, withoutKeys, workloadClientConfig, workloadStsClientConfig };
|
|
1614
1826
|
//# sourceMappingURL=internal.d.ts.map
|