@go-to-k/cdkd 0.280.2 → 0.280.4

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.
@@ -9353,24 +9353,15 @@ function requireConfigString(value, fallback, path, options) {
9353
9353
  function replayWarn(logger, context) {
9354
9354
  return context?.replayingState === true ? { onUnusable: (message) => logger.warn(message) } : {};
9355
9355
  }
9356
- /**
9357
- * Refuse a present-but-non-ARRAY value where a CFn LIST block belongs.
9358
- *
9359
- * The list-shaped sibling of {@link readConfigString}, for the container one
9360
- * level up from a per-item mapper. Without it a truthy non-array
9361
- * (`SecondarySources: 'GITHUB'`) reaches `.map` and dies with a raw
9362
- * `TypeError: … .map is not a function`, and a FALSY one (`''`) is silently
9363
- * dropped by the truthiness gate that usually guards these — the same class
9364
- * `readConfigString` exists for, one level up (issue #1493 review).
9365
- *
9366
- * Callers keep the ABSENT case themselves (`== null ? undefined : …`), because
9367
- * an absent list block legitimately means "no entries" and the caller's own
9368
- * `undefined` is what the SDK expects.
9369
- *
9370
- * @throws Error when the value is not an array.
9371
- */
9372
- function requireConfigArray(value, path) {
9373
- if (!Array.isArray(value)) throw new Error(`${path} must be an array (got ${describe(value)}) — check for an unresolved intrinsic or a mis-nested template value`);
9356
+ function requireConfigArray(value, path, options) {
9357
+ if (!Array.isArray(value)) {
9358
+ const detail = `(got ${describe(value)}) — check for an unresolved intrinsic or a mis-nested template value`;
9359
+ if (options?.onUnusable) {
9360
+ options.onUnusable(`${path} must be an array ${detail}. Leaving this configuration unapplied here; the same value is REFUSED on a template-path create`);
9361
+ return;
9362
+ }
9363
+ throw new Error(`${path} must be an array ${detail}`);
9364
+ }
9374
9365
  return value;
9375
9366
  }
9376
9367
  /**
@@ -12753,7 +12744,7 @@ var CloudControlProvider = class {
12753
12744
  if (context?.finalSnapshotIdentifier !== void 0) throw new ProvisioningError(`${logicalId} (${resourceType}) requires a final snapshot (DeletionPolicy: Snapshot), but the Cloud Control API delete route has no final-snapshot parameter. Re-run with --skip-final-snapshot after snapshotting manually, or retain the resource.`, resourceType, logicalId, physicalId);
12754
12745
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
12755
12746
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
12756
- const { ASGProvider } = await import("./asg-provider-CwKNCS78.js").then((n) => n.n);
12747
+ const { ASGProvider } = await import("./asg-provider-Cyuov8l5.js").then((n) => n.n);
12757
12748
  await new ASGProvider().delete(logicalId, physicalId, resourceType, _properties, context);
12758
12749
  return;
12759
12750
  }
@@ -14286,37 +14277,35 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
14286
14277
  ["AWS::ApiGatewayV2::Route", {
14287
14278
  handled: /* @__PURE__ */ new Set([
14288
14279
  "ApiId",
14280
+ "ApiKeyRequired",
14289
14281
  "AuthorizationScopes",
14290
14282
  "AuthorizationType",
14291
14283
  "AuthorizerId",
14284
+ "ModelSelectionExpression",
14292
14285
  "OperationName",
14286
+ "RequestModels",
14287
+ "RequestParameters",
14293
14288
  "RouteKey",
14289
+ "RouteResponseSelectionExpression",
14294
14290
  "Target"
14295
14291
  ]),
14296
- silentDrop: /* @__PURE__ */ new Map([
14297
- ["ApiKeyRequired", "not yet implemented by cdkd"],
14298
- ["ModelSelectionExpression", "not yet implemented by cdkd"],
14299
- ["RequestModels", "not yet implemented by cdkd"],
14300
- ["RequestParameters", "not yet implemented by cdkd"],
14301
- ["RouteResponseSelectionExpression", "not yet implemented by cdkd"]
14302
- ])
14292
+ silentDrop: /* @__PURE__ */ new Map()
14303
14293
  }],
14304
14294
  ["AWS::ApiGatewayV2::Stage", {
14305
14295
  handled: /* @__PURE__ */ new Set([
14296
+ "AccessLogSettings",
14306
14297
  "ApiId",
14307
14298
  "AutoDeploy",
14299
+ "ClientCertificateId",
14308
14300
  "DefaultRouteSettings",
14301
+ "DeploymentId",
14309
14302
  "Description",
14303
+ "RouteSettings",
14310
14304
  "StageName",
14311
14305
  "StageVariables",
14312
14306
  "Tags"
14313
14307
  ]),
14314
- silentDrop: /* @__PURE__ */ new Map([
14315
- ["AccessLogSettings", "not yet implemented by cdkd"],
14316
- ["ClientCertificateId", "not yet implemented by cdkd"],
14317
- ["DeploymentId", "not yet implemented by cdkd"],
14318
- ["RouteSettings", "not yet implemented by cdkd"]
14319
- ])
14308
+ silentDrop: /* @__PURE__ */ new Map()
14320
14309
  }],
14321
14310
  ["AWS::AppSync::ApiKey", {
14322
14311
  handled: /* @__PURE__ */ new Set([
@@ -19247,7 +19236,7 @@ const FLUSH_INTERVAL_MS = 2e3;
19247
19236
  const FLUSH_EVENT_THRESHOLD = 50;
19248
19237
  /** Build-time cdkd version, with a dev fallback for non-built contexts. */
19249
19238
  function getCdkdVersion() {
19250
- return "0.280.2";
19239
+ return "0.280.4";
19251
19240
  }
19252
19241
  /**
19253
19242
  * Generate a time-sortable unique run id, e.g.
@@ -21359,4 +21348,4 @@ var DeployEngine = class {
21359
21348
 
21360
21349
  //#endregion
21361
21350
  export { DiffCalculator as $, resolveBucketRegion as $t, red as A, getDockerImageBySourceHash as At, isTerminationProtectionPropagationError as B, resolveStateBucketWithDefaultAndSource as Bt, isStatefulRecreateTargetSync as C, formatError as Cn, validateContainerRepoName as Ct, cyan as D, __exportAll as Dn, runDockerForeground as Dt, bold as E, withErrorHandling as En, getDockerCmd as Et, ProviderRegistry as F, resolveApp as Ft, normalizeAwsTagsToCfn as G, CFN_TEMPLATE_URL_LIMIT as Gt, cfnRefValueFromPhysicalId as H, stateBucketExistenceConfirmed as Ht, findActionableSilentDrops as I, resolveAutoAssetStorage as It, readConfigString as J, uploadCfnTemplate as Jt, resolveExplicitPhysicalId as K, MIGRATE_TMP_PREFIX as Kt, CloudControlProvider as L, resolveCaptureObservedState as Lt, IAMRoleProvider as M, synthesisStatusMessage as Mt, collectInlinePolicyNamesManagedBySiblings as N, getDefaultStateBucketName as Nt, gray as O, runDockerStreaming as Ot, clearOnUpdateRemoval as P, getLegacyStateBucketName as Pt, applyRoleArnIfSet as Q, clearBucketRegionCache as Qt, slowCcOperationTimeoutMs as R, resolveSkipPrefix as Rt, MULTI_REGION_RECREATE_BLOCKED_TYPES as S, SynthesisError as Sn, validateAssetBucketName as St, formatResourceLine as T, normalizeAwsError as Tn, formatDockerLoginError as Tt, refStateLookupFromResource as U, warnDeprecatedNoPrefixCliFlag as Ut, IntrinsicFunctionResolver as V, resolveUseCdkBootstrapAssets as Vt, WAFv2WebACLProvider as W, CFN_TEMPLATE_BODY_LIMIT as Wt, requireConfigArray as X, AssemblyReader as Xt, replayWarn as Y, expectedOwnerParam as Yt, requireConfigString as Z, processStackMessages as Zt, createPreDeleteFinalSnapshot as _, ResourceTimeoutError as _n, AssetModeResolver as _t, DeploymentEventsStore as a, CdkdError as an, TemplateParser as at, unsupportedFinalSnapshotError as b, StackTerminationProtectionError as bn, getBootstrapMarkerKey as bt, replayFailedOperations as c, DeployCancelledError as cn, rebuildClientForBucketRegion as ct, IMPLICIT_DELETE_DEPENDENCIES as d, LocalStartServiceError as dn, stringifyValue as dt, AwsClients as en, describeTypeWithThrottleRetry as et, computeImplicitDeleteEdges as f, LockError as fn, WorkGraph as ft, ccRoutedFinalSnapshotError as g, ProvisioningError as gn, rewriteTemplateAssetReferences as gt, buildFinalSnapshotIdentifier as h, PartialFailureError as hn, loadPublishableAssetManifest as ht, DeploymentEventsReader as i, AssetError as in, DagBuilder as it, yellow as j, Synthesizer as jt, green as k, AssetManifestLoader as kt, replayRollback as l, LocalInvokeBuildError as ln, shouldRetainResource as lt, PRE_DELETE_SNAPSHOT_TYPES as m, NestedStackChildDirectDestroyError as mn, createAssetRedirectResolver as mt, DEFAULT_RESOURCE_WARN_AFTER_MS as n, resetAwsClients as nn, isRetryableTransientError as nt, planFailedOps as o, ConfigError as on, LockManager as ot, ATOMIC_FINAL_SNAPSHOT_TYPES as p, MissingCdkCliError as pn, buildAssetRedirectMap as pt, assertRegionMatch as q, findLargeInlineResources as qt, DeployEngine as r, setAwsClients as rn, isThrottlingError as rt, planRollback as s, DependencyError as sn, S3StateBackend as st, DEFAULT_RESOURCE_TIMEOUT_MS as t, getAwsClients as tn, withRetry as tt, withResourceDeadline as u, LocalMigrateError as un, AssetPublisher as ut, isFinalSnapshotError as v, ResourceUpdateNotSupportedError as vn, BOOTSTRAP_MARKER_PREFIX as vt, renderStatefulReason as w, isCdkdError as wn, buildDockerImage as wt, extractDeploymentEventError as x, StateError as xn, parseBootstrapMarker as xt, refusesFinalSnapshot as y, StackHasActiveImportsError as yn, ensureAssetStorage as yt, disableInstanceApiTermination as z, resolveStateBucketWithDefault as zt };
21362
- //# sourceMappingURL=deploy-engine-DK0y5OP8.js.map
21351
+ //# sourceMappingURL=deploy-engine-CttwgBIB.js.map