@go-to-k/cdkd 0.111.1 → 0.111.3
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/dist/cli.js +21 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8212,6 +8212,7 @@ var DynamoDBGlobalTableProvider = class {
|
|
|
8212
8212
|
const flatUpdate = { TableName: physicalId };
|
|
8213
8213
|
let flatChanged = false;
|
|
8214
8214
|
if (newDpe !== oldDpe || newDpe !== void 0 && typeof awsDpe === "boolean" && Boolean(newDpe) !== awsDpe) {
|
|
8215
|
+
if ((oldDpe === true || awsDpe === true) && Boolean(newDpe ?? false) === false && !(newDpe !== void 0)) this.logger.warn(`Auto-disabling DeletionProtectionEnabled on ${physicalId}: the CDK code does not set 'deletionProtection: true' but AWS has it enabled. AWS will accept DeleteTable on this resource after this deploy. If you meant to keep protection on, set 'deletionProtection: true' in your CDK code; if you meant to disable it explicitly, set 'deletionProtection: false' to silence this warning.`);
|
|
8215
8216
|
flatUpdate.DeletionProtectionEnabled = Boolean(newDpe ?? false);
|
|
8216
8217
|
flatChanged = true;
|
|
8217
8218
|
}
|
|
@@ -14449,6 +14450,25 @@ var ApiGatewayV2Provider = class {
|
|
|
14449
14450
|
"AuthorizerPayloadFormatVersion"
|
|
14450
14451
|
])]
|
|
14451
14452
|
]);
|
|
14453
|
+
/**
|
|
14454
|
+
* Properties this provider deliberately does NOT wire through to the SDK
|
|
14455
|
+
* call, with a one-line rationale per entry. Consumed by the development-
|
|
14456
|
+
* time coverage check (`tests/unit/provisioning/property-coverage.test.ts`,
|
|
14457
|
+
* issue #391) — see `ResourceProvider.unhandledByDesign` doc.
|
|
14458
|
+
*
|
|
14459
|
+
* The five OpenAPI-import fields on `AWS::ApiGatewayV2::Api` trigger an
|
|
14460
|
+
* entirely separate `ImportApi` AWS API code path (inline OpenAPI spec or
|
|
14461
|
+
* S3-hosted), not the field-by-field `CreateApi` cdkd already supports.
|
|
14462
|
+
* Wiring them would require parsing OpenAPI semantics + a different
|
|
14463
|
+
* mutation surface and is out of scope for the SDK-Provider safety net.
|
|
14464
|
+
*/
|
|
14465
|
+
unhandledByDesign = new Map([["AWS::ApiGatewayV2::Api", new Map([
|
|
14466
|
+
["Body", "OpenAPI/Swagger inline spec; routed through ImportApi, not the field-by-field CreateApi path."],
|
|
14467
|
+
["BodyS3Location", "OpenAPI/Swagger spec on S3; routed through ImportApi, not the field-by-field CreateApi path."],
|
|
14468
|
+
["FailOnWarnings", "OpenAPI-import-only flag; meaningful only on the ImportApi code path."],
|
|
14469
|
+
["DisableSchemaValidation", "Schema-validation toggle on CreateApi/UpdateApi that AWS docs scope to WebSocket APIs using AWS::ApiGatewayV2::Model — that resource type is not yet registered in cdkd, so the toggle has no effect to wire."],
|
|
14470
|
+
["BasePath", "OpenAPI-import-only basePath override; meaningful only on the ImportApi code path."]
|
|
14471
|
+
])]]);
|
|
14452
14472
|
getClient() {
|
|
14453
14473
|
if (!this.client) this.client = new ApiGatewayV2Client(this.providerRegion ? { region: this.providerRegion } : {});
|
|
14454
14474
|
return this.client;
|
|
@@ -45280,7 +45300,7 @@ function reorderArgs(argv) {
|
|
|
45280
45300
|
*/
|
|
45281
45301
|
async function main() {
|
|
45282
45302
|
const program = new Command();
|
|
45283
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.111.
|
|
45303
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.111.3");
|
|
45284
45304
|
program.addCommand(createBootstrapCommand());
|
|
45285
45305
|
program.addCommand(createSynthCommand());
|
|
45286
45306
|
program.addCommand(createListCommand());
|