@aws/nx-plugin-mcp 1.0.0-rc.42 → 1.0.0-rc.44
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/bin/aws-nx-mcp.js +76 -77
- package/docs/guides/py-dynamodb.mdx +3 -3
- package/docs/guides/py-rdb.mdx +13 -2
- package/docs/guides/ts-dynamodb.mdx +3 -3
- package/docs/guides/ts-rdb.mdx +13 -1
- package/docs/snippets/rdb/logging-mysql.mdx +5 -0
- package/docs/snippets/rdb/logging-postgres.mdx +5 -0
- package/docs/snippets/rdb/performance-insights.mdx +34 -0
- package/docs/snippets/runtime-config-app-id-note.mdx +8 -0
- package/package.json +1 -1
- package/docs/snippets/rdb/logging.mdx +0 -32
package/bin/aws-nx-mcp.js
CHANGED
|
@@ -124,7 +124,6 @@ function cached(getter) {
|
|
|
124
124
|
Object.defineProperty(this, "value", { value });
|
|
125
125
|
return value;
|
|
126
126
|
}
|
|
127
|
-
throw new Error("cached value already set");
|
|
128
127
|
} };
|
|
129
128
|
}
|
|
130
129
|
function nullish(input) {
|
|
@@ -4583,7 +4582,7 @@ function preprocess$1(fn, schema) {
|
|
|
4583
4582
|
});
|
|
4584
4583
|
}
|
|
4585
4584
|
//#endregion
|
|
4586
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4585
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4587
4586
|
const LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
4588
4587
|
const SUPPORTED_PROTOCOL_VERSIONS = [
|
|
4589
4588
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -6484,7 +6483,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
6484
6483
|
}
|
|
6485
6484
|
};
|
|
6486
6485
|
//#endregion
|
|
6487
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
6486
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
6488
6487
|
/**
|
|
6489
6488
|
* Buffers a continuous stdio stream into discrete JSON-RPC messages.
|
|
6490
6489
|
*/
|
|
@@ -6511,7 +6510,7 @@ function serializeMessage(message) {
|
|
|
6511
6510
|
return JSON.stringify(message) + "\n";
|
|
6512
6511
|
}
|
|
6513
6512
|
//#endregion
|
|
6514
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
6513
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
6515
6514
|
/**
|
|
6516
6515
|
* Server transport for stdio: this communicates with an MCP client by reading from the current process' stdin and writing to stdout.
|
|
6517
6516
|
*
|
|
@@ -10152,7 +10151,7 @@ function object(shape, params) {
|
|
|
10152
10151
|
return new ZodMiniObject(def);
|
|
10153
10152
|
}
|
|
10154
10153
|
//#endregion
|
|
10155
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
10154
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
10156
10155
|
function isZ4Schema(s) {
|
|
10157
10156
|
return !!s._zod;
|
|
10158
10157
|
}
|
|
@@ -10267,7 +10266,7 @@ function getLiteralValue(schema) {
|
|
|
10267
10266
|
if (directValue !== void 0) return directValue;
|
|
10268
10267
|
}
|
|
10269
10268
|
//#endregion
|
|
10270
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
10269
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
10271
10270
|
/**
|
|
10272
10271
|
* Experimental task interfaces for MCP SDK.
|
|
10273
10272
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -11372,7 +11371,7 @@ const zodToJsonSchema = (schema, options) => {
|
|
|
11372
11371
|
return combined;
|
|
11373
11372
|
};
|
|
11374
11373
|
//#endregion
|
|
11375
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
11374
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
11376
11375
|
function mapMiniTarget(t) {
|
|
11377
11376
|
if (!t) return "draft-7";
|
|
11378
11377
|
if (t === "jsonSchema7" || t === "draft-7") return "draft-7";
|
|
@@ -18318,7 +18317,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
18318
18317
|
exports.default = formatsPlugin;
|
|
18319
18318
|
}));
|
|
18320
18319
|
//#endregion
|
|
18321
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
18320
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
18322
18321
|
var import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
|
|
18323
18322
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
|
|
18324
18323
|
function createDefaultAjvInstance() {
|
|
@@ -18394,7 +18393,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
18394
18393
|
}
|
|
18395
18394
|
};
|
|
18396
18395
|
//#endregion
|
|
18397
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
18396
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
18398
18397
|
/**
|
|
18399
18398
|
* Experimental server task features for MCP SDK.
|
|
18400
18399
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -18614,7 +18613,7 @@ var ExperimentalServerTasks = class {
|
|
|
18614
18613
|
}
|
|
18615
18614
|
};
|
|
18616
18615
|
//#endregion
|
|
18617
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
18616
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
18618
18617
|
/**
|
|
18619
18618
|
* Experimental task capability assertion helpers.
|
|
18620
18619
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -18665,7 +18664,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
18665
18664
|
}
|
|
18666
18665
|
}
|
|
18667
18666
|
//#endregion
|
|
18668
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
18667
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
18669
18668
|
/**
|
|
18670
18669
|
* An MCP server on top of a pluggable transport.
|
|
18671
18670
|
*
|
|
@@ -19006,7 +19005,7 @@ var Server = class extends Protocol {
|
|
|
19006
19005
|
}
|
|
19007
19006
|
};
|
|
19008
19007
|
//#endregion
|
|
19009
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
19008
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
19010
19009
|
const COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
|
|
19011
19010
|
/**
|
|
19012
19011
|
* Checks if a schema is completable (has completion metadata).
|
|
@@ -19025,7 +19024,7 @@ var McpZodTypeKind;
|
|
|
19025
19024
|
McpZodTypeKind["Completable"] = "McpCompletable";
|
|
19026
19025
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
19027
19026
|
//#endregion
|
|
19028
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
19027
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
19029
19028
|
/**
|
|
19030
19029
|
* Tool name validation utilities according to SEP: Specify Format for Tool Names
|
|
19031
19030
|
*
|
|
@@ -19096,7 +19095,7 @@ function validateAndWarnToolName(name) {
|
|
|
19096
19095
|
return result.isValid;
|
|
19097
19096
|
}
|
|
19098
19097
|
//#endregion
|
|
19099
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
19098
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
19100
19099
|
/**
|
|
19101
19100
|
* Experimental McpServer task features for MCP SDK.
|
|
19102
19101
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -19127,7 +19126,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
19127
19126
|
}
|
|
19128
19127
|
};
|
|
19129
19128
|
//#endregion
|
|
19130
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
19129
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_supports-color@7.2.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
19131
19130
|
/**
|
|
19132
19131
|
* High-level MCP server that provides a simpler API for working with resources, tools, and prompts.
|
|
19133
19132
|
* For advanced usage (like sending notifications or setting custom request handlers), use the underlying
|
|
@@ -21297,14 +21296,14 @@ const kebabCase = (str) => {
|
|
|
21297
21296
|
const NX_VERSION = {
|
|
21298
21297
|
"@a2a-js/sdk": "0.3.14",
|
|
21299
21298
|
"@aws/aws-distro-opentelemetry-node-autoinstrumentation": "0.12.0",
|
|
21300
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
21301
|
-
"@aws-sdk/client-bedrock-runtime": "3.
|
|
21302
|
-
"@aws-sdk/client-s3": "3.
|
|
21303
|
-
"@aws-sdk/client-sts": "3.
|
|
21304
|
-
"@aws-sdk/credential-providers": "3.
|
|
21305
|
-
"@aws-sdk/credential-provider-cognito-identity": "3.972.
|
|
21306
|
-
"@aws-sdk/client-secrets-manager": "3.
|
|
21307
|
-
"@aws-sdk/rds-signer": "3.
|
|
21299
|
+
"@aws-sdk/client-dynamodb": "3.1090.0",
|
|
21300
|
+
"@aws-sdk/client-bedrock-runtime": "3.1090.0",
|
|
21301
|
+
"@aws-sdk/client-s3": "3.1090.0",
|
|
21302
|
+
"@aws-sdk/client-sts": "3.1090.0",
|
|
21303
|
+
"@aws-sdk/credential-providers": "3.1090.0",
|
|
21304
|
+
"@aws-sdk/credential-provider-cognito-identity": "3.972.58",
|
|
21305
|
+
"@aws-sdk/client-secrets-manager": "3.1090.0",
|
|
21306
|
+
"@aws-sdk/rds-signer": "3.1090.0",
|
|
21308
21307
|
"@aws-smithy/server-apigateway": "1.0.0-alpha.10",
|
|
21309
21308
|
"@aws-smithy/server-node": "1.0.0-alpha.10",
|
|
21310
21309
|
"@aws-lambda-powertools/logger": "2.34.0",
|
|
@@ -21312,14 +21311,14 @@ const NX_VERSION = {
|
|
|
21312
21311
|
"@aws-lambda-powertools/parameters": "2.34.0",
|
|
21313
21312
|
"@aws-lambda-powertools/tracer": "2.34.0",
|
|
21314
21313
|
"@aws-lambda-powertools/parser": "2.34.0",
|
|
21315
|
-
"@aws-sdk/client-appconfigdata": "3.
|
|
21314
|
+
"@aws-sdk/client-appconfigdata": "3.1090.0",
|
|
21316
21315
|
"@middy/core": "7.7.0",
|
|
21317
|
-
"@nxlv/python": "22.2.
|
|
21316
|
+
"@nxlv/python": "22.2.2",
|
|
21318
21317
|
"@nx-extend/terraform": "10.3.0",
|
|
21319
21318
|
"@nx/devkit": "23.1.0",
|
|
21320
21319
|
"@nx/react": "23.1.0",
|
|
21321
21320
|
"create-nx-workspace": "23.1.0",
|
|
21322
|
-
"@swc-node/register": "1.
|
|
21321
|
+
"@swc-node/register": "1.12.1",
|
|
21323
21322
|
"@swc/core": "1.15.43",
|
|
21324
21323
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
21325
21324
|
"@modelcontextprotocol/inspector": "0.22.0",
|
|
@@ -21328,17 +21327,17 @@ const NX_VERSION = {
|
|
|
21328
21327
|
"@ag-ui/core": "0.0.57",
|
|
21329
21328
|
"@ag-ui/encoder": "0.0.57",
|
|
21330
21329
|
"agent-chat-cli": "0.3.0",
|
|
21331
|
-
"@copilotkit/react-core": "1.
|
|
21330
|
+
"@copilotkit/react-core": "1.63.1",
|
|
21332
21331
|
rxjs: "7.8.2",
|
|
21333
|
-
"@strands-agents/sdk": "1.
|
|
21334
|
-
"@tanstack/react-router": "1.170.
|
|
21335
|
-
"@tanstack/router-plugin": "1.168.
|
|
21336
|
-
"@tanstack/router-generator": "1.167.
|
|
21332
|
+
"@strands-agents/sdk": "1.10.0",
|
|
21333
|
+
"@tanstack/react-router": "1.170.18",
|
|
21334
|
+
"@tanstack/router-plugin": "1.168.22",
|
|
21335
|
+
"@tanstack/router-generator": "1.167.21",
|
|
21337
21336
|
"@tanstack/virtual-file-routes": "1.162.0",
|
|
21338
21337
|
"@tanstack/router-utils": "1.162.2",
|
|
21339
|
-
"@cloudscape-design/board-components": "3.0.
|
|
21340
|
-
"@cloudscape-design/chat-components": "1.0.
|
|
21341
|
-
"@cloudscape-design/components": "3.0.
|
|
21338
|
+
"@cloudscape-design/board-components": "3.0.205",
|
|
21339
|
+
"@cloudscape-design/chat-components": "1.0.151",
|
|
21340
|
+
"@cloudscape-design/components": "3.0.1330",
|
|
21342
21341
|
"@cloudscape-design/global-styles": "1.0.62",
|
|
21343
21342
|
"@tanstack/react-query": "5.101.2",
|
|
21344
21343
|
"@tanstack/react-query-devtools": "5.101.2",
|
|
@@ -21351,20 +21350,20 @@ const NX_VERSION = {
|
|
|
21351
21350
|
"@types/pg": "8.20.0",
|
|
21352
21351
|
"@types/ws": "8.18.1",
|
|
21353
21352
|
"@types/express": "5.0.6",
|
|
21354
|
-
"@smithy/config-resolver": "4.6.
|
|
21355
|
-
"@smithy/node-config-provider": "4.5.
|
|
21356
|
-
"@smithy/node-http-handler": "4.9.
|
|
21353
|
+
"@smithy/config-resolver": "4.6.10",
|
|
21354
|
+
"@smithy/node-config-provider": "4.5.10",
|
|
21355
|
+
"@smithy/node-http-handler": "4.9.7",
|
|
21357
21356
|
"@smithy/types": "4.16.1",
|
|
21358
21357
|
"@vitest/coverage-v8": "4.1.10",
|
|
21359
21358
|
"@vitest/ui": "4.1.10",
|
|
21360
21359
|
"@astrojs/react": "6.0.1",
|
|
21361
21360
|
"@astrojs/starlight": "0.41.3",
|
|
21362
|
-
astro: "7.
|
|
21361
|
+
astro: "7.1.1",
|
|
21363
21362
|
aws4fetch: "1.0.20",
|
|
21364
|
-
"aws-cdk": "2.
|
|
21363
|
+
"aws-cdk": "2.1132.0",
|
|
21365
21364
|
"aws-cdk-lib": "2.261.0",
|
|
21366
21365
|
"aws-xray-sdk-core": "3.12.0",
|
|
21367
|
-
constructs: "10.
|
|
21366
|
+
constructs: "10.7.0",
|
|
21368
21367
|
cors: "2.8.6",
|
|
21369
21368
|
chalk: "5.6.2",
|
|
21370
21369
|
"class-variance-authority": "0.7.1",
|
|
@@ -21374,7 +21373,7 @@ const NX_VERSION = {
|
|
|
21374
21373
|
esbuild: "0.28.1",
|
|
21375
21374
|
"event-source-polyfill": "1.0.31",
|
|
21376
21375
|
"@types/event-source-polyfill": "1.0.5",
|
|
21377
|
-
"@biomejs/biome": "2.5.
|
|
21376
|
+
"@biomejs/biome": "2.5.4",
|
|
21378
21377
|
"@prisma/adapter-mariadb": "7.8.0",
|
|
21379
21378
|
"@prisma/adapter-pg": "7.8.0",
|
|
21380
21379
|
"@prisma/client": "7.8.0",
|
|
@@ -21397,23 +21396,23 @@ const NX_VERSION = {
|
|
|
21397
21396
|
react: "19.2.7",
|
|
21398
21397
|
"react-dom": "19.2.7",
|
|
21399
21398
|
rimraf: "6.1.3",
|
|
21400
|
-
rolldown: "1.
|
|
21399
|
+
rolldown: "1.2.0",
|
|
21401
21400
|
"simple-git": "3.36.0",
|
|
21402
21401
|
"source-map-support": "0.5.21",
|
|
21403
21402
|
"starlight-blog": "0.28.0",
|
|
21404
|
-
tailwindcss: "4.3.
|
|
21405
|
-
"@tailwindcss/vite": "4.3.
|
|
21406
|
-
tsx: "4.23.
|
|
21407
|
-
"lucide-react": "1.
|
|
21403
|
+
tailwindcss: "4.3.3",
|
|
21404
|
+
"@tailwindcss/vite": "4.3.3",
|
|
21405
|
+
tsx: "4.23.1",
|
|
21406
|
+
"lucide-react": "1.25.0",
|
|
21408
21407
|
"radix-ui": "1.6.2",
|
|
21409
|
-
shadcn: "4.13.
|
|
21408
|
+
shadcn: "4.13.1",
|
|
21410
21409
|
"tw-animate-css": "1.4.0",
|
|
21411
21410
|
"tailwind-merge": "3.6.0",
|
|
21412
|
-
vite: "8.1.
|
|
21411
|
+
vite: "8.1.5",
|
|
21413
21412
|
typescript: "6.0.3",
|
|
21414
21413
|
vitest: "4.1.10",
|
|
21415
21414
|
zod: "4.4.3",
|
|
21416
|
-
ws: "8.21.
|
|
21415
|
+
ws: "8.21.1"
|
|
21417
21416
|
}["@nx/devkit"];
|
|
21418
21417
|
const PACKAGE_MANAGER_COMMANDS = {
|
|
21419
21418
|
npm: {
|
|
@@ -28563,7 +28562,7 @@ var init_micromark_factory_space = __esmMin((() => {
|
|
|
28563
28562
|
init_micromark_util_character();
|
|
28564
28563
|
}));
|
|
28565
28564
|
//#endregion
|
|
28566
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
28565
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/initialize/content.js
|
|
28567
28566
|
/**
|
|
28568
28567
|
* @this {TokenizeContext}
|
|
28569
28568
|
* Context.
|
|
@@ -28625,7 +28624,7 @@ var init_content$1 = __esmMin((() => {
|
|
|
28625
28624
|
content$1 = { tokenize: initializeContent };
|
|
28626
28625
|
}));
|
|
28627
28626
|
//#endregion
|
|
28628
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
28627
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/initialize/document.js
|
|
28629
28628
|
/**
|
|
28630
28629
|
* @this {TokenizeContext}
|
|
28631
28630
|
* Self.
|
|
@@ -34313,7 +34312,7 @@ var init_micromark_core_commonmark = __esmMin((() => {
|
|
|
34313
34312
|
init_thematic_break$1();
|
|
34314
34313
|
}));
|
|
34315
34314
|
//#endregion
|
|
34316
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
34315
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/initialize/flow.js
|
|
34317
34316
|
/**
|
|
34318
34317
|
* @this {TokenizeContext}
|
|
34319
34318
|
* Self.
|
|
@@ -34356,7 +34355,7 @@ var init_flow = __esmMin((() => {
|
|
|
34356
34355
|
flow$1 = { tokenize: initializeFlow };
|
|
34357
34356
|
}));
|
|
34358
34357
|
//#endregion
|
|
34359
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/text.js
|
|
34358
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/initialize/text.js
|
|
34360
34359
|
/**
|
|
34361
34360
|
* @param {'string' | 'text'} field
|
|
34362
34361
|
* Field.
|
|
@@ -34526,7 +34525,7 @@ var init_text$1 = __esmMin((() => {
|
|
|
34526
34525
|
text$2 = initializeFactory("text");
|
|
34527
34526
|
}));
|
|
34528
34527
|
//#endregion
|
|
34529
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
34528
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/constructs.js
|
|
34530
34529
|
var constructs_exports = /* @__PURE__ */ __exportAll({
|
|
34531
34530
|
attentionMarkers: () => attentionMarkers,
|
|
34532
34531
|
contentInitial: () => contentInitial,
|
|
@@ -34597,7 +34596,7 @@ var init_constructs = __esmMin((() => {
|
|
|
34597
34596
|
disable = { null: [] };
|
|
34598
34597
|
}));
|
|
34599
34598
|
//#endregion
|
|
34600
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/create-tokenizer.js
|
|
34599
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/create-tokenizer.js
|
|
34601
34600
|
/**
|
|
34602
34601
|
* Create a tokenizer.
|
|
34603
34602
|
* Tokenizers deal with one type of data (e.g., containers, flow, text).
|
|
@@ -35034,7 +35033,7 @@ var init_create_tokenizer = __esmMin((() => {
|
|
|
35034
35033
|
init_micromark_util_resolve_all();
|
|
35035
35034
|
}));
|
|
35036
35035
|
//#endregion
|
|
35037
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
35036
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/parse.js
|
|
35038
35037
|
/**
|
|
35039
35038
|
* @param {ParseOptions | null | undefined} [options]
|
|
35040
35039
|
* Configuration (optional).
|
|
@@ -35078,7 +35077,7 @@ var init_parse = __esmMin((() => {
|
|
|
35078
35077
|
init_create_tokenizer();
|
|
35079
35078
|
}));
|
|
35080
35079
|
//#endregion
|
|
35081
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/postprocess.js
|
|
35080
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/postprocess.js
|
|
35082
35081
|
/**
|
|
35083
35082
|
* @param {Array<Event>} events
|
|
35084
35083
|
* Events.
|
|
@@ -35093,7 +35092,7 @@ var init_postprocess = __esmMin((() => {
|
|
|
35093
35092
|
init_micromark_util_subtokenize();
|
|
35094
35093
|
}));
|
|
35095
35094
|
//#endregion
|
|
35096
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/preprocess.js
|
|
35095
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/lib/preprocess.js
|
|
35097
35096
|
/**
|
|
35098
35097
|
* @returns {Preprocessor}
|
|
35099
35098
|
* Preprocess a value.
|
|
@@ -35182,7 +35181,7 @@ var init_preprocess = __esmMin((() => {
|
|
|
35182
35181
|
search = /[\0\t\n\r]/g;
|
|
35183
35182
|
}));
|
|
35184
35183
|
//#endregion
|
|
35185
|
-
//#region ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/index.js
|
|
35184
|
+
//#region ../../node_modules/.pnpm/micromark@4.0.2_supports-color@10.2.2/node_modules/micromark/index.js
|
|
35186
35185
|
var init_micromark = __esmMin((() => {
|
|
35187
35186
|
init_decode_named_character_reference();
|
|
35188
35187
|
init_micromark_util_combine_extensions();
|
|
@@ -35234,7 +35233,7 @@ var init_micromark_util_decode_string = __esmMin((() => {
|
|
|
35234
35233
|
characterEscapeOrReference = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
35235
35234
|
}));
|
|
35236
35235
|
//#endregion
|
|
35237
|
-
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/lib/index.js
|
|
35236
|
+
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.2_supports-color@10.2.2/node_modules/mdast-util-from-markdown/lib/index.js
|
|
35238
35237
|
/**
|
|
35239
35238
|
* Turn markdown into a syntax tree.
|
|
35240
35239
|
*
|
|
@@ -36170,12 +36169,12 @@ var init_lib$20 = __esmMin((() => {
|
|
|
36170
36169
|
own$4 = {}.hasOwnProperty;
|
|
36171
36170
|
}));
|
|
36172
36171
|
//#endregion
|
|
36173
|
-
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.2/node_modules/mdast-util-from-markdown/index.js
|
|
36172
|
+
//#region ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.2_supports-color@10.2.2/node_modules/mdast-util-from-markdown/index.js
|
|
36174
36173
|
var init_mdast_util_from_markdown = __esmMin((() => {
|
|
36175
36174
|
init_lib$20();
|
|
36176
36175
|
}));
|
|
36177
36176
|
//#endregion
|
|
36178
|
-
//#region ../../node_modules/.pnpm/remark-parse@11.0.
|
|
36177
|
+
//#region ../../node_modules/.pnpm/remark-parse@11.0.0_supports-color@10.2.2/node_modules/remark-parse/lib/index.js
|
|
36179
36178
|
/**
|
|
36180
36179
|
* Aadd support for parsing from markdown.
|
|
36181
36180
|
*
|
|
@@ -36204,13 +36203,13 @@ var init_lib$19 = __esmMin((() => {
|
|
|
36204
36203
|
init_mdast_util_from_markdown();
|
|
36205
36204
|
}));
|
|
36206
36205
|
//#endregion
|
|
36207
|
-
//#region ../../node_modules/.pnpm/remark-parse@11.0.
|
|
36206
|
+
//#region ../../node_modules/.pnpm/remark-parse@11.0.0_supports-color@10.2.2/node_modules/remark-parse/index.js
|
|
36208
36207
|
var remark_parse_exports = /* @__PURE__ */ __exportAll({ default: () => remarkParse });
|
|
36209
36208
|
var init_remark_parse = __esmMin((() => {
|
|
36210
36209
|
init_lib$19();
|
|
36211
36210
|
}));
|
|
36212
36211
|
//#endregion
|
|
36213
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.
|
|
36212
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1_supports-color@10.2.2/node_modules/mdast-util-mdx-expression/lib/index.js
|
|
36214
36213
|
/**
|
|
36215
36214
|
* Create an extension for `mdast-util-from-markdown` to enable MDX expressions
|
|
36216
36215
|
* in markdown.
|
|
@@ -36321,7 +36320,7 @@ var init_lib$18 = __esmMin((() => {
|
|
|
36321
36320
|
init_default();
|
|
36322
36321
|
}));
|
|
36323
36322
|
//#endregion
|
|
36324
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.
|
|
36323
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx-expression@2.0.1_supports-color@10.2.2/node_modules/mdast-util-mdx-expression/index.js
|
|
36325
36324
|
var init_mdast_util_mdx_expression = __esmMin((() => {
|
|
36326
36325
|
init_lib$18();
|
|
36327
36326
|
}));
|
|
@@ -36892,7 +36891,7 @@ var init_stringify_entities = __esmMin((() => {
|
|
|
36892
36891
|
init_lib$16();
|
|
36893
36892
|
}));
|
|
36894
36893
|
//#endregion
|
|
36895
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.
|
|
36894
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0_supports-color@10.2.2/node_modules/mdast-util-mdx-jsx/lib/index.js
|
|
36896
36895
|
/**
|
|
36897
36896
|
* Create an extension for `mdast-util-from-markdown` to enable MDX JSX.
|
|
36898
36897
|
*
|
|
@@ -37415,12 +37414,12 @@ var init_lib$15 = __esmMin((() => {
|
|
|
37415
37414
|
indent = " ";
|
|
37416
37415
|
}));
|
|
37417
37416
|
//#endregion
|
|
37418
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.
|
|
37417
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx-jsx@3.2.0_supports-color@10.2.2/node_modules/mdast-util-mdx-jsx/index.js
|
|
37419
37418
|
var init_mdast_util_mdx_jsx = __esmMin((() => {
|
|
37420
37419
|
init_lib$15();
|
|
37421
37420
|
}));
|
|
37422
37421
|
//#endregion
|
|
37423
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.
|
|
37422
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1_supports-color@10.2.2/node_modules/mdast-util-mdxjs-esm/lib/index.js
|
|
37424
37423
|
/**
|
|
37425
37424
|
* Create an extension for `mdast-util-from-markdown` to enable MDX.js ESM in
|
|
37426
37425
|
* markdown.
|
|
@@ -37493,12 +37492,12 @@ var init_lib$14 = __esmMin((() => {
|
|
|
37493
37492
|
init_default();
|
|
37494
37493
|
}));
|
|
37495
37494
|
//#endregion
|
|
37496
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.
|
|
37495
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdxjs-esm@2.0.1_supports-color@10.2.2/node_modules/mdast-util-mdxjs-esm/index.js
|
|
37497
37496
|
var init_mdast_util_mdxjs_esm = __esmMin((() => {
|
|
37498
37497
|
init_lib$14();
|
|
37499
37498
|
}));
|
|
37500
37499
|
//#endregion
|
|
37501
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx@3.0.
|
|
37500
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx@3.0.0_supports-color@10.2.2/node_modules/mdast-util-mdx/lib/index.js
|
|
37502
37501
|
/**
|
|
37503
37502
|
* Create an extension for `mdast-util-from-markdown` to enable MDX (ESM, JSX,
|
|
37504
37503
|
* expressions).
|
|
@@ -37540,7 +37539,7 @@ var init_lib$13 = __esmMin((() => {
|
|
|
37540
37539
|
init_mdast_util_mdxjs_esm();
|
|
37541
37540
|
}));
|
|
37542
37541
|
//#endregion
|
|
37543
|
-
//#region ../../node_modules/.pnpm/mdast-util-mdx@3.0.
|
|
37542
|
+
//#region ../../node_modules/.pnpm/mdast-util-mdx@3.0.0_supports-color@10.2.2/node_modules/mdast-util-mdx/index.js
|
|
37544
37543
|
var init_mdast_util_mdx = __esmMin((() => {
|
|
37545
37544
|
init_lib$13();
|
|
37546
37545
|
}));
|
|
@@ -50420,7 +50419,7 @@ var init_micromark_extension_mdxjs = __esmMin((() => {
|
|
|
50420
50419
|
init_micromark_util_combine_extensions();
|
|
50421
50420
|
}));
|
|
50422
50421
|
//#endregion
|
|
50423
|
-
//#region ../../node_modules/.pnpm/remark-mdx@3.1.
|
|
50422
|
+
//#region ../../node_modules/.pnpm/remark-mdx@3.1.1_supports-color@10.2.2/node_modules/remark-mdx/lib/index.js
|
|
50424
50423
|
/**
|
|
50425
50424
|
* Add support for MDX (JSX: `<Video id={123} />`, export/imports: `export {x}
|
|
50426
50425
|
* from 'y'`; and expressions: `{1 + 1}`).
|
|
@@ -50450,7 +50449,7 @@ var init_lib$8 = __esmMin((() => {
|
|
|
50450
50449
|
emptyOptions$1 = {};
|
|
50451
50450
|
}));
|
|
50452
50451
|
//#endregion
|
|
50453
|
-
//#region ../../node_modules/.pnpm/remark-mdx@3.1.
|
|
50452
|
+
//#region ../../node_modules/.pnpm/remark-mdx@3.1.1_supports-color@10.2.2/node_modules/remark-mdx/index.js
|
|
50454
50453
|
var remark_mdx_exports = /* @__PURE__ */ __exportAll({ default: () => remarkMdx });
|
|
50455
50454
|
var init_remark_mdx = __esmMin((() => {
|
|
50456
50455
|
init_lib$8();
|
|
@@ -53405,7 +53404,7 @@ function escapeStringRegexp(string) {
|
|
|
53405
53404
|
}
|
|
53406
53405
|
var init_escape_string_regexp = __esmMin((() => {}));
|
|
53407
53406
|
//#endregion
|
|
53408
|
-
//#region ../../node_modules/.pnpm/mdast-util-frontmatter@2.0.
|
|
53407
|
+
//#region ../../node_modules/.pnpm/mdast-util-frontmatter@2.0.1_supports-color@10.2.2/node_modules/mdast-util-frontmatter/lib/index.js
|
|
53409
53408
|
/**
|
|
53410
53409
|
* Create an extension for `mdast-util-from-markdown`.
|
|
53411
53410
|
*
|
|
@@ -53556,12 +53555,12 @@ var init_lib$1 = __esmMin((() => {
|
|
|
53556
53555
|
init_escape_string_regexp();
|
|
53557
53556
|
}));
|
|
53558
53557
|
//#endregion
|
|
53559
|
-
//#region ../../node_modules/.pnpm/mdast-util-frontmatter@2.0.
|
|
53558
|
+
//#region ../../node_modules/.pnpm/mdast-util-frontmatter@2.0.1_supports-color@10.2.2/node_modules/mdast-util-frontmatter/index.js
|
|
53560
53559
|
var init_mdast_util_frontmatter = __esmMin((() => {
|
|
53561
53560
|
init_lib$1();
|
|
53562
53561
|
}));
|
|
53563
53562
|
//#endregion
|
|
53564
|
-
//#region ../../node_modules/.pnpm/remark-frontmatter@5.0.
|
|
53563
|
+
//#region ../../node_modules/.pnpm/remark-frontmatter@5.0.0_supports-color@10.2.2/node_modules/remark-frontmatter/lib/index.js
|
|
53565
53564
|
/**
|
|
53566
53565
|
* Add support for frontmatter.
|
|
53567
53566
|
*
|
|
@@ -53592,7 +53591,7 @@ var init_lib = __esmMin((() => {
|
|
|
53592
53591
|
emptyOptions = "yaml";
|
|
53593
53592
|
}));
|
|
53594
53593
|
//#endregion
|
|
53595
|
-
//#region ../../node_modules/.pnpm/remark-frontmatter@5.0.
|
|
53594
|
+
//#region ../../node_modules/.pnpm/remark-frontmatter@5.0.0_supports-color@10.2.2/node_modules/remark-frontmatter/index.js
|
|
53596
53595
|
var remark_frontmatter_exports = /* @__PURE__ */ __exportAll({ default: () => remarkFrontmatter });
|
|
53597
53596
|
var init_remark_frontmatter = __esmMin((() => {
|
|
53598
53597
|
init_lib();
|
|
@@ -434,9 +434,9 @@ from my_db_package.entities import ExampleModel
|
|
|
434
434
|
item = ExampleModel.get_by_id('123')
|
|
435
435
|
```
|
|
436
436
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
Behind the scenes, `ExampleModel` calls `get_table_name()` to fetch the table name from AWS AppConfig at runtime.
|
|
438
|
+
|
|
439
|
+
<Snippet name="runtime-config-app-id-note" parentHeading="Connecting to the Table" />
|
|
440
440
|
|
|
441
441
|
## Deploying your Table
|
|
442
442
|
|
package/docs/guides/py-rdb.mdx
CHANGED
|
@@ -13,6 +13,7 @@ import RunGenerator from '@components/run-generator.astro';
|
|
|
13
13
|
import GeneratorParameters from '@components/generator-parameters.astro';
|
|
14
14
|
import NxCommands from '@components/nx-commands.astro';
|
|
15
15
|
import Snippet from '@components/snippet.astro';
|
|
16
|
+
import OptionFilter from '@components/option-filter.astro';
|
|
16
17
|
|
|
17
18
|
This generator creates a new Python relational database project backed by [Amazon Aurora](https://aws.amazon.com/rds/aurora/) (PostgreSQL or MySQL), [SQLModel](https://sqlmodel.tiangolo.com/) for data modelling, and [Alembic](https://alembic.sqlalchemy.org/) for schema migrations. It generates the application code and infrastructure needed to provision and manage a database using AWS CDK or Terraform, with declarative schema definition, automatic migration deployment, and a database client.
|
|
18
19
|
|
|
@@ -145,10 +146,12 @@ async def example():
|
|
|
145
146
|
```
|
|
146
147
|
|
|
147
148
|
The database client automatically:
|
|
148
|
-
- Retrieves database configuration from AWS AppConfig
|
|
149
|
+
- Retrieves database configuration from AWS AppConfig at runtime
|
|
149
150
|
- Generates temporary authentication tokens via `boto3` RDS Signer for IAM authentication
|
|
150
151
|
- Establishes TLS connections using `ssl.create_default_context()`
|
|
151
152
|
|
|
153
|
+
<Snippet name="runtime-config-app-id-note" parentHeading="Connecting to the Database" />
|
|
154
|
+
|
|
152
155
|
## Deploying your Database
|
|
153
156
|
|
|
154
157
|
<Snippet name="rdb/deploying" parentHeading="Deploying your Database" />
|
|
@@ -214,7 +217,15 @@ When using RDS Proxy, you do not need to configure the RDS CA bundle in the runt
|
|
|
214
217
|
|
|
215
218
|
### Logging and Monitoring
|
|
216
219
|
|
|
217
|
-
<
|
|
220
|
+
<OptionFilter when={{ engine: 'postgres' }}>
|
|
221
|
+
<Snippet name="rdb/logging-postgres" />
|
|
222
|
+
</OptionFilter>
|
|
223
|
+
|
|
224
|
+
<OptionFilter when={{ engine: 'mysql' }}>
|
|
225
|
+
<Snippet name="rdb/logging-mysql" />
|
|
226
|
+
</OptionFilter>
|
|
227
|
+
|
|
228
|
+
<Snippet name="rdb/performance-insights" />
|
|
218
229
|
|
|
219
230
|
### Encryption Key Rotation
|
|
220
231
|
|
|
@@ -142,9 +142,9 @@ const entity = await createExampleEntity();
|
|
|
142
142
|
const result = await entity.query.primary({ id: '123' }).go();
|
|
143
143
|
```
|
|
144
144
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
145
|
+
Behind the scenes, `createExampleEntity()` calls `resolveTableName()` to fetch the table name from AWS AppConfig at runtime.
|
|
146
|
+
|
|
147
|
+
<Snippet name="runtime-config-app-id-note" parentHeading="Connecting to the Table" />
|
|
148
148
|
|
|
149
149
|
## Deploying your Table
|
|
150
150
|
|
package/docs/guides/ts-rdb.mdx
CHANGED
|
@@ -183,6 +183,10 @@ const users = await prisma.user.findMany({ orderBy: { id: 'asc' } });
|
|
|
183
183
|
|
|
184
184
|
The Prisma client exposes fully typed models derived from your `prisma/models/` schema, giving you end-to-end type safety from the database all the way through to your API response.
|
|
185
185
|
|
|
186
|
+
`getPrisma()` fetches the database connection settings from AWS AppConfig at runtime.
|
|
187
|
+
|
|
188
|
+
<Snippet name="runtime-config-app-id-note" parentHeading="Connecting to the Database" />
|
|
189
|
+
|
|
186
190
|
## Deploying your Database
|
|
187
191
|
|
|
188
192
|
<Snippet name="rdb/deploying" parentHeading="Deploying your Database" />
|
|
@@ -292,7 +296,15 @@ For more details, see the AWS Lambda [SSL/TLS requirements for Amazon RDS connec
|
|
|
292
296
|
|
|
293
297
|
### Logging and Monitoring
|
|
294
298
|
|
|
295
|
-
<
|
|
299
|
+
<OptionFilter when={{ engine: 'postgres' }}>
|
|
300
|
+
<Snippet name="rdb/logging-postgres" />
|
|
301
|
+
</OptionFilter>
|
|
302
|
+
|
|
303
|
+
<OptionFilter when={{ engine: 'mysql' }}>
|
|
304
|
+
<Snippet name="rdb/logging-mysql" />
|
|
305
|
+
</OptionFilter>
|
|
306
|
+
|
|
307
|
+
<Snippet name="rdb/performance-insights" />
|
|
296
308
|
|
|
297
309
|
### Encryption Key Rotation
|
|
298
310
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: MySQL Query Logging
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
The `audit` and `error` logs are exported for [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.CloudWatch.html) — `general` and `slowquery` are deliberately excluded since they log full statement text, including DML values. [Advanced Auditing](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Auditing.html) is scoped to connections and DDL (`server_audit_events=CONNECT,QUERY_DDL`), so statement parameter values are never logged.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: PostgreSQL Query Logging
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
The `postgresql` log is exported for [Aurora PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.CloudWatch.html), with logging scoped to DDL statements only (`log_statement=ddl`) so statement parameter values are never logged — as long as each statement is sent on its own. `log_statement=ddl` logs the entire raw text of a multi-statement batch (e.g. a single `psql -c "a;b;c"` call) verbatim if any statement in it is DDL, including any DML values in that same batch.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Performance Insights
|
|
3
|
+
---
|
|
4
|
+
import Infrastructure from '@components/infrastructure.astro';
|
|
5
|
+
|
|
6
|
+
Performance Insights is enabled on the Aurora writer instance by default (encrypted with the cluster's KMS key). Aurora engine logs are also exported to [CloudWatch Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html) by default, configured to surface schema-level activity without leaking row data.
|
|
7
|
+
|
|
8
|
+
Disable log export per database if not required:
|
|
9
|
+
|
|
10
|
+
<Infrastructure>
|
|
11
|
+
<Fragment slot="cdk">
|
|
12
|
+
|
|
13
|
+
```ts title="packages/infra/src/stacks/application-stack.ts"
|
|
14
|
+
import { MyDatabase } from ':my-scope/common-constructs';
|
|
15
|
+
|
|
16
|
+
const db = new MyDatabase(this, 'Db', {
|
|
17
|
+
...
|
|
18
|
+
enableCloudwatchLogs: false,
|
|
19
|
+
enablePerformanceInsights: false,
|
|
20
|
+
});
|
|
21
|
+
```
|
|
22
|
+
</Fragment>
|
|
23
|
+
<Fragment slot="terraform">
|
|
24
|
+
|
|
25
|
+
```hcl title="packages/infra/src/main.tf"
|
|
26
|
+
module "my_database" {
|
|
27
|
+
source = "../../common/terraform/src/app/dbs/my-database"
|
|
28
|
+
...
|
|
29
|
+
enable_cloudwatch_logs = false # disable if not required
|
|
30
|
+
enable_performance_insights = false # disable if not required
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
</Fragment>
|
|
34
|
+
</Infrastructure>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Runtime Config App ID Note
|
|
3
|
+
---
|
|
4
|
+
import Link from '@components/link.astro';
|
|
5
|
+
|
|
6
|
+
:::note[Runtime config]
|
|
7
|
+
This relies on the `RUNTIME_CONFIG_APP_ID` environment variable to fetch configuration from AWS AppConfig at runtime. Projects built with this plugin (APIs, Agents, MCP servers) already have this variable configured automatically. For other projects, ensure `RUNTIME_CONFIG_APP_ID` is set in the runtime environment with the AppConfig application ID provisioned by your infrastructure. For more information, see the <Link path="guides/runtime-config">Runtime Configuration guide</Link>.
|
|
8
|
+
:::
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Logging and Monitoring
|
|
3
|
-
---
|
|
4
|
-
import Infrastructure from '@components/infrastructure.astro';
|
|
5
|
-
|
|
6
|
-
Performance Insights is enabled on the Aurora writer instance by default (encrypted with the cluster's KMS key). You can also export the Aurora engine logs to [CloudWatch Logs](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html) (`postgresql` for [Aurora PostgreSQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.CloudWatch.html); `audit`, `error`, `general` and `slowquery` for [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.CloudWatch.html)). Enable log export per database:
|
|
7
|
-
|
|
8
|
-
<Infrastructure>
|
|
9
|
-
<Fragment slot="cdk">
|
|
10
|
-
|
|
11
|
-
```ts title="packages/infra/src/stacks/application-stack.ts"
|
|
12
|
-
import { MyDatabase } from ':my-scope/common-constructs';
|
|
13
|
-
|
|
14
|
-
const db = new MyDatabase(this, 'Db', {
|
|
15
|
-
...
|
|
16
|
-
enableCloudwatchLogs: true,
|
|
17
|
-
enablePerformanceInsights: false, // disable if not required
|
|
18
|
-
});
|
|
19
|
-
```
|
|
20
|
-
</Fragment>
|
|
21
|
-
<Fragment slot="terraform">
|
|
22
|
-
|
|
23
|
-
```hcl title="packages/infra/src/main.tf"
|
|
24
|
-
module "my_database" {
|
|
25
|
-
source = "../../common/terraform/src/app/dbs/my-database"
|
|
26
|
-
...
|
|
27
|
-
enable_cloudwatch_logs = true
|
|
28
|
-
enable_performance_insights = false # disable if not required
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
</Fragment>
|
|
32
|
-
</Infrastructure>
|