@cdkd/cli 0.345.0 → 0.347.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.
Files changed (39) hide show
  1. package/dist/{ambient-client-defaults-w6GrD1cQ.js → ambient-client-defaults-BV_xDm4m.js} +11 -4
  2. package/dist/ambient-client-defaults-BV_xDm4m.js.map +1 -0
  3. package/dist/{asg-provider-CwaTAotW.js → asg-provider-fpr4ZEfp.js} +5 -5
  4. package/dist/{asg-provider-CwaTAotW.js.map → asg-provider-fpr4ZEfp.js.map} +1 -1
  5. package/dist/{aws-client-defaults-DP5k4Mfi.js → aws-client-defaults-DAebi99J.js} +13 -5
  6. package/dist/{aws-client-defaults-DP5k4Mfi.js.map → aws-client-defaults-DAebi99J.js.map} +1 -1
  7. package/dist/{aws-clients-CUCH-WCd.js → aws-clients-DOkPjjAW.js} +2 -2
  8. package/dist/{aws-clients-CUCH-WCd.js.map → aws-clients-DOkPjjAW.js.map} +1 -1
  9. package/dist/cli.js +2 -2
  10. package/dist/{db-instance-modify-retry-B8xFklWu.js → db-instance-modify-retry-BbBT68Qa.js} +3 -3
  11. package/dist/{db-instance-modify-retry-B8xFklWu.js.map → db-instance-modify-retry-BbBT68Qa.js.map} +1 -1
  12. package/dist/{deploy-engine-DtUOqlzH.js → deploy-engine-DMWjQ_C2.js} +316 -63
  13. package/dist/deploy-engine-DMWjQ_C2.js.map +1 -0
  14. package/dist/{ecr-uri-J5nIkfit.js → ecr-uri-C2FWGsrX.js} +3 -3
  15. package/dist/{ecr-uri-J5nIkfit.js.map → ecr-uri-C2FWGsrX.js.map} +1 -1
  16. package/dist/{iam-role-provider-B0hZvgwj.js → iam-role-provider-70-NzlFV.js} +5 -5
  17. package/dist/{iam-role-provider-B0hZvgwj.js.map → iam-role-provider-70-NzlFV.js.map} +1 -1
  18. package/dist/index.d.ts +8 -1
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +4 -4
  21. package/dist/{neptune-provider-CyePVMKo.js → neptune-provider-CX4BHKjZ.js} +6 -6
  22. package/dist/{neptune-provider-CyePVMKo.js.map → neptune-provider-CX4BHKjZ.js.map} +1 -1
  23. package/dist/{program-CZXbWLai.js → program-BU5T28eB.js} +782 -399
  24. package/dist/program-BU5T28eB.js.map +1 -0
  25. package/dist/{provider-classes-BBiXFmPi.js → provider-classes-cw32hLq9.js} +101 -33
  26. package/dist/{provider-classes-BBiXFmPi.js.map → provider-classes-cw32hLq9.js.map} +1 -1
  27. package/dist/{rds-provider-DpJ8f3oK.js → rds-provider-CxSVX1d7.js} +485 -51
  28. package/dist/rds-provider-CxSVX1d7.js.map +1 -0
  29. package/dist/{read-replica-BxCCOKlu.js → read-replica-DtD9IDko.js} +5 -5
  30. package/dist/{read-replica-BxCCOKlu.js.map → read-replica-DtD9IDko.js.map} +1 -1
  31. package/dist/{update-removal-BjJh8h9m.js → update-removal-CpGaCv-d.js} +3 -3
  32. package/dist/{update-removal-BjJh8h9m.js.map → update-removal-CpGaCv-d.js.map} +1 -1
  33. package/dist/{version-BLMZsdJP.js → version-Bx-Ox9xU.js} +2 -2
  34. package/dist/{version-BLMZsdJP.js.map → version-Bx-Ox9xU.js.map} +1 -1
  35. package/package.json +3 -3
  36. package/dist/ambient-client-defaults-w6GrD1cQ.js.map +0 -1
  37. package/dist/deploy-engine-DtUOqlzH.js.map +0 -1
  38. package/dist/program-CZXbWLai.js.map +0 -1
  39. package/dist/rds-provider-DpJ8f3oK.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-CNh9ExCG.js";
2
2
  import { $ as STACK_REF_MAX_CODE_POINTS, A as requireConfigObject, B as stackInstanceNameSuffix, C as coerceCfnInteger, D as readConfigString, E as configStringRefusal, H as getCurrentSkipPrefix, J as withSkipPrefix, K as isNameGeneration, L as generateResourceNameWithFallback, O as replayWarn, Q as SECRET_REF_MAX_CODE_POINTS, R as looksLikeCdkdGeneratedName, S as coerceCfnBoolean, T as configIntegerRefusal, U as getCurrentStackInstanceId, V as currentNameGeneration, W as getCurrentStackName, X as withStackScopeBeforeStateRead, Y as withStackScope, Z as SAFE_MSG_ALTERED_CHAR, _ as applyDefaultNameForFallback, a as safeStringify$1, at as displaySafe, b as generatedNameFor, c as isStdoutReservedForPayload, et as UNRENDERABLE, ft as terminalSafe, g as alternateNamePropertiesFor, h as getLiveRenderer, it as displayIdent, j as requireConfigString, lt as plainIdentOr, m as installLogLineMaskerSource, n as describeAwsFailure, ot as displayStackName, p as currentLogLineMasker, pt as truncateCodePoints, q as withNameGeneration, rt as displayAwsMessage, s as getLogger, st as isPasteableIdent, t as VERBOSE_POINTER, tt as asIsMessage, ut as safeMsg, v as explicitNamePropertyFor, w as configBooleanRefusal, x as withoutGeneratedFallbackName, y as fallbackNamePropertyFor } from "./aws-failure-text-jomzO3aT.js";
3
- import { $ as CdkdError, A as stripControlChars, B as retryClassificationText, C as isNameCooldownError, D as markReplayMayCollide, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, N as formatRetryClassificationSignals, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AssetError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, St as withheldTargetClause, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as AccountIdUnavailableError, _ as ResourceUpdateNotSupportedError, _t as physicalIdShownBesideCommand, a as normalizeAwsError, at as ResourceTimeoutError, b as isUpdateUnsupportedError, bt as shellBoundedDisplay, ct as isSoftAbort, d as MacroExpansionError, dt as SHELL_ACTIVE_WHY, ft as UNSHOWABLE_VALUE, gt as pasteableCommand, ht as isInertUnquoted, i as credentialFingerprint, it as ProvisioningError, k as escapeRegExp$3, m as ExportInUseError, n as ambientCredentialConfig, ot as StateError, p as DependencyError, pt as commandHole, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, rt as LockError, st as SynthesisError, t as ambientClientDefaults, tt as DeploymentNotApprovedError, ut as SHELL_ACTIVE, vt as plainOrDescribed, w as isRecreateRetryableError, x as hasReplayMayCollide, xt as shellQuote, yt as quotedOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-w6GrD1cQ.js";
4
- import { a as getAssumedRoleCredentials, d as ambientRegion, l as setPreAssumeEnvCredentials, n as awsClientDefaults, o as getPreAssumeEnvCredentials, r as awsEndpointOverrideActive, s as setAssumedRoleCredentials, t as SECOND_ROLE_PUBLISH_REFUSAL, u as quietS3Logger } from "./aws-client-defaults-DP5k4Mfi.js";
5
- import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-CUCH-WCd.js";
6
- import { At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Ct as canonicalizeRoute53QueryName, Dt as logicalIdShown, F as isQuotableImportValue, Ft as maskDeep, G as compensateProtectionFlip, Gt as isAuxiliaryMarkOf, H as assertRegionMatch, Ht as createdResourceIdentityBeforeFailure, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, Mt as createMaskedLogSinks, Nt as createMaskedRetryLogger, Pt as isSecretDerivedValue, R as refusalTypeShown, Rt as RETRY_AUXILIARY_OWNER, St as startInterruptWatch, Tt as compositeIdSeparatorRefusal, U as isMarkedNotGone, Ut as hasCreatedBeforeFailure, V as RESOURCE_NOT_FOUND, Vt as createdBeforeFailure, W as markNotGone, Wt as isAuxiliaryFailure, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as replayMadeAnotherResource, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, at as isTerminalDeleteFailure, c as clearCreatedReport, ct as ElapsedBudget, dt as DELETION_PROTECTION_DOC_POINTER, en as formatLockExpiry, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, ht as pasteableAwsCommand, in as sanitizeRecoveryValue, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, kt as resourceTypeShown, l as collectCreatedResources, lt as ElapsedBudgetRegistry, n as prepareRemovalForUpdate, nn as formatLockOwner, o as withoutInjectedRemovals, on as DEFAULT_STATE_PREFIX, ot as protectionFlipKey, pn as withPasteableAwsProfile, qt as markCreatedBeforeFailure, r as removalWarning, rn as recoveryCommandFlags, s as CreatedResourceSink, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, u as reportCreatedResource, un as producerRecordKey, ut as monotonicNowMs, x as withUnchangedSecretPrincipalLists, xt as isInterruptedWaitError, zt as carryCreatedBeforeFailure } from "./update-removal-BjJh8h9m.js";
7
- import { t as getCdkdVersion } from "./version-BLMZsdJP.js";
3
+ import { $ as AssetError, A as stripControlChars, B as retryClassificationText, C as isNameCooldownError, Ct as withheldTargetClause, D as markReplayMayCollide, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, N as formatRetryClassificationSignals, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, St as shellQuote, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, _t as pasteableCommand, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, bt as quotedOrDescribed, ct as SynthesisError, d as MacroExpansionError, dt as SHELL_ACTIVE, et as CdkdError, ft as SHELL_ACTIVE_WHY, gt as isInertUnquoted, i as credentialFingerprint, it as LockError, k as escapeRegExp$3, lt as isSoftAbort, m as ExportInUseError, mt as commandHole, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, p as DependencyError, pt as UNSHOWABLE_VALUE, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, vt as physicalIdShownBesideCommand, w as isRecreateRetryableError, x as hasReplayMayCollide, xt as shellBoundedDisplay, yt as plainOrDescribed, z as isTransientServerError } from "./ambient-client-defaults-BV_xDm4m.js";
4
+ import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, d as quietS3Logger, f as ambientRegion, i as awsEndpointOverrideUrl, n as awsClientDefaults, o as getPreAssumeEnvCredentials, r as awsEndpointOverrideActive, t as SECOND_ROLE_PUBLISH_REFUSAL, u as setPreAssumeEnvCredentials } from "./aws-client-defaults-DAebi99J.js";
5
+ import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
6
+ import { At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Ct as canonicalizeRoute53QueryName, Dt as logicalIdShown, F as isQuotableImportValue, Ft as maskDeep, G as compensateProtectionFlip, Gt as isAuxiliaryMarkOf, H as assertRegionMatch, Ht as createdResourceIdentityBeforeFailure, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, Mt as createMaskedLogSinks, Nt as createMaskedRetryLogger, Pt as isSecretDerivedValue, R as refusalTypeShown, Rt as RETRY_AUXILIARY_OWNER, St as startInterruptWatch, Tt as compositeIdSeparatorRefusal, U as isMarkedNotGone, Ut as hasCreatedBeforeFailure, V as RESOURCE_NOT_FOUND, Vt as createdBeforeFailure, W as markNotGone, Wt as isAuxiliaryFailure, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Yt as replayMadeAnotherResource, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, at as isTerminalDeleteFailure, c as clearCreatedReport, ct as ElapsedBudget, dt as DELETION_PROTECTION_DOC_POINTER, en as formatLockExpiry, f as retractCreatedResource, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, ht as pasteableAwsCommand, in as sanitizeRecoveryValue, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, kt as resourceTypeShown, l as collectCreatedResources, lt as ElapsedBudgetRegistry, n as prepareRemovalForUpdate, nn as formatLockOwner, o as withoutInjectedRemovals, on as DEFAULT_STATE_PREFIX, ot as protectionFlipKey, pn as withPasteableAwsProfile, qt as markCreatedBeforeFailure, r as removalWarning, rn as recoveryCommandFlags, s as CreatedResourceSink, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, u as reportCreatedResource, un as producerRecordKey, ut as monotonicNowMs, x as withUnchangedSecretPrincipalLists, xt as isInterruptedWaitError, zt as carryCreatedBeforeFailure } from "./update-removal-CpGaCv-d.js";
7
+ import { t as getCdkdVersion } from "./version-Bx-Ox9xU.js";
8
8
  import { createHash, randomUUID } from "node:crypto";
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
10
10
  import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -55,7 +55,8 @@ async function readClientRegion(client) {
55
55
  }
56
56
  }
57
57
  async function resolveBucketRegion(bucketName, opts = {}) {
58
- const cached = cache.get(bucketName);
58
+ const key = JSON.stringify([awsEndpointOverrideUrl() ?? "", bucketName]);
59
+ const cached = cache.get(key);
59
60
  if (cached) return cached;
60
61
  let probeFailed = false;
61
62
  const promise = (async () => {
@@ -94,9 +95,9 @@ async function resolveBucketRegion(bucketName, opts = {}) {
94
95
  client.destroy();
95
96
  }
96
97
  })();
97
- cache.set(bucketName, promise);
98
+ cache.set(key, promise);
98
99
  const region = await promise;
99
- if (probeFailed && cache.get(bucketName) === promise) cache.delete(bucketName);
100
+ if (probeFailed && cache.get(key) === promise) cache.delete(key);
100
101
  return region;
101
102
  }
102
103
  function clearBucketRegionCache() {
@@ -135,6 +136,15 @@ function injectedAwsRegionOverride() {
135
136
  return { AWS_REGION: injected.original };
136
137
  }
137
138
 
139
+ // src/utils/child-process-aws-env.ts
140
+ let transform;
141
+ function setChildProcessAwsEnv(fn) {
142
+ transform = fn;
143
+ }
144
+ function childProcessAwsEnv(env) {
145
+ return transform ? transform({ ...env }) : env;
146
+ }
147
+
138
148
  // src/synthesis/app-executor.ts
139
149
  const CDK_ASM_VERSION = "38.0.0";
140
150
  const CONTEXT_OVERFLOW_LIMIT = 32768;
@@ -150,7 +160,7 @@ var AppExecutor = class {
150
160
  this.logger.debug("Executing CDK app:", app);
151
161
  this.logger.debug("Output directory:", outputDir);
152
162
  const env = {
153
- ...withoutInjectedAwsRegion({ ...process.env }),
163
+ ...childProcessAwsEnv(withoutInjectedAwsRegion({ ...process.env })),
154
164
  CDK_OUTDIR: outputDir
155
165
  };
156
166
  if (region) env["CDK_DEFAULT_REGION"] = region;
@@ -2368,7 +2378,7 @@ async function resolveStateBucketWithDefaultAndSource(cliBucket, region, legacyF
2368
2378
  logger.debug("No state bucket specified, resolving default from account...");
2369
2379
  const { GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
2370
2380
  const { S3Client, HeadBucketCommand, ListObjectsV2Command } = await import("@aws-sdk/client-s3");
2371
- const { getAwsClients } = await import("./aws-clients-CUCH-WCd.js").then((n) => n.n);
2381
+ const { getAwsClients } = await import("./aws-clients-DOkPjjAW.js").then((n) => n.n);
2372
2382
  const { expectedOwnerParam, recordResolvedAccountId } = await Promise.resolve().then(() => expected_bucket_owner_exports);
2373
2383
  const probeDeps = {
2374
2384
  HeadBucketCommand,
@@ -4920,18 +4930,23 @@ var AssetPublisher = class {
4920
4930
 
4921
4931
  // src/state/stack-instance-id.ts
4922
4932
  const STACK_INSTANCE_SIBLING_VERSION = 1;
4933
+ const STACK_INSTANCE_SIBLING_VERSION_STACK_ID = 2;
4923
4934
  const STACK_INSTANCE_SIBLING_FILE = "stack-instance.json";
4924
4935
  const STACK_INSTANCE_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/;
4925
4936
  function isStackInstanceId(value) {
4926
4937
  return typeof value === "string" && STACK_INSTANCE_ID_PATTERN.test(value);
4927
4938
  }
4928
- function stackInstanceSiblingBody(id) {
4929
- return JSON.stringify({
4939
+ function stackInstanceSiblingBody(id, stackIdFromInstance = false) {
4940
+ return JSON.stringify(stackIdFromInstance ? {
4941
+ stackInstanceVersion: 2,
4942
+ stackInstanceId: id,
4943
+ stackIdFromInstance: true
4944
+ } : {
4930
4945
  stackInstanceVersion: 1,
4931
4946
  stackInstanceId: id
4932
4947
  }, null, 2);
4933
4948
  }
4934
- function parseStackInstanceSibling(body) {
4949
+ function parseStackInstanceSiblingIdentity(body) {
4935
4950
  let raw;
4936
4951
  try {
4937
4952
  raw = JSON.parse(body);
@@ -4940,8 +4955,16 @@ function parseStackInstanceSibling(body) {
4940
4955
  }
4941
4956
  if (typeof raw !== "object" || raw === null) return null;
4942
4957
  const doc = raw;
4943
- if (doc["stackInstanceVersion"] !== 1) return null;
4944
- return isStackInstanceId(doc["stackInstanceId"]) ? doc["stackInstanceId"] : null;
4958
+ const version = doc["stackInstanceVersion"];
4959
+ let stackIdFromInstance;
4960
+ if (version === 1) stackIdFromInstance = false;
4961
+ else if (version === 2 && doc["stackIdFromInstance"] === true) stackIdFromInstance = true;
4962
+ else return null;
4963
+ const id = doc["stackInstanceId"];
4964
+ return isStackInstanceId(id) ? {
4965
+ stackInstanceId: id,
4966
+ stackIdFromInstance
4967
+ } : null;
4945
4968
  }
4946
4969
  var MalformedStackInstanceIdError = class extends Error {
4947
4970
  constructor(stackLabel) {
@@ -5662,6 +5685,7 @@ function exportNamesCarriedFrom(previous) {
5662
5685
  function stackInstanceIdCarriedFrom(previous) {
5663
5686
  return {
5664
5687
  ...previous?.stackInstanceId !== void 0 && { stackInstanceId: previous.stackInstanceId },
5688
+ ...previous?.stackIdFromInstance !== void 0 && { stackIdFromInstance: previous.stackIdFromInstance },
5665
5689
  ...previous?.retiredNameGenerations !== void 0 && { retiredNameGenerations: previous.retiredNameGenerations },
5666
5690
  ...previous?.supersededResources !== void 0 && { supersededResources: previous.supersededResources },
5667
5691
  ...previous?.pendingMovesOut !== void 0 && { pendingMovesOut: previous.pendingMovesOut },
@@ -5698,7 +5722,8 @@ const STATE_SCHEMA_VERSIONS_READABLE = [
5698
5722
  12,
5699
5723
  13,
5700
5724
  14,
5701
- 15
5725
+ 15,
5726
+ 16
5702
5727
  ];
5703
5728
 
5704
5729
  // src/state/create-token-ledger.ts
@@ -5923,7 +5948,7 @@ async function saveState(stackName, region, state, options = {}) {
5923
5948
  const body = {
5924
5949
  ...state,
5925
5950
  ...stackInstanceIdCarriedFrom(state),
5926
- version: 15,
5951
+ version: 16,
5927
5952
  stackName,
5928
5953
  region
5929
5954
  };
@@ -6545,20 +6570,20 @@ async function deleteCreateTokenLedger(stackName, region) {
6545
6570
  }
6546
6571
  async function stackInstanceIdForFirstWrite(stackName, region, options) {
6547
6572
  const key = this.getStackInstanceKey(stackName, region);
6548
- const read = async () => this.readSiblingId(key, stackName, region);
6573
+ const read = async () => (await this.readSiblingIdentity(key, stackName, region))?.stackInstanceId ?? null;
6549
6574
  const prefetched = this.siblingPrefetches.get(key);
6550
6575
  this.siblingPrefetches.delete(key);
6551
6576
  try {
6552
- const existing = await (prefetched ?? read());
6577
+ const existing = await (prefetched?.then((identity) => identity?.stackInstanceId ?? null) ?? read());
6553
6578
  if (existing !== null) {
6554
6579
  this.pendingStackInstanceSiblings.set(key, existing);
6555
6580
  this.logger.debug(safeMsg`Reusing the write-ahead stack instance id of ${displayStackName(stackName)}`);
6556
6581
  return existing;
6557
6582
  }
6558
- const minted = randomUUID();
6583
+ const minted = options.candidate?.stackInstanceId ?? randomUUID();
6559
6584
  if (!options.writeAhead) return minted;
6560
6585
  await this.ensureClientForBucket();
6561
- const body = stackInstanceSiblingBody(minted);
6586
+ const body = stackInstanceSiblingBody(minted, options.candidate?.stackIdFromInstance === true);
6562
6587
  const put = async () => this.s3Client.send(new PutObjectCommand({
6563
6588
  Bucket: this.config.bucket,
6564
6589
  ...await this.ownerParam(),
@@ -6604,14 +6629,27 @@ function stackInstanceSiblingError(stackName, region, error, access) {
6604
6629
  function prefetchStackInstanceSibling(stackName, region) {
6605
6630
  const key = this.getStackInstanceKey(stackName, region);
6606
6631
  if (this.siblingPrefetches.has(key)) return;
6607
- const read = this.readSiblingId(key, stackName, region);
6632
+ const read = this.readSiblingIdentity(key, stackName, region);
6608
6633
  read.catch(() => void 0);
6609
6634
  this.siblingPrefetches.set(key, read);
6610
6635
  }
6636
+ async function peekStackInstanceSibling(stackName, region) {
6637
+ this.prefetchStackInstanceSibling(stackName, region);
6638
+ const read = this.siblingPrefetches.get(this.getStackInstanceKey(stackName, region));
6639
+ try {
6640
+ return await read ?? null;
6641
+ } catch (error) {
6642
+ if (error instanceof StateError) throw error;
6643
+ throw this.stackInstanceSiblingError(stackName, region, error, "read");
6644
+ }
6645
+ }
6611
6646
  async function readSiblingId(key, stackName, region) {
6647
+ return (await this.readSiblingIdentity(key, stackName, region))?.stackInstanceId ?? null;
6648
+ }
6649
+ async function readSiblingIdentity(key, stackName, region) {
6612
6650
  const body = await this.getRawObject(key);
6613
6651
  if (body === null) return null;
6614
- const id = parseStackInstanceSibling(body);
6652
+ const id = parseStackInstanceSiblingIdentity(body);
6615
6653
  if (id === null) throw new StateError(`The write-ahead stack instance id of stack ${this.stackRef(stackName, region)} (${STACK_INSTANCE_SIBLING_FILE} beside its state.json) is in a format this cdkd version cannot read; upgrade cdkd, or delete that object if it is damaged`);
6616
6654
  return id;
6617
6655
  }
@@ -7404,9 +7442,15 @@ var S3StateBackend = class S3StateBackend {
7404
7442
  prefetchStackInstanceSibling(stackName, region) {
7405
7443
  return prefetchStackInstanceSibling.call(this, stackName, region);
7406
7444
  }
7445
+ peekStackInstanceSibling(stackName, region) {
7446
+ return peekStackInstanceSibling.call(this, stackName, region);
7447
+ }
7407
7448
  readSiblingId(key, stackName, region) {
7408
7449
  return readSiblingId.call(this, key, stackName, region);
7409
7450
  }
7451
+ readSiblingIdentity(key, stackName, region) {
7452
+ return readSiblingIdentity.call(this, key, stackName, region);
7453
+ }
7410
7454
  readStackInstanceSibling(stackName, region) {
7411
7455
  return readStackInstanceSibling.call(this, stackName, region);
7412
7456
  }
@@ -14079,6 +14123,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
14079
14123
  "IsMultiRegionTrail",
14080
14124
  "IsOrganizationTrail",
14081
14125
  "KMSKeyId",
14126
+ "RecursiveLogging",
14082
14127
  "S3BucketName",
14083
14128
  "S3KeyPrefix",
14084
14129
  "SnsTopicName",
@@ -15750,6 +15795,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15750
15795
  "DBSubnetGroupName",
15751
15796
  "DeletionProtection",
15752
15797
  "EnableCloudwatchLogsExports",
15798
+ "EnableGlobalWriteForwarding",
15753
15799
  "EnableHttpEndpoint",
15754
15800
  "EnableIAMDatabaseAuthentication",
15755
15801
  "EnableLocalWriteForwarding",
@@ -15775,12 +15821,14 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15775
15821
  "PreferredBackupWindow",
15776
15822
  "PreferredMaintenanceWindow",
15777
15823
  "PubliclyAccessible",
15824
+ "ReplicationSourceIdentifier",
15778
15825
  "RestoreToTime",
15779
15826
  "RestoreType",
15780
15827
  "ServerlessV2ScalingConfiguration",
15781
15828
  "SnapshotIdentifier",
15782
15829
  "SourceDBClusterIdentifier",
15783
15830
  "SourceDbClusterResourceId",
15831
+ "SourceRegion",
15784
15832
  "StorageEncrypted",
15785
15833
  "StorageType",
15786
15834
  "Tags",
@@ -15793,12 +15841,9 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15793
15841
  ["DeleteAutomatedBackups", "delete-time flag, sent on the delete when the record carries it; kept unhandled so a template declaring it keeps its Cloud Control route. Final snapshots are governed by DeletionPolicy: Snapshot, which this flag does not control"],
15794
15842
  ["Domain", "not yet implemented by cdkd"],
15795
15843
  ["DomainIAMRoleName", "not yet implemented by cdkd"],
15796
- ["EnableGlobalWriteForwarding", "not yet implemented by cdkd"],
15797
- ["ReplicationSourceIdentifier", "not yet implemented by cdkd"],
15798
- ["ScalingConfiguration", "Aurora Serverless v1 only (EngineMode serverless), retired by AWS: no aurora-mysql or aurora-postgresql engine version supports the serverless engine mode (DescribeDBEngineVersions, us-east-1, 2026-11-06). Aurora Serverless v2 uses ServerlessV2ScalingConfiguration"],
15799
- ["SourceRegion", "not yet implemented by cdkd"]
15844
+ ["ScalingConfiguration", "Aurora Serverless v1 only (EngineMode serverless), retired by AWS: no aurora-mysql or aurora-postgresql engine version supports the serverless engine mode (DescribeDBEngineVersions, us-east-1, 2026-11-06). Aurora Serverless v2 uses ServerlessV2ScalingConfiguration"]
15800
15845
  ]),
15801
- createOnlyDrops: /* @__PURE__ */ new Set(["DBSystemId", "SourceRegion"]),
15846
+ createOnlyDrops: /* @__PURE__ */ new Set(["DBSystemId"]),
15802
15847
  readOnly: /* @__PURE__ */ new Set([
15803
15848
  "DBClusterArn",
15804
15849
  "DBClusterResourceId",
@@ -15827,10 +15872,12 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15827
15872
  "CopyTagsToSnapshot",
15828
15873
  "DatabaseInsightsMode",
15829
15874
  "DBClusterIdentifier",
15875
+ "DBClusterSnapshotIdentifier",
15830
15876
  "DBInstanceClass",
15831
15877
  "DBInstanceIdentifier",
15832
15878
  "DBName",
15833
15879
  "DBParameterGroupName",
15880
+ "DBSnapshotIdentifier",
15834
15881
  "DBSubnetGroupName",
15835
15882
  "DedicatedLogVolume",
15836
15883
  "DeletionProtection",
@@ -15863,7 +15910,10 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15863
15910
  "ProcessorFeatures",
15864
15911
  "PromotionTier",
15865
15912
  "PubliclyAccessible",
15913
+ "RestoreTime",
15914
+ "SourceDBInstanceAutomatedBackupsArn",
15866
15915
  "SourceDBInstanceIdentifier",
15916
+ "SourceDbiResourceId",
15867
15917
  "SourceRegion",
15868
15918
  "StorageEncrypted",
15869
15919
  "StorageThroughput",
@@ -15871,15 +15921,14 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15871
15921
  "Tags",
15872
15922
  "Timezone",
15873
15923
  "UseDefaultProcessorFeatures",
15924
+ "UseLatestRestorableTime",
15874
15925
  "VPCSecurityGroups"
15875
15926
  ]),
15876
15927
  sdkUnwired: /* @__PURE__ */ new Map([
15877
15928
  ["ApplyImmediately", "cdkd always applies modifications immediately (rds:ModifyDBInstance.ApplyImmediately=true is hardcoded); users wanting maintenance-window deferral should run aws rds modify-db-instance directly"],
15878
15929
  ["BackupTarget", "not yet implemented by cdkd"],
15879
15930
  ["CustomIAMInstanceProfile", "not yet implemented by cdkd"],
15880
- ["DBClusterSnapshotIdentifier", "not yet implemented by cdkd"],
15881
15931
  ["DBSecurityGroups", "EC2-Classic-only feature retired by AWS (2022-08-15); new accounts cannot use this — use VPCSecurityGroups instead"],
15882
- ["DBSnapshotIdentifier", "not yet implemented by cdkd"],
15883
15932
  ["DBSystemId", "not yet implemented by cdkd"],
15884
15933
  ["DeleteAutomatedBackups", "delete-time flag, sent on the delete when the record carries it; kept unhandled so a template declaring it keeps its Cloud Control route. Final snapshots are governed by DeletionPolicy: Snapshot, which this flag does not control"],
15885
15934
  ["Domain", "not yet implemented by cdkd"],
@@ -15889,13 +15938,9 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
15889
15938
  ["DomainIAMRoleName", "not yet implemented by cdkd"],
15890
15939
  ["DomainOu", "not yet implemented by cdkd"],
15891
15940
  ["ReplicaMode", "not yet implemented by cdkd"],
15892
- ["RestoreTime", "not yet implemented by cdkd"],
15893
15941
  ["SourceDBClusterIdentifier", "not yet implemented by cdkd"],
15894
- ["SourceDBInstanceAutomatedBackupsArn", "not yet implemented by cdkd"],
15895
- ["SourceDbiResourceId", "not yet implemented by cdkd"],
15896
15942
  ["TdeCredentialArn", "not yet implemented by cdkd"],
15897
- ["TdeCredentialPassword", "not yet implemented by cdkd"],
15898
- ["UseLatestRestorableTime", "not yet implemented by cdkd"]
15943
+ ["TdeCredentialPassword", "not yet implemented by cdkd"]
15899
15944
  ]),
15900
15945
  createOnlyDrops: /* @__PURE__ */ new Set([
15901
15946
  "BackupTarget",
@@ -16129,6 +16174,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
16129
16174
  ["AWS::S3Tables::TableBucket", {
16130
16175
  handled: /* @__PURE__ */ new Set([
16131
16176
  "EncryptionConfiguration",
16177
+ "LoggingConfiguration",
16132
16178
  "MetricsConfiguration",
16133
16179
  "ReplicationConfiguration",
16134
16180
  "StorageClassConfiguration",
@@ -17393,15 +17439,20 @@ function findActionableSdkUnwired(resourceType, templateProperties, allowedKeys,
17393
17439
  }
17394
17440
  const AWS_CN_CROSS_REGION_REPLICA_RATIONALE = "an aws-cn cross-region read replica: RDS in China honours its PreSignedUrl, which the AWS SDK for JavaScript signs for the commercial amazonaws.com host rather than the amazonaws.com.cn one CloudFormation's handler signs for";
17395
17441
  function findValueRoutedProperties(resourceType, templateProperties) {
17396
- if (resourceType !== "AWS::RDS::DBInstance") return [];
17397
- const source = templateProperties?.["SourceDBInstanceIdentifier"];
17442
+ const property = CROSS_REGION_REPLICA_SOURCE_KEYS[resourceType];
17443
+ if (property === void 0) return [];
17444
+ const source = templateProperties?.[property];
17398
17445
  if (typeof source !== "string" || !source.startsWith("arn:aws-cn:")) return [];
17399
17446
  if (sameRegion(ambientRegion(), source.split(":")[3])) return [];
17400
17447
  return [{
17401
- property: "SourceDBInstanceIdentifier",
17448
+ property,
17402
17449
  rationale: AWS_CN_CROSS_REGION_REPLICA_RATIONALE
17403
17450
  }];
17404
17451
  }
17452
+ const CROSS_REGION_REPLICA_SOURCE_KEYS = {
17453
+ "AWS::RDS::DBInstance": "SourceDBInstanceIdentifier",
17454
+ "AWS::RDS::DBCluster": "ReplicationSourceIdentifier"
17455
+ };
17405
17456
  function findRoutableUnrecognizedProperties(resourceType, templateProperties, allowedKeys, recordedProperties, options) {
17406
17457
  const coverage = getPropertyCoverage(resourceType);
17407
17458
  if (!templateProperties || !coverage) return [];
@@ -17476,12 +17527,14 @@ function evidenceNamedUnwritten(resourceType, recordedProperties, desiredPropert
17476
17527
  function askedUnchanged(recordedProperties, desiredProperties, property) {
17477
17528
  return sameJsonValue(recordedProperties[property], desiredProperties[property], "unchanged");
17478
17529
  }
17530
+ const HANDLED_NEVER_SENT_CREATE_ONLY = /* @__PURE__ */ new Map([["AWS::RDS::DBInstance", /* @__PURE__ */ new Set(["SourceRegion"])], ["AWS::RDS::DBCluster", /* @__PURE__ */ new Set(["SourceRegion"])]]);
17479
17531
  function findHandledUnwrittenCreateOnly(resourceType, recordedProperties, evidence) {
17480
17532
  if (evidence.size === 0) return [];
17481
17533
  const handled = getPropertyCoverage(resourceType)?.handled;
17482
17534
  if (handled === void 0) return [];
17535
+ const neverSent = HANDLED_NEVER_SENT_CREATE_ONLY.get(resourceType);
17483
17536
  const createOnlyRoots = new Set((CREATE_ONLY_PATHS_SNAPSHOT.get(resourceType) ?? []).filter((path) => path.length === 1).map((path) => path[0]));
17484
- return [...evidence].filter((property) => handled.has(property) && createOnlyRoots.has(property) && Object.hasOwn(recordedProperties, property)).sort((a, b) => a.localeCompare(b));
17537
+ return [...evidence].filter((property) => handled.has(property) && neverSent?.has(property) !== true && createOnlyRoots.has(property) && Object.hasOwn(recordedProperties, property)).sort((a, b) => a.localeCompare(b));
17485
17538
  }
17486
17539
  function acceptedCreateOnlyDropsEvidence(recordedProperties, resourceType, provisionedBy, carried) {
17487
17540
  if (provisionedBy !== "sdk") return void 0;
@@ -25595,6 +25648,24 @@ async function resolveGetAZs(resolver, value, context) {
25595
25648
  return azNames;
25596
25649
  }
25597
25650
 
25651
+ // src/state/stack-id-tail.ts
25652
+ const LEGACY_STACK_ID_TAIL = "cdkd";
25653
+ function stackIdTailFromInstanceId(stackInstanceId) {
25654
+ const bytes = createHash("sha256").update("AWS::StackId").update("\0").update(stackInstanceId).digest().subarray(0, 16);
25655
+ bytes[6] = bytes[6] & 15 | 64;
25656
+ bytes[8] = bytes[8] & 63 | 128;
25657
+ const hex = bytes.toString("hex");
25658
+ return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
25659
+ }
25660
+ function stackIdTailOf(state, stackLabel) {
25661
+ const marker = state?.stackIdFromInstance;
25662
+ if (marker === void 0) return void 0;
25663
+ if (marker !== true) throw new Error(`The state record of ${stackLabel} holds a stackIdFromInstance that is not true. cdkd does not guess whether its AWS::StackId derives from its stackInstanceId, since resources may be named from it; restore the field from an earlier version of state.json.`);
25664
+ const id = stackInstanceIdOf(state, stackLabel);
25665
+ if (id === void 0) throw new Error(`The state record of ${stackLabel} marks its AWS::StackId as derived from its stackInstanceId, but holds no stackInstanceId. cdkd does not fall back to the legacy value, since resources may be named from it; restore the field from an earlier version of state.json.`);
25666
+ return stackIdTailFromInstanceId(id);
25667
+ }
25668
+
25598
25669
  // src/deployment/intrinsic-resolver/functions/pseudo-parameter.ts
25599
25670
  async function resolvePseudoParameter(resolver, name, context) {
25600
25671
  switch (name) {
@@ -25604,7 +25675,13 @@ async function resolvePseudoParameter(resolver, name, context) {
25604
25675
  case "AWS::StackName": return context?.stackName ?? "UnknownStack";
25605
25676
  case "AWS::StackId": {
25606
25677
  const info = await getAccountInfo(resolver.resolverRegion);
25607
- return `arn:${info.partition}:cloudformation:${canonicalizeRegion(info.region)}:${info.accountId}:stack/${context?.stackName ?? "UnknownStack"}/cdkd`;
25678
+ let tail;
25679
+ try {
25680
+ tail = context?.stackIdTail?.() ?? "cdkd";
25681
+ } catch (error) {
25682
+ throw error instanceof Error ? markNonRetryable(error) : error;
25683
+ }
25684
+ return `arn:${info.partition}:cloudformation:${canonicalizeRegion(info.region)}:${info.accountId}:stack/${context?.stackName ?? "UnknownStack"}/${tail}`;
25608
25685
  }
25609
25686
  case "AWS::URLSuffix": return derivePartitionAndUrlSuffix(resolver.resolverRegion).urlSuffix;
25610
25687
  case "AWS::NotificationARNs": return [];
@@ -26446,9 +26523,11 @@ async function resolveSelect(resolver, selectArgs, context) {
26446
26523
  if (!Array.isArray(resolvedList)) throw markNonRetryable(/* @__PURE__ */ new Error(`Fn::Select: list must be an array, got ${typeof resolvedList}`));
26447
26524
  const loggedPosition = displayMasked(resolver, String(position), context);
26448
26525
  if (position >= resolvedList.length) {
26449
- if (loggedPosition !== String(position)) throw markNonRetryable(new IntrinsicResolutionRefusalError(`Fn::Select: the index ${loggedPosition} is out of bounds (array length: ${resolvedList.length}), and it resolves from a secret value, so cdkd will not write it into the OutOfBounds placeholder.`));
26450
- resolver.logger.warn(`Fn::Select: index ${position} out of bounds (array length: ${resolvedList.length})`);
26451
- return `{{Fn::Select:${position}:OutOfBounds}}`;
26526
+ if (context?.stackIdTail?.() === void 0 && loggedPosition === String(position) && readsStackId(list)) {
26527
+ resolver.logger.warn(`Fn::Select: index ${position} out of bounds (array length: ${resolvedList.length}) over this stack's AWS::StackId, which ends in \`cdkd\` because the stack was first deployed before cdkd derived it from a UUID; the value is a placeholder`);
26528
+ return `{{Fn::Select:${position}:OutOfBounds}}`;
26529
+ }
26530
+ throw markNonRetryable(new SelectOutOfBoundsRefusalError(`Fn::Select: the index ${loggedPosition} is out of bounds (array length: ${resolvedList.length}). CloudFormation refuses this template too ("Fn::Select cannot select nonexistent value"); select an index inside the list.`));
26452
26531
  }
26453
26532
  const result = resolvedList[position];
26454
26533
  resolver.logger.debug(`Resolved Fn::Select: index ${loggedPosition} resolved to ${logRender(resolver, JSON.stringify(maskValueLeaves(resolver, result, context)), context, { structured: true })}`);
@@ -26541,6 +26620,24 @@ async function resolveSplit(resolver, splitArgs, context) {
26541
26620
  resolver.logger.debug(`Resolved Fn::Split: split by ${splitDelimiterRender(resolver, String(delimiter), lineContext)} resolved to ${logRender(resolver, JSON.stringify(maskValueLeaves(resolver, pieceTwins, lineContext)), lineContext, { structured: true })}`);
26542
26621
  return result;
26543
26622
  }
26623
+ function readsStackId(node) {
26624
+ if (typeof node === "string") return false;
26625
+ if (Array.isArray(node)) return node.some(readsStackId);
26626
+ if (node === null || typeof node !== "object") return false;
26627
+ const record = node;
26628
+ if (record["Ref"] === "AWS::StackId") return true;
26629
+ const sub = record["Fn::Sub"];
26630
+ const subText = typeof sub === "string" ? sub : Array.isArray(sub) ? sub[0] : void 0;
26631
+ if (typeof subText === "string" && subText.includes("${AWS::StackId}")) return true;
26632
+ return Object.values(record).some(readsStackId);
26633
+ }
26634
+ function isSelectOutOfBounds(error) {
26635
+ for (let link = error, depth = 0; link instanceof Error && depth < 16; depth++) {
26636
+ if (link instanceof SelectOutOfBoundsRefusalError) return true;
26637
+ link = link.cause;
26638
+ }
26639
+ return false;
26640
+ }
26544
26641
 
26545
26642
  // src/deployment/intrinsic-resolver/params-conditions.ts
26546
26643
  async function resolveParameters(resolver, template, userParameters, options) {
@@ -26636,6 +26733,7 @@ async function evaluateConditions(resolver, context) {
26636
26733
  for (const name of Object.keys(templateConditions)) try {
26637
26734
  await withSharedDrainBudget(() => evaluateByName(name));
26638
26735
  } catch (error) {
26736
+ if (isSelectOutOfBounds(error)) throw error;
26639
26737
  resolver.logger.warn(displayMasked(resolver, `Failed to evaluate condition ${name}: ${describeAwsFailure(error).detail}, assuming false`, maskingContext));
26640
26738
  conditions[name] = false;
26641
26739
  assumed.add(name);
@@ -29338,7 +29436,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
29338
29436
  const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
29339
29437
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
29340
29438
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
29341
- const { ASGProvider } = await import("./asg-provider-CwaTAotW.js");
29439
+ const { ASGProvider } = await import("./asg-provider-fpr4ZEfp.js");
29342
29440
  const delegateRegion = ambientRegion();
29343
29441
  let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
29344
29442
  if (asgProvider === void 0) {
@@ -29492,7 +29590,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
29492
29590
  const family = SDK_DELETE_FAMILIES.get(resourceType);
29493
29591
  const cached = this.sdkDeleteDelegates.get(family);
29494
29592
  if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
29495
- const provider = family === "rds" ? new (await (import("./rds-provider-DpJ8f3oK.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-CyePVMKo.js"))).NeptuneProvider({ region: ccRegion });
29593
+ const provider = family === "rds" ? new (await (import("./rds-provider-CxSVX1d7.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-CX4BHKjZ.js"))).NeptuneProvider({ region: ccRegion });
29496
29594
  this.sdkDeleteDelegates.set(family, {
29497
29595
  region: ccRegion,
29498
29596
  provider
@@ -33647,6 +33745,13 @@ const NESTED_REQUIRED = /* @__PURE__ */ new Map([
33647
33745
  ["Tags", ["Key", "Value"]]
33648
33746
  ])],
33649
33747
  ["AWS::S3Tables::TableBucket", /* @__PURE__ */ new Map([
33748
+ ["LoggingConfiguration", [
33749
+ "TargetBucket",
33750
+ "TargetObjectKeyFormat",
33751
+ "TargetPrefix"
33752
+ ]],
33753
+ ["LoggingConfiguration.TargetObjectKeyFormat", ["PartitionedPrefix"]],
33754
+ ["LoggingConfiguration.TargetObjectKeyFormat.PartitionedPrefix", ["PartitionDateSource"]],
33650
33755
  ["ReplicationConfiguration", ["Role", "Rules"]],
33651
33756
  ["ReplicationConfiguration.Rules", ["Destinations"]],
33652
33757
  ["ReplicationConfiguration.Rules.Destinations", ["DestinationTableBucketARN"]],
@@ -34202,7 +34307,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
34202
34307
  ["AWS::S3::Bucket", "{\"AccelerateConfiguration\":\"object\",\"AnalyticsConfigurations\":\"array\",\"AnalyticsConfigurations[]\":\"object\",\"AnalyticsConfigurations[].StorageClassAnalysis\":\"object\",\"AnalyticsConfigurations[].StorageClassAnalysis.DataExport\":\"object\",\"AnalyticsConfigurations[].StorageClassAnalysis.DataExport.Destination\":\"object\",\"AnalyticsConfigurations[].TagFilters\":\"array\",\"AnalyticsConfigurations[].TagFilters[]\":\"object\",\"BucketEncryption\":\"object\",\"BucketEncryption.ServerSideEncryptionConfiguration\":\"array\",\"BucketEncryption.ServerSideEncryptionConfiguration[]\":\"object\",\"BucketEncryption.ServerSideEncryptionConfiguration[].BlockedEncryptionTypes\":\"object\",\"BucketEncryption.ServerSideEncryptionConfiguration[].BlockedEncryptionTypes.EncryptionType\":\"array\",\"BucketEncryption.ServerSideEncryptionConfiguration[].ServerSideEncryptionByDefault\":\"object\",\"CorsConfiguration\":\"object\",\"CorsConfiguration.CorsRules\":\"array\",\"CorsConfiguration.CorsRules[]\":\"object\",\"CorsConfiguration.CorsRules[].AllowedHeaders\":\"array\",\"CorsConfiguration.CorsRules[].AllowedMethods\":\"array\",\"CorsConfiguration.CorsRules[].AllowedOrigins\":\"array\",\"CorsConfiguration.CorsRules[].ExposedHeaders\":\"array\",\"IntelligentTieringConfigurations\":\"array\",\"IntelligentTieringConfigurations[]\":\"object\",\"IntelligentTieringConfigurations[].TagFilters\":\"array\",\"IntelligentTieringConfigurations[].TagFilters[]\":\"object\",\"IntelligentTieringConfigurations[].Tierings\":\"array\",\"IntelligentTieringConfigurations[].Tierings[]\":\"object\",\"InventoryConfigurations\":\"array\",\"InventoryConfigurations[]\":\"object\",\"InventoryConfigurations[].Destination\":\"object\",\"InventoryConfigurations[].OptionalFields\":\"array\",\"LifecycleConfiguration\":\"object\",\"LifecycleConfiguration.Rules\":\"array\",\"LifecycleConfiguration.Rules[]\":\"object\",\"LifecycleConfiguration.Rules[].AbortIncompleteMultipartUpload\":\"object\",\"LifecycleConfiguration.Rules[].NoncurrentVersionExpiration\":\"object\",\"LifecycleConfiguration.Rules[].NoncurrentVersionTransition\":\"object\",\"LifecycleConfiguration.Rules[].NoncurrentVersionTransitions\":\"array\",\"LifecycleConfiguration.Rules[].NoncurrentVersionTransitions[]\":\"object\",\"LifecycleConfiguration.Rules[].TagFilters\":\"array\",\"LifecycleConfiguration.Rules[].TagFilters[]\":\"object\",\"LifecycleConfiguration.Rules[].Transition\":\"object\",\"LifecycleConfiguration.Rules[].Transitions\":\"array\",\"LifecycleConfiguration.Rules[].Transitions[]\":\"object\",\"LoggingConfiguration\":\"object\",\"LoggingConfiguration.TargetObjectKeyFormat\":\"object\",\"LoggingConfiguration.TargetObjectKeyFormat.PartitionedPrefix\":\"object\",\"LoggingConfiguration.TargetObjectKeyFormat.SimplePrefix\":\"object\",\"MetadataConfiguration\":\"object\",\"MetadataConfiguration.AnnotationTableConfiguration\":\"object\",\"MetadataConfiguration.AnnotationTableConfiguration.EncryptionConfiguration\":\"object\",\"MetadataConfiguration.Destination\":\"object\",\"MetadataConfiguration.InventoryTableConfiguration\":\"object\",\"MetadataConfiguration.InventoryTableConfiguration.EncryptionConfiguration\":\"object\",\"MetadataConfiguration.JournalTableConfiguration\":\"object\",\"MetadataConfiguration.JournalTableConfiguration.EncryptionConfiguration\":\"object\",\"MetadataConfiguration.JournalTableConfiguration.RecordExpiration\":\"object\",\"MetadataTableConfiguration\":\"object\",\"MetadataTableConfiguration.S3TablesDestination\":\"object\",\"MetricsConfigurations\":\"array\",\"MetricsConfigurations[]\":\"object\",\"MetricsConfigurations[].TagFilters\":\"array\",\"MetricsConfigurations[].TagFilters[]\":\"object\",\"NotificationConfiguration\":\"object\",\"NotificationConfiguration.EventBridgeConfiguration\":\"object\",\"NotificationConfiguration.LambdaConfigurations\":\"array\",\"NotificationConfiguration.LambdaConfigurations[]\":\"object\",\"NotificationConfiguration.LambdaConfigurations[].Filter\":\"object\",\"NotificationConfiguration.LambdaConfigurations[].Filter.S3Key\":\"object\",\"NotificationConfiguration.LambdaConfigurations[].Filter.S3Key.Rules\":\"array\",\"NotificationConfiguration.LambdaConfigurations[].Filter.S3Key.Rules[]\":\"object\",\"NotificationConfiguration.QueueConfigurations\":\"array\",\"NotificationConfiguration.QueueConfigurations[]\":\"object\",\"NotificationConfiguration.QueueConfigurations[].Filter\":\"object\",\"NotificationConfiguration.QueueConfigurations[].Filter.S3Key\":\"object\",\"NotificationConfiguration.QueueConfigurations[].Filter.S3Key.Rules\":\"array\",\"NotificationConfiguration.QueueConfigurations[].Filter.S3Key.Rules[]\":\"object\",\"NotificationConfiguration.TopicConfigurations\":\"array\",\"NotificationConfiguration.TopicConfigurations[]\":\"object\",\"NotificationConfiguration.TopicConfigurations[].Filter\":\"object\",\"NotificationConfiguration.TopicConfigurations[].Filter.S3Key\":\"object\",\"NotificationConfiguration.TopicConfigurations[].Filter.S3Key.Rules\":\"array\",\"NotificationConfiguration.TopicConfigurations[].Filter.S3Key.Rules[]\":\"object\",\"ObjectLockConfiguration\":\"object\",\"ObjectLockConfiguration.Rule\":\"object\",\"ObjectLockConfiguration.Rule.DefaultRetention\":\"object\",\"ObjectLockConfiguration.Rule.DefaultRetention.DefaultEventHold\":\"object\",\"OwnershipControls\":\"object\",\"OwnershipControls.Rules\":\"array\",\"OwnershipControls.Rules[]\":\"object\",\"PublicAccessBlockConfiguration\":\"object\",\"ReplicationConfiguration\":\"object\",\"ReplicationConfiguration.Rules\":\"array\",\"ReplicationConfiguration.Rules[]\":\"object\",\"ReplicationConfiguration.Rules[].DeleteMarkerReplication\":\"object\",\"ReplicationConfiguration.Rules[].Destination\":\"object\",\"ReplicationConfiguration.Rules[].Destination.AccessControlTranslation\":\"object\",\"ReplicationConfiguration.Rules[].Destination.EncryptionConfiguration\":\"object\",\"ReplicationConfiguration.Rules[].Destination.Metrics\":\"object\",\"ReplicationConfiguration.Rules[].Destination.Metrics.EventThreshold\":\"object\",\"ReplicationConfiguration.Rules[].Destination.ReplicationTime\":\"object\",\"ReplicationConfiguration.Rules[].Destination.ReplicationTime.Time\":\"object\",\"ReplicationConfiguration.Rules[].Filter\":\"object\",\"ReplicationConfiguration.Rules[].Filter.And\":\"object\",\"ReplicationConfiguration.Rules[].Filter.And.TagFilters\":\"array\",\"ReplicationConfiguration.Rules[].Filter.And.TagFilters[]\":\"object\",\"ReplicationConfiguration.Rules[].Filter.TagFilter\":\"object\",\"ReplicationConfiguration.Rules[].SourceSelectionCriteria\":\"object\",\"ReplicationConfiguration.Rules[].SourceSelectionCriteria.ReplicaModifications\":\"object\",\"ReplicationConfiguration.Rules[].SourceSelectionCriteria.SseKmsEncryptedObjects\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"VersioningConfiguration\":\"object\",\"WebsiteConfiguration\":\"object\",\"WebsiteConfiguration.RedirectAllRequestsTo\":\"object\",\"WebsiteConfiguration.RoutingRules\":\"array\",\"WebsiteConfiguration.RoutingRules[]\":\"object\",\"WebsiteConfiguration.RoutingRules[].RedirectRule\":\"object\",\"WebsiteConfiguration.RoutingRules[].RoutingRuleCondition\":\"object\"}"],
34203
34308
  ["AWS::S3Express::DirectoryBucket", "{\"BucketEncryption\":\"object\",\"BucketEncryption.ServerSideEncryptionConfiguration\":\"array\",\"BucketEncryption.ServerSideEncryptionConfiguration[]\":\"object\",\"BucketEncryption.ServerSideEncryptionConfiguration[].ServerSideEncryptionByDefault\":\"object\",\"InventoryConfigurations\":\"array\",\"InventoryConfigurations[]\":\"object\",\"InventoryConfigurations[].Destination\":\"object\",\"InventoryConfigurations[].OptionalFields\":\"array\",\"LifecycleConfiguration\":\"object\",\"LifecycleConfiguration.Rules\":\"array\",\"LifecycleConfiguration.Rules[]\":\"object\",\"LifecycleConfiguration.Rules[].AbortIncompleteMultipartUpload\":\"object\",\"MetricsConfigurations\":\"array\",\"MetricsConfigurations[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
34204
34309
  ["AWS::S3Tables::Table", "{\"Compaction\":\"object\",\"IcebergMetadata\":\"object\",\"IcebergMetadata.IcebergPartitionSpec\":\"object\",\"IcebergMetadata.IcebergPartitionSpec.Fields\":\"array\",\"IcebergMetadata.IcebergPartitionSpec.Fields[]\":\"object\",\"IcebergMetadata.IcebergSchema\":\"object\",\"IcebergMetadata.IcebergSchema.SchemaFieldList\":\"array\",\"IcebergMetadata.IcebergSchema.SchemaFieldList[]\":\"object\",\"IcebergMetadata.IcebergSchemaV2\":\"object\",\"IcebergMetadata.IcebergSchemaV2.IdentifierFieldIds\":\"array\",\"IcebergMetadata.IcebergSchemaV2.SchemaV2FieldList\":\"array\",\"IcebergMetadata.IcebergSchemaV2.SchemaV2FieldList[]\":\"object\",\"IcebergMetadata.IcebergSortOrder\":\"object\",\"IcebergMetadata.IcebergSortOrder.Fields\":\"array\",\"IcebergMetadata.IcebergSortOrder.Fields[]\":\"object\",\"IcebergMetadata.TableProperties\":\"object\",\"SnapshotManagement\":\"object\",\"StorageClassConfiguration\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
34205
- ["AWS::S3Tables::TableBucket", "{\"EncryptionConfiguration\":\"object\",\"MetricsConfiguration\":\"object\",\"ReplicationConfiguration\":\"object\",\"ReplicationConfiguration.Rules\":\"array\",\"ReplicationConfiguration.Rules[]\":\"object\",\"ReplicationConfiguration.Rules[].Destinations\":\"array\",\"ReplicationConfiguration.Rules[].Destinations[]\":\"object\",\"StorageClassConfiguration\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"UnreferencedFileRemoval\":\"object\"}"],
34310
+ ["AWS::S3Tables::TableBucket", "{\"EncryptionConfiguration\":\"object\",\"LoggingConfiguration\":\"object\",\"LoggingConfiguration.TargetObjectKeyFormat\":\"object\",\"LoggingConfiguration.TargetObjectKeyFormat.PartitionedPrefix\":\"object\",\"MetricsConfiguration\":\"object\",\"ReplicationConfiguration\":\"object\",\"ReplicationConfiguration.Rules\":\"array\",\"ReplicationConfiguration.Rules[]\":\"object\",\"ReplicationConfiguration.Rules[].Destinations\":\"array\",\"ReplicationConfiguration.Rules[].Destinations[]\":\"object\",\"StorageClassConfiguration\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"UnreferencedFileRemoval\":\"object\"}"],
34206
34311
  ["AWS::S3Vectors::VectorBucket", "{\"EncryptionConfiguration\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
34207
34312
  ["AWS::Scheduler::Schedule", "{\"FlexibleTimeWindow\":\"object\",\"Target\":\"object\",\"Target.DeadLetterConfig\":\"object\",\"Target.EcsParameters\":\"object\",\"Target.EcsParameters.CapacityProviderStrategy\":\"array\",\"Target.EcsParameters.CapacityProviderStrategy[]\":\"object\",\"Target.EcsParameters.NetworkConfiguration\":\"object\",\"Target.EcsParameters.NetworkConfiguration.AwsvpcConfiguration\":\"object\",\"Target.EcsParameters.NetworkConfiguration.AwsvpcConfiguration.SecurityGroups\":\"array\",\"Target.EcsParameters.NetworkConfiguration.AwsvpcConfiguration.Subnets\":\"array\",\"Target.EcsParameters.PlacementConstraints\":\"array\",\"Target.EcsParameters.PlacementConstraints[]\":\"object\",\"Target.EcsParameters.PlacementStrategy\":\"array\",\"Target.EcsParameters.PlacementStrategy[]\":\"object\",\"Target.EcsParameters.Tags\":\"array\",\"Target.EcsParameters.Tags[]\":\"object\",\"Target.EventBridgeParameters\":\"object\",\"Target.KinesisParameters\":\"object\",\"Target.RetryPolicy\":\"object\",\"Target.SageMakerPipelineParameters\":\"object\",\"Target.SageMakerPipelineParameters.PipelineParameterList\":\"array\",\"Target.SageMakerPipelineParameters.PipelineParameterList[]\":\"object\",\"Target.SqsParameters\":\"object\"}"],
34208
34313
  ["AWS::SecretsManager::Secret", "{\"GenerateSecretString\":\"object\",\"ReplicaRegions\":\"array\",\"ReplicaRegions[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
@@ -35415,7 +35520,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
35415
35520
  if (resourceType !== "AWS::RDS::DBInstance") return false;
35416
35521
  if (region === void 0 || region === "") return false;
35417
35522
  const mask = input.mask ?? ((text) => text);
35418
- const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-BxCCOKlu.js").then((n) => n.i);
35523
+ const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-DtD9IDko.js").then((n) => n.o);
35419
35524
  let reason;
35420
35525
  try {
35421
35526
  const live = await describeDBInstanceInRegion(physicalId, region);
@@ -37053,6 +37158,35 @@ function reportDeleteGuards(result, target) {
37053
37158
  });
37054
37159
  }
37055
37160
 
37161
+ // src/provisioning/providers/rds/zoned-timestamp.ts
37162
+ const ZONED_DATE_TIME = /^(\d{4})-(\d{2})-(\d{2})[Tt](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?(?:[Zz]|([+-])(\d{2})(?::(\d{2})(?::(\d{2}))?)?)(?:\[[^\]]+\])?$/;
37163
+ function parseZonedTimestamp(text) {
37164
+ const match = ZONED_DATE_TIME.exec(text);
37165
+ if (match === null) return void 0;
37166
+ const n = (i) => match[i] === void 0 ? 0 : Number(match[i]);
37167
+ const [year, month, day, hour, minute, second] = [
37168
+ n(1),
37169
+ n(2),
37170
+ n(3),
37171
+ n(4),
37172
+ n(5),
37173
+ n(6)
37174
+ ];
37175
+ const [offsetHours, offsetMinutes, offsetSeconds] = [
37176
+ n(9),
37177
+ n(10),
37178
+ n(11)
37179
+ ];
37180
+ if (month < 1 || month > 12 || hour > 23 || minute > 59 || second > 59) return void 0;
37181
+ if (offsetMinutes > 59 || offsetSeconds > 59) return void 0;
37182
+ if (offsetHours * 3600 + offsetMinutes * 60 + offsetSeconds > 64800) return void 0;
37183
+ if (day < 1 || new Date(Date.UTC(year, month - 1, day)).getUTCDate() !== day) return void 0;
37184
+ const millis = Number((match[7] ?? "").padEnd(3, "0").slice(0, 3));
37185
+ const offsetMs = (match[8] === "-" ? -1 : 1) * (offsetHours * 3600 + offsetMinutes * 60 + offsetSeconds) * 1e3;
37186
+ const date = new Date(Date.UTC(year, month - 1, day, hour, minute, second, millis) - offsetMs);
37187
+ return Number.isNaN(date.getTime()) ? void 0 : date;
37188
+ }
37189
+
37056
37190
  // src/provisioning/restore-source-guard.ts
37057
37191
  const RESTORING_TYPES = /* @__PURE__ */ new Set([
37058
37192
  "AWS::DocDB::DBCluster",
@@ -37068,12 +37202,63 @@ function elsewhere(identifier, scope) {
37068
37202
  const differs = (carried, known) => Boolean(carried) && known !== void 0 && carried !== known;
37069
37203
  return differs(region, scope.region) || differs(account, scope.account);
37070
37204
  }
37071
- function automatedSnapshotOf(snapshot, name) {
37072
- const id = snapshot.startsWith("arn:") ? snapshot.split(":cluster-snapshot:")[1] ?? "" : snapshot;
37205
+ function automatedSnapshotOf(snapshot, name, arnSegment = ":cluster-snapshot:") {
37206
+ const id = snapshot.startsWith("arn:") ? snapshot.split(arnSegment)[1] ?? "" : snapshot;
37073
37207
  const match = /^rds:(.+)-\d{4}-\d{2}-\d{2}-\d{2}-\d{2}$/i.exec(id);
37074
37208
  return match !== null && match[1].toLowerCase() === name;
37075
37209
  }
37210
+ function declaresInstancePointInTime(properties) {
37211
+ const latest = properties["UseLatestRestorableTime"];
37212
+ if (latest === true || typeof latest === "string" && latest.toLowerCase() === "true") return true;
37213
+ return [
37214
+ "RestoreTime",
37215
+ "SourceDBInstanceAutomatedBackupsArn",
37216
+ "SourceDbiResourceId"
37217
+ ].some((key) => properties[key] != null && properties[key] !== "");
37218
+ }
37219
+ const POINT_IN_TIME_NO_SOURCE_REASON = "the template names no source to restore to a point in time from (SourceDBInstanceIdentifier, SourceDbiResourceId or SourceDBInstanceAutomatedBackupsArn), so cdkd cannot read its engine; declare Engine or a source, as CloudFormation requires (\"Cannot fetch the engine\")";
37220
+ function pointInTimeTemplateRefusal(properties) {
37221
+ const time = properties["RestoreTime"];
37222
+ if (time != null && !(typeof time === "string" && time.trim() === "")) {
37223
+ if (typeof time !== "string" || parseZonedTimestamp(time) === void 0) return "RestoreTime must be an ISO 8601 timestamp with a time zone, such as 2026-01-01T00:00:00Z";
37224
+ }
37225
+ const latest = properties["UseLatestRestorableTime"];
37226
+ if (latest != null && typeof latest !== "boolean" && !(typeof latest === "string" && ["true", "false"].includes(latest.toLowerCase()))) return "UseLatestRestorableTime must be true or false";
37227
+ for (const key of ["SourceDBInstanceAutomatedBackupsArn", "SourceDbiResourceId"]) {
37228
+ const value = properties[key];
37229
+ if (value != null && typeof value !== "string") return `${key} must be a string`;
37230
+ }
37231
+ if (!declaresInstancePointInTime(properties)) return void 0;
37232
+ const engine = properties["Engine"];
37233
+ if (!(typeof engine === "string" && engine !== "") && ![
37234
+ "SourceDBInstanceIdentifier",
37235
+ "SourceDbiResourceId",
37236
+ "SourceDBInstanceAutomatedBackupsArn"
37237
+ ].some((key) => typeof properties[key] === "string" && properties[key] !== "")) return POINT_IN_TIME_NO_SOURCE_REASON;
37238
+ }
37239
+ function refuseInstancePointInTimeFromItself(resourceType, properties, physicalId, logicalId, scope) {
37240
+ const refuse = (key) => {
37241
+ throw markNonRetryable(new ProvisioningError(safeMsg`${resourceType} ${logicalId}: ${key} names the DB instance this creates or replaces, whose delete removes the automated backups a point-in-time restore reads; restore from another instance's backups instead. Nothing was changed.`, resourceType, logicalId, physicalId));
37242
+ };
37243
+ const source = properties["SourceDBInstanceIdentifier"];
37244
+ if (typeof source === "string" && source !== "" && clusterName(source) === clusterName(physicalId) && !elsewhere(source, scope)) refuse("SourceDBInstanceIdentifier");
37245
+ const own = scope.attributes?.["DbiResourceId"];
37246
+ if (typeof own !== "string" || own === "") return;
37247
+ const resourceId = properties["SourceDbiResourceId"];
37248
+ if (typeof resourceId === "string" && resourceId.toLowerCase() === own.toLowerCase()) refuse("SourceDbiResourceId");
37249
+ }
37076
37250
  function refuseRestoreFromItself(resourceType, properties, physicalId, logicalId, scope) {
37251
+ if (resourceType === "AWS::RDS::DBInstance") {
37252
+ const refusal = pointInTimeTemplateRefusal(properties);
37253
+ if (refusal !== void 0) throw markNonRetryable(new ProvisioningError(safeMsg`${resourceType} ${logicalId}: ${refusal}; nothing was changed.`, resourceType, logicalId, physicalId));
37254
+ if (declaresInstancePointInTime(properties)) {
37255
+ refuseInstancePointInTimeFromItself(resourceType, properties, physicalId, logicalId, scope);
37256
+ return;
37257
+ }
37258
+ const instanceSnapshot = properties["DBSnapshotIdentifier"];
37259
+ if (!["SourceDBInstanceIdentifier", "SourceDBClusterIdentifier"].some((key) => typeof properties[key] === "string" && properties[key] !== "") && typeof instanceSnapshot === "string" && automatedSnapshotOf(instanceSnapshot, clusterName(physicalId), ":snapshot:") && !elsewhere(instanceSnapshot, scope)) throw markNonRetryable(new ProvisioningError(safeMsg`${resourceType} ${logicalId}: DBSnapshotIdentifier names an automated snapshot of the DB instance this creates or replaces, which its delete removes; restore from a manual snapshot instead. Nothing was changed.`, resourceType, logicalId, physicalId));
37260
+ return;
37261
+ }
37077
37262
  if (!RESTORING_TYPES.has(resourceType)) return;
37078
37263
  const snapshot = properties["SnapshotIdentifier"];
37079
37264
  if (typeof snapshot === "string" && automatedSnapshotOf(snapshot, clusterName(physicalId)) && !elsewhere(snapshot, scope)) throw markNonRetryable(new ProvisioningError(safeMsg`${resourceType} ${logicalId}: SnapshotIdentifier names an automated snapshot of the cluster this creates or replaces, which its delete removes; restore from a manual snapshot instead. Nothing was changed.`, resourceType, logicalId, physicalId));
@@ -37088,6 +37273,10 @@ function refuseRestoreFromItself(resourceType, properties, physicalId, logicalId
37088
37273
 
37089
37274
  // src/deployment/restore-source-identity.ts
37090
37275
  async function verifyRestoreSourceIdentity(input) {
37276
+ if (input.resourceType === "AWS::RDS::DBInstance") {
37277
+ await verifyInstancePointInTimeSource(input);
37278
+ return;
37279
+ }
37091
37280
  if (input.resourceType !== "AWS::RDS::DBCluster") return;
37092
37281
  const source = input.properties["SourceDbClusterResourceId"];
37093
37282
  if (typeof source !== "string" || source === "") return;
@@ -37119,6 +37308,49 @@ async function verifyRestoreSourceIdentity(input) {
37119
37308
  if (typeof liveId !== "string" || liveId === "") return refuse(`SourceDbClusterResourceId may name the cluster this replacement deletes first, and its identity could not be verified (${failure || "no resource id was read"}). Name the source with SourceDBClusterIdentifier instead, or retry`);
37120
37309
  if (liveId.toLowerCase() === source.toLowerCase()) refuse("SourceDbClusterResourceId must be another cluster's than the one this replaces");
37121
37310
  }
37311
+ async function verifyInstancePointInTimeSource(input) {
37312
+ const nonEmpty = (key) => {
37313
+ const value = input.properties[key];
37314
+ return typeof value === "string" && value !== "" ? value : void 0;
37315
+ };
37316
+ const resourceId = nonEmpty("SourceDbiResourceId");
37317
+ const declaredBackups = nonEmpty("SourceDBInstanceAutomatedBackupsArn");
37318
+ const backupsRegion = declaredBackups?.split(":")[3];
37319
+ const backups = declaredBackups !== void 0 && (backupsRegion === void 0 || backupsRegion === "" || backupsRegion === input.region) ? declaredBackups : void 0;
37320
+ if (resourceId === void 0 && backups === void 0) return;
37321
+ const recorded = input.attributes?.["DbiResourceId"];
37322
+ if (backups === void 0 && typeof recorded === "string" && recorded !== "") return;
37323
+ const key = backups !== void 0 ? "SourceDBInstanceAutomatedBackupsArn" : "SourceDbiResourceId";
37324
+ const refuse = (reason) => {
37325
+ throw markNonRetryable(new ProvisioningError(safeMsg`${input.resourceType} ${input.logicalId}: ${reason}; nothing was changed.`, input.resourceType, input.logicalId, input.physicalId));
37326
+ };
37327
+ const unverified = (failure) => refuse(`${key} may name the DB instance this replacement deletes first, and its identity could not be verified (${failure}). Name the source with SourceDBInstanceIdentifier instead, or retry`);
37328
+ const provider = input.provider();
37329
+ if (provider?.resourceIdentity === void 0) return unverified("no provider can read it");
37330
+ const read = provider.resourceIdentity.bind(provider);
37331
+ const identity = async (id) => {
37332
+ let answer;
37333
+ try {
37334
+ answer = await read(id, input.resourceType, { expectedRegion: input.region });
37335
+ } catch (error) {
37336
+ return unverified(`the read failed (${error?.name ?? "Error"})`);
37337
+ }
37338
+ if (answer === void 0 || answer === "") return unverified("no resource id was read");
37339
+ return answer;
37340
+ };
37341
+ let own = typeof recorded === "string" && recorded !== "" ? recorded : void 0;
37342
+ if (own === void 0) {
37343
+ const live = await identity(input.physicalId);
37344
+ if (live === RESOURCE_NOT_FOUND) return unverified("it was not found");
37345
+ own = live;
37346
+ }
37347
+ if (resourceId !== void 0 && resourceId.toLowerCase() === own.toLowerCase()) refuse("SourceDbiResourceId must be another DB instance's than the one this replaces");
37348
+ if (backups !== void 0) {
37349
+ const owner = await identity(backups);
37350
+ if (owner === RESOURCE_NOT_FOUND) refuse("SourceDBInstanceAutomatedBackupsArn names no automated backup this account can read, so the restore after the delete would fail");
37351
+ if (owner !== RESOURCE_NOT_FOUND && owner.toLowerCase() === own.toLowerCase()) refuse("SourceDBInstanceAutomatedBackupsArn must name another DB instance's automated backups than the one this replaces");
37352
+ }
37353
+ }
37122
37354
 
37123
37355
  // src/deployment/deploy-engine/replacement/delete-first.ts
37124
37356
  async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType, oldResourceType, currentResource, oldDeleteProvider, replaceProvider, replaceProps, secrets, updateReplacePolicy, oldDeleteProvisionedBy, noEchoDeleteValues) {
@@ -41276,7 +41508,7 @@ async function recreateOldResource(s, r) {
41276
41508
  const { op, stateResources, ctx, afterOp, isInterrupted, logger, secrets, mask } = s;
41277
41509
  const { current, prev, oldType, typeChanged, resolvedPrevProps, deleteFirstBlocked, reverseDeleteFirst, createProvider, createProvisionedBy, replayCreateProps, inOriginalPrefix, resolveNewDeleteRoute, newDeleteGuardScope, newCopyClaimed, recreateCleanup } = r;
41278
41510
  const deleteNewResourceFirst = async (purpose) => {
41279
- refuseRestoreFromItself(oldType, prev.properties ?? {}, current.physicalId, op.logicalId, {
41511
+ refuseRestoreFromItself(oldType, replayCreateProps(), current.physicalId, op.logicalId, {
41280
41512
  region: ctx.region,
41281
41513
  attributes: current.attributes
41282
41514
  });
@@ -42679,6 +42911,7 @@ function buildResolverContext(deps, base, stackName) {
42679
42911
  ...base.conditions && Object.keys(base.conditions).length > 0 && { conditions: base.conditions },
42680
42912
  stateBackend: deps.stateBackend,
42681
42913
  stackName,
42914
+ stackIdTail: () => deps.runStackIdTail()?.(),
42682
42915
  ...deps.exportIndexStore && { exportIndex: deps.exportIndexStore },
42683
42916
  recordedImports: deps.recordedImports(),
42684
42917
  recordedOutputReads: deps.recordedOutputReads(),
@@ -44587,7 +44820,7 @@ async function revertNestedChildFromJournal(args) {
44587
44820
  ...carried,
44588
44821
  ...stackInstanceIdCarriedFrom(base),
44589
44822
  ...supersededAfterRollback(base, supersededHost),
44590
- version: 15,
44823
+ version: 16,
44591
44824
  region,
44592
44825
  resources: { ...stateResources },
44593
44826
  ...orphansAfterRollback(base, mintedOrphans),
@@ -46571,7 +46804,8 @@ function resolverContextDeps() {
46571
46804
  attributeHealer: () => this.attributeHealer,
46572
46805
  recordedImports: () => this.recordedImports,
46573
46806
  recordedOutputReads: () => this.recordedOutputReads,
46574
- runProducerRegionEvidence: () => this.runProducerRegionEvidence
46807
+ runProducerRegionEvidence: () => this.runProducerRegionEvidence,
46808
+ runStackIdTail: () => this.runStackIdTail
46575
46809
  };
46576
46810
  }
46577
46811
  function deleteDeps() {
@@ -57077,7 +57311,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
57077
57311
  recordUnsettledMarks(engine, newResources);
57078
57312
  try {
57079
57313
  const postRollbackState = {
57080
- version: 15,
57314
+ version: 16,
57081
57315
  region: engine.stackRegion,
57082
57316
  stackName: currentState.stackName,
57083
57317
  resources: newResources,
@@ -57100,7 +57334,7 @@ async function rollbackFailedDeploy(run, error, initialDeploy, currentEtag) {
57100
57334
  const freshEtag = (await engine.stateBackend.getState(stackName, engine.stackRegion))?.etag;
57101
57335
  recordUnsettledMarks(engine, newResources);
57102
57336
  const postRollbackState = {
57103
- version: 15,
57337
+ version: 16,
57104
57338
  region: engine.stackRegion,
57105
57339
  stackName: currentState.stackName,
57106
57340
  resources: newResources,
@@ -57159,7 +57393,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
57159
57393
  const savedFor = savedIds.join(", ");
57160
57394
  try {
57161
57395
  const partialState = {
57162
- version: 15,
57396
+ version: 16,
57163
57397
  region: engine.stackRegion,
57164
57398
  stackName: currentState.stackName,
57165
57399
  resources: newResources,
@@ -57332,7 +57566,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
57332
57566
  await settleFailedDeployRecords(run);
57333
57567
  try {
57334
57568
  const preRollbackState = {
57335
- version: 15,
57569
+ version: 16,
57336
57570
  region: engine.stackRegion,
57337
57571
  stackName: currentState.stackName,
57338
57572
  resources: newResources,
@@ -57371,7 +57605,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
57371
57605
  }
57372
57606
  return {
57373
57607
  state: {
57374
- version: 15,
57608
+ version: 16,
57375
57609
  region: engine.stackRegion,
57376
57610
  stackName: currentState.stackName,
57377
57611
  resources: newResources,
@@ -57390,7 +57624,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
57390
57624
  }
57391
57625
  async function persistStateAfterOutputFailure(engine, stackName, currentState, newResources, currentEtag, pendingMigration) {
57392
57626
  const buildState = () => ({
57393
- version: 15,
57627
+ version: 16,
57394
57628
  region: engine.stackRegion,
57395
57629
  stackName: currentState.stackName,
57396
57630
  resources: newResources,
@@ -58451,7 +58685,7 @@ async function deployWithoutChanges(engine, { stackName, template, currentState,
58451
58685
  await resolveStackInstanceId();
58452
58686
  try {
58453
58687
  const refreshedState = {
58454
- version: 15,
58688
+ version: 16,
58455
58689
  region: engine.stackRegion,
58456
58690
  stackName: currentState.stackName,
58457
58691
  resources: currentState.resources,
@@ -58661,7 +58895,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
58661
58895
  clock.lap("state load");
58662
58896
  noteDeployStateRecord(currentStateData?.state !== void 0);
58663
58897
  const currentState = currentStateData?.state ?? {
58664
- version: 15,
58898
+ version: 16,
58665
58899
  region: engine.stackRegion,
58666
58900
  stackName,
58667
58901
  resources: {},
@@ -58692,6 +58926,13 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
58692
58926
  if (idArrivesLater && !engine.options.dryRun) engine.stateBackend.prefetchStackInstanceSibling?.(stackName, engine.stackRegion);
58693
58927
  engine.rebaseline(currentState.resources ?? {});
58694
58928
  engine.runProducerRegionEvidence = () => producerRegionEvidence(engine.rollbackDeps(), currentState);
58929
+ const firstDeployIdentityRead = idArrivesLater && engine.stateBackend.peekStackInstanceSibling ? engine.options.dryRun ? Promise.resolve(null) : engine.stateBackend.peekStackInstanceSibling(stackName, engine.stackRegion) : void 0;
58930
+ firstDeployIdentityRead?.catch(() => void 0);
58931
+ let firstDeployIdentity;
58932
+ engine.runStackIdTail = () => stackIdTailOf(currentState.stackInstanceId === void 0 && firstDeployIdentity !== void 0 ? {
58933
+ stackInstanceId: firstDeployIdentity.stackInstanceId,
58934
+ ...firstDeployIdentity.stackIdFromInstance && { stackIdFromInstance: true }
58935
+ } : currentState, stackName);
58695
58936
  refuseUnreadableLoadedState(engine, {
58696
58937
  stackName,
58697
58938
  currentState,
@@ -58736,6 +58977,10 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
58736
58977
  });
58737
58978
  const { parameterValues, backfillNoEchoValues } = await resolveDeployParameters(engine, template);
58738
58979
  let maskedFingerprintsBackfilled = backfillMaskedPropertyFingerprints(currentState.resources, template, backfillNoEchoValues) > 0;
58980
+ if (firstDeployIdentityRead !== void 0) firstDeployIdentity = await firstDeployIdentityRead ?? {
58981
+ stackInstanceId: randomUUID(),
58982
+ stackIdFromInstance: true
58983
+ };
58739
58984
  const { conditions, conditionVerdicts } = await evaluateDeployConditions(engine, {
58740
58985
  stackName,
58741
58986
  template,
@@ -58792,7 +59037,13 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
58792
59037
  const resolveStackInstanceId = async () => {
58793
59038
  if (currentStateData !== null && currentStateData !== void 0) return;
58794
59039
  if (engine.options.dryRun || currentState.stackInstanceId !== void 0) return;
58795
- currentState.stackInstanceId = await engine.stateBackend.stackInstanceIdForFirstWrite(stackName, engine.stackRegion, { writeAhead: true });
59040
+ const id = await engine.stateBackend.stackInstanceIdForFirstWrite(stackName, engine.stackRegion, {
59041
+ writeAhead: true,
59042
+ ...firstDeployIdentity && { candidate: firstDeployIdentity }
59043
+ });
59044
+ if (firstDeployIdentity !== void 0 && id !== firstDeployIdentity.stackInstanceId) throw new StateError(`The write-ahead stack instance id of stack ${displayStackName(stackName)} changed while this deploy was planning. Nothing was created; re-run the deploy.`);
59045
+ currentState.stackInstanceId = id;
59046
+ if (firstDeployIdentity?.stackIdFromInstance ?? true) currentState.stackIdFromInstance = true;
58796
59047
  };
58797
59048
  const startProvenanceCapture = () => {
58798
59049
  if (engine.options.dryRun || isKnownTokenFreeState(currentStateData?.state)) return;
@@ -58947,6 +59198,7 @@ function deploy(stackName, template) {
58947
59198
  this.observedCapture = this.freshObservedCapture();
58948
59199
  this.rebaseline({});
58949
59200
  this.runProducerRegionEvidence = void 0;
59201
+ this.runStackIdTail = void 0;
58950
59202
  this.deployChanges = /* @__PURE__ */ new Map();
58951
59203
  this.deployStateResources = {};
58952
59204
  this.inlinePolicyWriters = /* @__PURE__ */ new Map();
@@ -59024,6 +59276,7 @@ var DeployEngine = class {
59024
59276
  return this.attributeHealer.baseline;
59025
59277
  }
59026
59278
  runProducerRegionEvidence = void 0;
59279
+ runStackIdTail = void 0;
59027
59280
  deployChanges = /* @__PURE__ */ new Map();
59028
59281
  deployStateResources = {};
59029
59282
  stackRecordsView = void 0;
@@ -59154,5 +59407,5 @@ var DeployEngine = class {
59154
59407
  }
59155
59408
  };
59156
59409
 
59157
- export { vectorIndexesForCreate as $, applyRoleArnIfSet as $a, markSameGenerationBag as $c, buildFinalSnapshotIdentifier as $i, isReadableBag as $l, updatePartialMessage as $n, isWarmThroughputDecrease as $o, DEFAULT_RESOURCE_TIMEOUT_MS as $r, malformedOutputsWarning as $s, NESTED_PENDING_PARENT_REASON as $t, runDockerForeground as $u, PROTECTION_PROPERTY_BY_TYPE as A, RollbackInlinePolicyWriters as Aa, dbInstanceEngineChangeIsInPlace as Ac, AssemblyReader as Ad, maskEventTextWithBoundBags as Ai, recordPhysicalNameCopy as Al, rollbackOrphanIds as An, recordedReferenceRegions as Ao, retiredNameGenerationsLeaving as Ar, refuseMalformedResourceEntriesForImport as As, enclosingDeadlineExpired as At, isCrossRegionRedirect as Au, reverseMapStreamPolicy as B, reDisableInstanceApiTermination as Ba, maskAtCoordinates as Bc, ownValue as Bd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Bi, wholeStringLeavesOf as Bl, propertiesChangedReason as Bn, unsettledItemsField as Bo, exportAliasCollisionScrubWarning as Br, refuseMalformedResourcePropertiesForOrphan as Bs, refactorMarkerRefusalMessage as Bt, describeDockerExecFailure as Bu, refusePendingMovesOut as C, withPrintingSecrets as Ca, findHandledUnwrittenCreateOnly as Cc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Cd, noEchoComparisonForTemplate as Ci, spelledKeysOf as Cl, DeploymentEventsStore as Cn, isStalePlaceholderArnAttribute as Co, removeProtectionTypeList as Cr, malformedLocalResourcesWarning as Cs, maskedLogger as Ct, createAssetRedirectResolver as Cu, diffSecurity as D, resolvedResourceTimeoutMs as Da, NO_CC_HANDLERS_REASON as Dc, canonicalizeRegion as Dd, createReadOnlyAttributeHealerFactory as Di, recoverMaskedOutput as Dl, findRefactorHints as Dn, keepHeldTokenProvenance as Do, nameScopeOf as Dr, refuseMalformedResourceEntries as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, ensureAssetStorage as Du, serviceTokenBlockingReason as E, waitForGoneAfterDelete as Ea, withoutSdkUnwiredProperties as Ec, PARTITION_TABLE as Ed, withAttemptedItemsMasked as Ei, inheritNestedStackParameterAssociations as El, formatDestructiveChange as En, parseWebACLArn as Eo, nameGenerationHighWaterOf as Er, refuseMalformedResourceAttributesForOrphan as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, AssetModeResolver as Eu, STREAM_POLICY_KEY as F, withIndeterminateGuard as Fa, sameLambdaFunctionAddress as Fc, utf8ByteLength as Fd, secretNamedAttributeNamesOf as Fi, recordMaskOnlyValue as Fl, differingRemedy as Fn, carriesDynamicReference as Fo, namesAnyDeclaredParameter as Fr, malformedDriftResourcePropertiesWarning as Fs, keptForRetainedRecord as Ft, validateContainerRepoName as Fu, streamTagsMatchDeclared as G, DiffCalculator as Ga, noEchoLeavesOf as Gc, resolveAssemblyPath as Gd, PRE_DELETE_SNAPSHOT_TYPES as Gi, S3StateBackend as Gl, DELETED_RESOURCE_REMEDY as Gn, findReplacedReadersOfRecreateTargets as Go, exportNameNoEchoParameters as Gr, malformedOrphansWarning as Gs, markRefusedBeforeApplying as Gt, dockerSpawnEnvWithSensitive as Gu, streamDeclaresTags as H, onlySecretReferencesDiffer as Ha, maskWholeValue as Hc, describeFileReadFailure as Hd, secretSegmentsOfState as Hi, isSingleDynamicReferenceToken as Hl, referencedLogicalIds as Hn, unsettledPropertiesOf as Ho, secretBearingStateKeyWarning as Hr, UNREADABLE_ORPHANS_CONTAINER_ROW as Hs, sameMove as Ht, redactedCause as Hu, STREAM_TAGS_KEY as I, disableInstanceApiTermination as Ia, DagBuilder as Ic, defineOwnKey as Id, secretNamedRecordNeedles as Ii, recordMaskOnlyValuesIn as Il, isPairableType as In, keepsSecretReferenceToken as Io, reachableDivergentParameters as Ir, malformedResourcePropertiesWarning as Is, recordRetainedForReadoption as It, BOOTSTRAP_MARKER_PREFIX as Iu, planTimeToLive as J, poisonRenderedSpellingsCollidingIn as Ja, readbackPathFor as Jc, clearBucketRegionCache as Jd, effectiveDeletionPolicy as Ji, describeRegionValueKind as Jl, withUnprovenUnsettled as Jn, isStatefulRecreateTargetForReplace as Jo, noEchoParameterValueSeed as Jr, repairMalformedOrphansForReadOnly as Js, isAccessDeniedError as Jt, warnFinchArgvExposure as Ju, isTtlAlreadyDisabled as K, IntrinsicFunctionResolver as Ka, noEchoOutputsComparison as Kc, injectAwsRegion as Kd, ccRoutedFinalSnapshotError as Ki, splitImportedOps as Kl, recordAfterRollbackUpdate as Kn, shownType as Ko, exportNameSecretExposure as Kr, refuseMalformedOrphans as Ks, formatResourceLine as Kt, finchSecretArgvRefusal as Ku, declaredStreamPolicyMember as L, ec2InstanceProtectionSite as La, TemplateParser as Lc, hasOwnKey as Ld, stateSecretNameNeedles as Li, recordNoEchoAttributeValues as Ll, looselyEqual as Ln, withSharedDrainBudget as Lo, resourcesNamingDeclaredParameter as Lr, refuseMalformedResourcePropertiesForDestroy as Ls, readRefactorMarker as Lt, buildDockerImage as Lu, perType as M, deleteIndeterminateGuards as Ma, emrClusterInstancesReplaced as Mc, processStackMessages as Md, orphanRecordsPrintingBag as Mi, splitGetAttStringForm as Ml, changedReferenceInDiff as Mn, isImpossibleEmptyStoredAttribute as Mo, getCurrentProducerRegions as Mr, refuseMalformedResourceEntriesForOrphan as Ms, withResourceDeadline as Mt, parseBootstrapMarker as Mu, readProtection as N, deleteLeftInPlace as Na, canonicalLambdaFunctionName as Nc, describeJsonParseFailure as Nd, secretNamePrintingBag as Ni, carriesSecretMask as Nl, changedReferencePath as Nn, carriesFetchableDynamicReference as No, inheritProducerRegions as Nr, repairMalformedResourceEntriesForReadOnly as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, readBootstrapMarkerBody as Nu, recordedProtectionEvidence as O, setResolvedResourceTimeouts as Oa, hasNoCloudControlHandlers as Oc, derivePartitionAndUrlSuffix as Od, completedReplayEntries as Oi, physicalNameCopiesOf as Ol, hintSidesOf as On, outputReferenceProvenanceOf as Oo, retiredAfterRollback as Or, refuseMalformedResourceEntriesForDeploy as Os, hasCdkAutoDeleteTag as Ot, buildDenyExternalAccessPolicy as Ou, DynamoDBGlobalTableProvider as P, deleteSkipReason as Pa, lambdaFunctionNameForMask as Pc, parseFailureDebugDetail as Pd, secretNamePrintingBags as Pi, provenPublicValue as Pl, changedReferenceReason as Pn, isNamelessDynamicReferenceError as Po, computeParameterTaint as Pr, unreadableResourceEntries as Ps, computeImplicitDeleteEdges as Pt, validateAssetBucketName as Pu, readbackVectorIndexes as Q, refuseUnreadableCdkCrossAccountRefs as Qa, liveMatchesUnresolvedTokenFrame as Qc, createPreDeleteFinalSnapshot as Qi, importableOutputs as Ql, undeclaredEmptyObservedKeys as Qn, coerceWarmThroughput as Qo, bindingSkippedOutputs as Qr, malformedOutputsRefusalMessage as Qs, resolvePendingCloudControlRequests as Qt, getDockerCmd as Qu, declaredStreamTagsMember as R, isTerminationProtectionPropagationError as Ra, canonicalCoordinates as Rc, hasPlainPrototype$1 as Rd, storedSecretNameNeedles as Ri, recordNoEchoParameterFreshValue as Rl, mappingPairs as Rn, INTRINSIC_KEYS as Ro, WITHHELD_NAME_DISPLAY as Rr, refuseMalformedResourcePropertiesForDrift as Rs, readRefactorMarkerOnce as Rt, resolveDockerContextDirectory as Ru, pendingMovesRefusalMessage as S, getCurrentResourceSecrets as Sa, findActionableSdkUnwired as Sc, uploadCfnTemplate as Sd, noEchoAttributeNamesOf as Si, isUncertifiedBaselineMaskPosition as Sl, DeploymentEventsReader as Sn, cfnRefValueFromPhysicalId as So, segmentCleanupOptions as Sr, malformedLocalResourceEntriesWarning as Ss, deleteTableWithIndexBusyRetry as St, buildAssetRedirectMap as Su, findServiceTokenRefusals as T, CloudControlProvider as Ta, unwrittenCreateOnlyReplacement as Tc, expectedOwnerParam as Td, noEchoParameterNamesOf as Ti, identityKeyFor as Tl, findDestructiveChanges as Tn, refStateLookupFromResource as To, nameGenerationCarriedFrom as Tr, malformedScrubResourceEntriesRefusalMessage as Ts, waitForIndexesSettled as Tt, rewriteTemplateAssetReferences as Tu, streamMemberRefusals as U, unchangedBehindSecretReference as Ua, maskedLeafCoordinatesOf as Uc, displayAssemblyPath as Ud, withSecretPhysicalIdsMaskedInState as Ui, LockManager as Ul, replayFailedOperations as Un, withUnsettledProperties as Uo, secretSafeKeyDisplay as Ur, hasReadableOrphans as Us, updateRefactorMarker as Ut, redactedDockerCause as Uu, streamDeclaresPolicy as V, reEnableInstanceApiTermination as Va, maskReadbackAtCoordinates as Vc, absoluteAssemblyPathEscape as Vd, maskedSecretSegment as Vi, WHOLE_DYNAMIC_REFERENCE_PATTERN as Vl, proposeRenames as Vn, unsettledItemsOf as Vo, secretBearing as Vr, repairMalformedResourcePropertiesForReadOnly as Vs, refuseRefactorMarker as Vt, describeDockerFailure as Vu, streamPolicyMatchesDeclared as W, isWaitAbandonedError as Wa, noEchoCoordinatesOf as Wc, renderAssemblyPathEscape as Wd, ATOMIC_FINAL_SNAPSHOT_TYPES as Wi, isLockInfoExpired as Wl, replayRollback as Wn, withoutUnsettledProperties as Wo, carriedExportAliasExposure as Wr, malformedOrphansRefusalMessage as Ws, getPriorAttempts as Wt, redactDockerArgvValues as Wu, sendTtlWaitingOutRateLimit as X, resolveDynamicReferences as Xa, recordedNoEchoValuesOf as Xc, refusesFinalSnapshot as Xi, hasReadableExportSet as Xl, equalModuloMarkedMask as Xn, renderStatefulReason as Xo, collectPublishedOutputNames as Xr, malformedExportSourceWarning as Xs, withApiLimit as Xt, isMalformedEnvKey as Xu, readTtlSpec as Y, isSettledInstanceState as Ya, readsNoEchoSource as Yc, resolveBucketRegion as Yd, isFinalSnapshotError as Yi, exportNamesCarriedFrom as Yl, calculateResourceDrift as Yn, isStatefulRecreateTargetSync as Yo, collectDeclaredOutputNames as Yr, malformedExportNamesWarning as Ys, lookupEachName as Yt, isDockerClientEnvKey as Yu, planVectorIndexUpdates as Z, producerLookupOver as Za, valueAtCoordinate as Zc, unsupportedFinalSnapshotError as Zi, importableOutputKeys as Zl, equalModuloMask as Zn, WARM_THROUGHPUT_MEMBERS as Zo, isExportAliasCollision as Zr, malformedLocalOutputsWarning as Zs, pendingRequestCount as Zt, formatDockerLoginError as Zu, listNestedTemplateRows as _, applyCustomResourceResponseExpiration as _a, STATE_RESOURCES_MALFORMED as _c, ssmResolvedValueType as _d, cyan as _i, scrubResourceRecord as _l, loadJournaledOrphans as _n, s3BucketWebsiteUrl as _o, findNestedStackTypeChanges as _r, refuseMalformedOrphansForOrphan as _s, resolveDynamoDbDeleteBudgetClock as _t, withStackInstanceIdWithheld as _u, scanActiveConsumers as a, readTagList as aa, refuseDivergentRecordRegionForDestroy as ac, getDefaultStateBucketName as ad, withStackRecords as ai, hasMaskableValues as al, recordDisplacedSkips as an, AWS_CREDENTIAL_ENV_KEYS as ao, acquireIdempotencyToken as ar, withRetry as as, planContributorInsightsOp as at, hasUnverifiableParameterRefusal as au, hasPendingMovesOut as b, readsNoEchoDeleteValues as ba, hasReadableOutputs as bc, MIGRATE_TMP_PREFIX as bd, red as bi, DYNAMIC_REFERENCE_TOKEN_SCAN as bl, makeSiblingClaimReader as bn, parameterTypeMayLoseSecretIdentity as bo, redactedDeleteAddressFields as br, unreadableOrphanRecords as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, stringifyValue as bu, inheritedProvenanceForChildDiff as c, tagPlanWarning as ca, malformedStateRefusalMessage as cc, resolveApp as cd, holdsSupersededResources as ci, printingCorpusOf as cl, withNestedRevertRun as cn, envCredentialsAreAssumedRole as co, demoteSupersededOrphans as cr, declaresNoEcho as cs, reverseMapIndexContributorInsights as ct, timePhase as cu, conditionInputsFrom as d, CC_BROKEN_REASON as da, refuseMalformedResourcesForExport as dc, resolveSkipPrefix as dd, supersededHeldByOtherTypeWarning as di, shareLogOnlyValues as dl, withNestedStackContext as dn, producerRegionsFromState as do, planFailedOps as dr, malformedOrphanRecordsRefusalMessage as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, CrossPrefixScanCache as du, definedAttributes as ea, refuseMalformedNestedChildOutputs as ec, runDockerStreaming as ed, DEFAULT_RESOURCE_WARN_AFTER_MS as ei, redactForState as el, displacedOpClause as en, assertFlagRoleArn as eo, updatePartialReason as er, toCfnInteger as es, vectorIndexesSettled as et, orphansAfterRollback as eu, parentSuppliedValues as f, ProviderRegistry as fa, refuseMalformedState as fc, resolveStateBucketWithDefault as fd, supersededHolderOf as fi, unionOfSecretBags as fl, deleteJournaledOrphans as fn, regionLessSecretName as fo, recheckFailedPlan as fr, malformedOrphanRecordsWarning as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, applyCrossPrefixScan as fu, isAbsoluteAssetPath as g, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ga, withheldAccountClause as gc, warnDeprecatedNoPrefixCliFlag as gd, bold as gi, maskSecretsInText as gl, journaledOrphanLines as gn, s3BucketRegionalDomainName as go, withPreviousPolicies as gr, refuseMalformedOrphanRecordsForDestroy as gs, deleteBudgetKey as gt, stackInstanceIdOf as gu, findNestedTemplateTreeDefect as h, wouldReturnToSdkProvider as ha, accountArgs as hc, stateBucketExistenceConfirmed as hd, refuseRestoreFromItself as hi, maskSecretsInError as hl, isHandledOrphan as hn, s3BucketDualStackDomainName as ho, resolveReplacementOldType as hr, refuseMalformedOrphanRecords as hs, compensateRemovedDeletionProtection as ht, isNotImplemented as hu, mergeNoChangeOutputs as i, planTagDiff as ia, STATE_REGION_DIVERGED as ic, synthesisStatusMessage as id, getStackRecords as ii, createUnionSecretMasker as il, nestedChildStackName as in, sendableAssumeRoleCommand as io, withCreateTokenLedger as ir, describeTypeWithThrottleRetry as is, indexDeclaresContributorInsights as it, hasReasonlessBaselineRefusal as iu, isProtectionValueActive as j, UNSPECIFIED_SKIP_REASON as ja, ecsServiceLaunchTypeSetOrChanged as jc, StageLoadError as jd, namingSecretsWithRecordedNoEcho as ji, recordNestedStackParameterExpressions as jl, withMovedTo as jn, getAccountInfo as jo, withNameGenerationReached as jr, refuseMalformedResourceEntriesForImportSave as js, enclosingDeadlineRemainingMs as jt, getBootstrapMarkerKey as ju, recordedProtectionNote as k, slowCcOperationTimeoutMs as ka, blockDeviceMappingsDifferOnlyInDeleteOnTermination as kc, refuseFailedLookups as kd, journaledOrphanPrintingBag as ki, recordAttributeIdCopy as kl, movedToHint as kn, recordedOutputReferenceRegions as ko, retiredNameGenerationsAfter as kr, refuseMalformedResourceEntriesForDestroy as ks, isTruthyCfnBoolean as kt, assertAssetBucketRegion as ku, makeCanonicalizePropertiesFn as l, isRefusedByName as la, refuseMalformedResourcesForDeploy as lc, resolveAutoAssetStorage as ld, isSupersededResourceRecord as li, recordLogOnlyParameterValue as ll, collectNestedChildUnaddressed as ln, classifyRecordedSecretRegion as lo, isJournaledOrphan as lr, deployRefusesOrphanRowsReason as ls, reverseMapTableContributorInsights as lt, rebuildClientForBucketRegion as lu, childTemplateLoader as m, isCustomResource as ma, JSON_LISTING_HOLE_VALUE as mc, resolveUseCdkBootstrapAssets as md, withoutSuperseded as mi, errorCauseChain as ml, dropFailedHint as mn, s3BucketDomainName as mo, replacementNeverSwapped as mr, previewableOrphanRecords as ms, beginDeleteWait as mt, isAccessDenied$1 as mu, isSecretBearingReferenceString as n, DBPROXY_TAGS_WHAT as na, refuseMalformedOutputsForDestroy as nc, getDockerImageBySourceHash as nd, awaitInFlightSibling as ni, snapshotPassProvenance as nl, dropSettledNestedJournals as nn, explicitRoleArnOrThrow as no, ledgerForStack as nr, prefetchCreateOnlyPropertyPaths as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, shouldRetainResource as nu, inRunStackKey as o, refuseMalformedDesiredTags as oa, malformedRenderedContainersWarning as oc, getLegacyStateBucketName as od, replacedDeleteFailureVerdict as oi, literalSplitDelimitersOf as ol, revertNestedChildFromJournal as on, applyCallerIdentityCredentials as oo, planRollback as or, parameterInputsFor as os, planIndexContributorInsightsOps as ot, PhaseClock as ou, readRecordedConditionVerdicts as p, ccBrokenReason as pa, repairMalformedResourcesForReadOnly as pc, resolveStateBucketWithDefaultAndSource as pd, supersededResourcesOf as pi, createSecretMasker as pl, dropFailedCommands as pn, s3BucketArn as po, recordUnderIdIsNotOwn as pr, malformedOrphanRowsKeptWarning as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, crossPrefixDeniedWarning as pu, isTtlRateLimited as q, isAlwaysLiveAttribute as qa, passedNoEchoParametersOf as qc, injectedAwsRegionValue as qd, ccRoutedInstanceTakesNoSnapshot as qi, acceptedCreateOnlyDropsOf as ql, settleUnsettledPrevious as qn, MULTI_REGION_RECREATE_BLOCKED_TYPES as qo, isWholeDynamicReferenceValue as qr, refuseMalformedOrphansForDestroy as qs, chunks as qt, partitionSensitiveEnv as qu, keptWholeReasonText as r, DBPROXY_TAG_OPTIONS as ra, repairMalformedOutputsForReadOnly as rc, Synthesizer as rd, destroyStackRecordsView as ri, carryLogOnlyValues as rl, getNestedRevertRun as rn, isIamRoleArn as ro, reserveStackCreateToken as rr, templateResourceTypes as rs, contributorInsightsRefusals as rt, stackInstanceIdCarriedFrom as ru, crossStackOutputProvenanceSource as s, tagMapAsList as sa, malformedResourcesWarning as sc, loadCdkJson as sd, deleteSupersededEntry as si, logOnlyValueCount as sl, revertedNestedRowIds as sn, callerEnvCredentials as so, seedsDeleteFirstGuard as sr, passedParameterClassesOf as ss, readContributorInsightsSpec as st, renderPhaseTimings as su, DeployEngine as t, stringifyIfAssigned as ta, refuseMalformedOutputs as tc, AssetManifestLoader as td, maskingRetryLogger as ti, recordReferenceProvenanceEntry as tl, displacedPhysicalIdShown as tn, assertSendableRoleArn as to, earliestDefined as tr, toFiniteNumber as ts, vectorIndexesShapeDetail as tt, orphansCarriedFrom as tu, conditionFingerprint as u, markDeleteStarted as ua, refuseMalformedResourcesForDestroy as uc, resolveCaptureObservedState as ud, supersededAfterRollback as ui, recordLogOnlyValue as ul, getCurrentNestedStackContext as un, classifyReplaySecretRegion as uo, isReplacementOrphan as ur, isReadableOrphanRecord as us, stripIndexContributorInsights as ut, CrossPrefixReadError as uu, renderNestedTemplateTreeDefect as v, customResourceResponseExpirationWarning as va, UNREADABLE_RESOURCES_MAP_ROW as vc, CFN_TEMPLATE_BODY_LIMIT as vd, gray as vi, withPhysicalNameCopies as vl, sameJournaledOrphans as vn, coerceParameterTypedValue as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, repairMalformedOrphanRecordsForReadOnly as vs, resolveDynamoDbDeleteBudgetMs as vt, AssetPublisher as vu, deferredServiceTokenWarning as w, waitForLambdaFunctionActive as wa, findSdkUnwiredProperties as wc, decodeListingKey as wd, noEchoExactEchoLeavesOf as wi, pathCrossesDottedKey as wl, constructPathOf as wn, lacksRecordedTableArn as wo, orphanNeedsIdentity as wr, malformedResourceEntriesWarning as ws, relayedIndexBusyDelete as wt, loadPublishableAssetManifest as wu, pendingMovesOutOf as x, isCustomResourceType as xa, hasReadableResources as xc, findLargeInlineResources as xd, yellow as xi, dynamicReferenceTokens as xl, planOrphanAdoption as xn, AWS_NO_VALUE as xo, redactedDeleteAddressSkip as xr, isReadableResourceEntry as xs, TABLE_INDEX_NOUN as xt, WorkGraph as xu, templateIdentity as y, TemplateNoEchoReresolver as ya, displayLogicalId as yc, CFN_TEMPLATE_URL_LIMIT as yd, green as yi, withoutPhysicalNameCopies as yl, makeForeignHolderScan as yn, isUnboundTemplateParameter as yo, isRedactedRecordedValue as yr, unpreviewableOrphanRecords as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, isSensitiveAttributeName as yu, planStreamMemberOps as z, observeThenDisableInstanceApiTermination as za, isMarkedCoordinate as zc, nullPrototypeRecord as zd, extractDeploymentEventError as zi, recordProvenPublicExpression as zl, parseMappingFile as zn, isUsableAttemptedName as zo, displayTextOrWithheld as zr, refuseMalformedResourcePropertiesForExport as zs, refactorMarkerMovesOf as zt, describeDockerCapturedOutput as zu };
59158
- //# sourceMappingURL=deploy-engine-DtUOqlzH.js.map
59410
+ export { vectorIndexesForCreate as $, poisonRenderedSpellingsCollidingIn as $a, passedNoEchoParametersOf as $c, injectedAwsRegionValue as $d, isFinalSnapshotError as $i, describeRegionValueKind as $l, updatePartialMessage as $n, MULTI_REGION_RECREATE_BLOCKED_TYPES as $o, DEFAULT_RESOURCE_TIMEOUT_MS as $r, refuseMalformedOrphansForDestroy as $s, NESTED_PENDING_PARENT_REASON as $t, warnFinchArgvExposure as $u, PROTECTION_PROPERTY_BY_TYPE as A, waitForGoneAfterDelete as Aa, findSdkUnwiredProperties as Ac, expectedOwnerParam as Ad, withAttemptedItemsMasked as Ai, identityKeyFor as Al, rollbackOrphanIds as An, lacksRecordedTableArn as Ao, retiredNameGenerationsLeaving as Ar, malformedResourceEntriesWarning as As, enclosingDeadlineExpired as At, rewriteTemplateAssetReferences as Au, reverseMapStreamPolicy as B, disableInstanceApiTermination as Ba, lambdaFunctionNameForMask as Bc, utf8ByteLength as Bd, secretNamedRecordNeedles as Bi, recordMaskOnlyValue as Bl, propertiesChangedReason as Bn, isNamelessDynamicReferenceError as Bo, exportAliasCollisionScrubWarning as Br, unreadableResourceEntries as Bs, refactorMarkerRefusalMessage as Bt, validateContainerRepoName as Bu, refusePendingMovesOut as C, TemplateNoEchoReresolver as Ca, STATE_RESOURCES_MALFORMED as Cc, CFN_TEMPLATE_BODY_LIMIT as Cd, green as Ci, withPhysicalNameCopies as Cl, DeploymentEventsStore as Cn, s3BucketWebsiteUrl as Co, removeProtectionTypeList as Cr, refuseMalformedOrphansForOrphan as Cs, maskedLogger as Ct, AssetPublisher as Cu, diffSecurity as D, withPrintingSecrets as Da, hasReadableResources as Dc, uploadCfnTemplate as Dd, noEchoComparisonForTemplate as Di, isUncertifiedBaselineMaskPosition as Dl, findRefactorHints as Dn, AWS_NO_VALUE as Do, nameScopeOf as Dr, isReadableResourceEntry as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, buildAssetRedirectMap as Du, serviceTokenBlockingReason as E, getCurrentResourceSecrets as Ea, hasReadableOutputs as Ec, findLargeInlineResources as Ed, noEchoAttributeNamesOf as Ei, dynamicReferenceTokens as El, formatDestructiveChange as En, parameterTypeMayLoseSecretIdentity as Eo, nameGenerationHighWaterOf as Er, unreadableOrphanRecords as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, WorkGraph as Eu, STREAM_POLICY_KEY as F, UNSPECIFIED_SKIP_REASON as Fa, blockDeviceMappingsDifferOnlyInDeleteOnTermination as Fc, AssemblyReader as Fd, namingSecretsWithRecordedNoEcho as Fi, recordPhysicalNameCopy as Fl, differingRemedy as Fn, recordedOutputReferenceRegions as Fo, namesAnyDeclaredParameter as Fr, refuseMalformedResourceEntriesForDestroy as Fs, keptForRetainedRecord as Ft, isCrossRegionRedirect as Fu, streamTagsMatchDeclared as G, reEnableInstanceApiTermination as Ga, isMarkedCoordinate as Gc, ownValue as Gd, maskedSecretSegment as Gi, wholeStringLeavesOf as Gl, DELETED_RESOURCE_REMEDY as Gn, isUsableAttemptedName as Go, exportNameNoEchoParameters as Gr, refuseMalformedResourcePropertiesForExport as Gs, markRefusedBeforeApplying as Gt, describeDockerExecFailure as Gu, streamDeclaresTags as H, isTerminationProtectionPropagationError as Ha, DagBuilder as Hc, hasOwnKey as Hd, storedSecretNameNeedles as Hi, recordNoEchoAttributeValues as Hl, referencedLogicalIds as Hn, keepsSecretReferenceToken as Ho, secretBearingStateKeyWarning as Hr, malformedResourcePropertiesWarning as Hs, sameMove as Ht, buildDockerImage as Hu, STREAM_TAGS_KEY as I, deleteIndeterminateGuards as Ia, dbInstanceEngineChangeIsInPlace as Ic, StageLoadError as Id, orphanRecordsPrintingBag as Ii, recordNestedStackParameterExpressions as Il, isPairableType as In, recordedReferenceRegions as Io, reachableDivergentParameters as Ir, refuseMalformedResourceEntriesForImport as Is, recordRetainedForReadoption as It, getBootstrapMarkerKey as Iu, planTimeToLive as J, isWaitAbandonedError as Ja, maskWholeValue as Jc, displayAssemblyPath as Jd, ATOMIC_FINAL_SNAPSHOT_TYPES as Ji, LockManager as Jl, withUnprovenUnsettled as Jn, unsettledPropertiesOf as Jo, noEchoParameterValueSeed as Jr, UNREADABLE_ORPHANS_CONTAINER_ROW as Js, isAccessDeniedError as Jt, redactedDockerCause as Ju, isTtlAlreadyDisabled as K, onlySecretReferencesDiffer as Ka, maskAtCoordinates as Kc, absoluteAssemblyPathEscape as Kd, secretSegmentsOfState as Ki, WHOLE_DYNAMIC_REFERENCE_PATTERN as Kl, recordAfterRollbackUpdate as Kn, unsettledItemsField as Ko, exportNameSecretExposure as Kr, refuseMalformedResourcePropertiesForOrphan as Ks, formatResourceLine as Kt, describeDockerFailure as Ku, declaredStreamPolicyMember as L, deleteLeftInPlace as La, ecsServiceLaunchTypeSetOrChanged as Lc, processStackMessages as Ld, secretNamePrintingBag as Li, splitGetAttStringForm as Ll, looselyEqual as Ln, getAccountInfo as Lo, resourcesNamingDeclaredParameter as Lr, refuseMalformedResourceEntriesForImportSave as Ls, readRefactorMarker as Lt, parseBootstrapMarker as Lu, perType as M, setResolvedResourceTimeouts as Ma, withoutSdkUnwiredProperties as Mc, canonicalizeRegion as Md, completedReplayEntries as Mi, recoverMaskedOutput as Ml, changedReferenceInDiff as Mn, parseWebACLArn as Mo, getCurrentProducerRegions as Mr, refuseMalformedResourceAttributesForOrphan as Ms, withResourceDeadline as Mt, ensureAssetStorage as Mu, readProtection as N, slowCcOperationTimeoutMs as Na, NO_CC_HANDLERS_REASON as Nc, derivePartitionAndUrlSuffix as Nd, journaledOrphanPrintingBag as Ni, physicalNameCopiesOf as Nl, changedReferencePath as Nn, keepHeldTokenProvenance as No, inheritProducerRegions as Nr, refuseMalformedResourceEntries as Ns, IMPLICIT_DELETE_DEPENDENCIES as Nt, buildDenyExternalAccessPolicy as Nu, recordedProtectionEvidence as O, waitForLambdaFunctionActive as Oa, findActionableSdkUnwired as Oc, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Od, noEchoExactEchoLeavesOf as Oi, spelledKeysOf as Ol, hintSidesOf as On, cfnRefValueFromPhysicalId as Oo, retiredAfterRollback as Or, malformedLocalResourceEntriesWarning as Os, hasCdkAutoDeleteTag as Ot, createAssetRedirectResolver as Ou, DynamoDBGlobalTableProvider as P, RollbackInlinePolicyWriters as Pa, hasNoCloudControlHandlers as Pc, refuseFailedLookups as Pd, maskEventTextWithBoundBags as Pi, recordAttributeIdCopy as Pl, changedReferenceReason as Pn, outputReferenceProvenanceOf as Po, computeParameterTaint as Pr, refuseMalformedResourceEntriesForDeploy as Ps, computeImplicitDeleteEdges as Pt, assertAssetBucketRegion as Pu, readbackVectorIndexes as Q, isAlwaysLiveAttribute as Qa, noEchoOutputsComparison as Qc, injectAwsRegion as Qd, effectiveDeletionPolicy as Qi, acceptedCreateOnlyDropsOf as Ql, undeclaredEmptyObservedKeys as Qn, shownType as Qo, bindingSkippedOutputs as Qr, refuseMalformedOrphans as Qs, resolvePendingCloudControlRequests as Qt, partitionSensitiveEnv as Qu, declaredStreamTagsMember as R, deleteSkipReason as Ra, emrClusterInstancesReplaced as Rc, describeJsonParseFailure as Rd, secretNamePrintingBags as Ri, carriesSecretMask as Rl, mappingPairs as Rn, isImpossibleEmptyStoredAttribute as Ro, WITHHELD_NAME_DISPLAY as Rr, refuseMalformedResourceEntriesForOrphan as Rs, readRefactorMarkerOnce as Rt, readBootstrapMarkerBody as Ru, pendingMovesRefusalMessage as S, customResourceResponseExpirationWarning as Sa, withheldAccountClause as Sc, ssmResolvedValueType as Sd, gray as Si, scrubResourceRecord as Sl, DeploymentEventsReader as Sn, s3BucketRegionalDomainName as So, segmentCleanupOptions as Sr, refuseMalformedOrphanRecordsForDestroy as Ss, deleteTableWithIndexBusyRetry as St, withStackInstanceIdWithheld as Su, findServiceTokenRefusals as T, isCustomResourceType as Ta, displayLogicalId as Tc, MIGRATE_TMP_PREFIX as Td, yellow as Ti, DYNAMIC_REFERENCE_TOKEN_SCAN as Tl, findDestructiveChanges as Tn, isUnboundTemplateParameter as To, nameGenerationCarriedFrom as Tr, unpreviewableOrphanRecords as Ts, waitForIndexesSettled as Tt, stringifyValue as Tu, streamMemberRefusals as U, observeThenDisableInstanceApiTermination as Ua, TemplateParser as Uc, hasPlainPrototype$1 as Ud, extractDeploymentEventError as Ui, recordNoEchoParameterFreshValue as Ul, replayFailedOperations as Un, withSharedDrainBudget as Uo, secretSafeKeyDisplay as Ur, refuseMalformedResourcePropertiesForDestroy as Us, updateRefactorMarker as Ut, resolveDockerContextDirectory as Uu, streamDeclaresPolicy as V, ec2InstanceProtectionSite as Va, sameLambdaFunctionAddress as Vc, defineOwnKey as Vd, stateSecretNameNeedles as Vi, recordMaskOnlyValuesIn as Vl, proposeRenames as Vn, carriesDynamicReference as Vo, secretBearing as Vr, malformedDriftResourcePropertiesWarning as Vs, refuseRefactorMarker as Vt, BOOTSTRAP_MARKER_PREFIX as Vu, streamPolicyMatchesDeclared as W, reDisableInstanceApiTermination as Wa, canonicalCoordinates as Wc, nullPrototypeRecord as Wd, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Wi, recordProvenPublicExpression as Wl, replayRollback as Wn, INTRINSIC_KEYS as Wo, carriedExportAliasExposure as Wr, refuseMalformedResourcePropertiesForDrift as Ws, getPriorAttempts as Wt, describeDockerCapturedOutput as Wu, sendTtlWaitingOutRateLimit as X, IntrinsicFunctionResolver as Xa, noEchoCoordinatesOf as Xc, resolveAssemblyPath as Xd, ccRoutedFinalSnapshotError as Xi, S3StateBackend as Xl, equalModuloMarkedMask as Xn, withoutUnsettledProperties as Xo, collectPublishedOutputNames as Xr, malformedOrphansRefusalMessage as Xs, withApiLimit as Xt, dockerSpawnEnvWithSensitive as Xu, readTtlSpec as Y, DiffCalculator as Ya, maskedLeafCoordinatesOf as Yc, renderAssemblyPathEscape as Yd, PRE_DELETE_SNAPSHOT_TYPES as Yi, isLockInfoExpired as Yl, calculateResourceDrift as Yn, withUnsettledProperties as Yo, collectDeclaredOutputNames as Yr, hasReadableOrphans as Ys, lookupEachName as Yt, redactDockerArgvValues as Yu, planVectorIndexUpdates as Z, isSelectOutOfBounds as Za, noEchoLeavesOf as Zc, setChildProcessAwsEnv as Zd, ccRoutedInstanceTakesNoSnapshot as Zi, splitImportedOps as Zl, equalModuloMask as Zn, findReplacedReadersOfRecreateTargets as Zo, isExportAliasCollision as Zr, malformedOrphansWarning as Zs, pendingRequestCount as Zt, finchSecretArgvRefusal as Zu, listNestedTemplateRows as _, ccBrokenReason as _a, refuseMalformedResourcesForExport as _c, resolveStateBucketWithDefault as _d, pointInTimeTemplateRefusal as _i, unionOfSecretBags as _l, loadJournaledOrphans as _n, producerRegionsFromState as _o, findNestedStackTypeChanges as _r, malformedOrphanRecordsRefusalMessage as _s, resolveDynamoDbDeleteBudgetClock as _t, applyCrossPrefixScan as _u, scanActiveConsumers as a, stringifyIfAssigned as aa, malformedOutputsWarning as ac, runDockerStreaming as ad, withStackRecords as ai, redactForState as al, recordDisplacedSkips as an, applyRoleArnIfSet as ao, acquireIdempotencyToken as ar, isWarmThroughputDecrease as as, planContributorInsightsOp as at, orphansAfterRollback as au, hasPendingMovesOut as b, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ba, JSON_LISTING_HOLE_VALUE as bc, stateBucketExistenceConfirmed as bd, bold as bi, maskSecretsInError as bl, makeSiblingClaimReader as bn, s3BucketDomainName as bo, redactedDeleteAddressFields as br, previewableOrphanRecords as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, isNotImplemented as bu, inheritedProvenanceForChildDiff as c, planTagDiff as ca, refuseMalformedOutputsForDestroy as cc, Synthesizer as cd, holdsSupersededResources as ci, carryLogOnlyValues as cl, withNestedRevertRun as cn, explicitRoleArnOrThrow as co, demoteSupersededOrphans as cr, prefetchCreateOnlyPropertyPaths as cs, reverseMapIndexContributorInsights as ct, stackInstanceIdCarriedFrom as cu, conditionInputsFrom as d, tagMapAsList as da, refuseDivergentRecordRegionForDestroy as dc, getLegacyStateBucketName as dd, supersededHeldByOtherTypeWarning as di, literalSplitDelimitersOf as dl, withNestedStackContext as dn, AWS_CREDENTIAL_ENV_KEYS as do, planFailedOps as dr, withRetry as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, PhaseClock as du, refusesFinalSnapshot as ea, repairMalformedOrphansForReadOnly as ec, isDockerClientEnvKey as ed, clearBucketRegionCache as ef, DEFAULT_RESOURCE_WARN_AFTER_MS as ei, readsNoEchoSource as el, displacedOpClause as en, stackIdTailOf as eo, updatePartialReason as er, isStatefulRecreateTargetForReplace as es, vectorIndexesSettled as et, exportNamesCarriedFrom as eu, parentSuppliedValues as f, tagPlanWarning as fa, malformedRenderedContainersWarning as fc, loadCdkJson as fd, supersededHolderOf as fi, logOnlyValueCount as fl, deleteJournaledOrphans as fn, applyCallerIdentityCredentials as fo, recheckFailedPlan as fr, parameterInputsFor as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, renderPhaseTimings as fu, isAbsoluteAssetPath as g, ProviderRegistry as ga, refuseMalformedResourcesForDestroy as gc, resolveSkipPrefix as gd, declaresInstancePointInTime as gi, shareLogOnlyValues as gl, journaledOrphanLines as gn, classifyReplaySecretRegion as go, withPreviousPolicies as gr, isReadableOrphanRecord as gs, deleteBudgetKey as gt, CrossPrefixScanCache as gu, findNestedTemplateTreeDefect as h, CC_BROKEN_REASON as ha, refuseMalformedResourcesForDeploy as hc, resolveCaptureObservedState as hd, POINT_IN_TIME_NO_SOURCE_REASON as hi, recordLogOnlyValue as hl, isHandledOrphan as hn, classifyRecordedSecretRegion as ho, resolveReplacementOldType as hr, deployRefusesOrphanRowsReason as hs, compensateRemovedDeletionProtection as ht, CrossPrefixReadError as hu, mergeNoChangeOutputs as i, definedAttributes as ia, malformedOutputsRefusalMessage as ic, runDockerForeground as id, getStackRecords as ii, markSameGenerationBag as il, nestedChildStackName as in, refuseUnreadableCdkCrossAccountRefs as io, withCreateTokenLedger as ir, coerceWarmThroughput as is, indexDeclaresContributorInsights as it, isReadableBag as iu, isProtectionValueActive as j, resolvedResourceTimeoutMs as ja, unwrittenCreateOnlyReplacement as jc, PARTITION_TABLE as jd, createReadOnlyAttributeHealerFactory as ji, inheritNestedStackParameterAssociations as jl, withMovedTo as jn, refStateLookupFromResource as jo, withNameGenerationReached as jr, malformedScrubResourceEntriesRefusalMessage as js, enclosingDeadlineRemainingMs as jt, AssetModeResolver as ju, recordedProtectionNote as k, CloudControlProvider as ka, findHandledUnwrittenCreateOnly as kc, decodeListingKey as kd, noEchoParameterNamesOf as ki, pathCrossesDottedKey as kl, movedToHint as kn, isStalePlaceholderArnAttribute as ko, retiredNameGenerationsAfter as kr, malformedLocalResourcesWarning as ks, isTruthyCfnBoolean as kt, loadPublishableAssetManifest as ku, makeCanonicalizePropertiesFn as l, readTagList as la, repairMalformedOutputsForReadOnly as lc, synthesisStatusMessage as ld, isSupersededResourceRecord as li, createUnionSecretMasker as ll, collectNestedChildUnaddressed as ln, isIamRoleArn as lo, isJournaledOrphan as lr, templateResourceTypes as ls, reverseMapTableContributorInsights as lt, hasReasonlessBaselineRefusal as lu, childTemplateLoader as m, markDeleteStarted as ma, malformedStateRefusalMessage as mc, resolveAutoAssetStorage as md, withoutSuperseded as mi, recordLogOnlyParameterValue as ml, dropFailedHint as mn, envCredentialsAreAssumedRole as mo, replacementNeverSwapped as mr, declaresNoEcho as ms, beginDeleteWait as mt, rebuildClientForBucketRegion as mu, isSecretBearingReferenceString as n, createPreDeleteFinalSnapshot as na, malformedExportSourceWarning as nc, formatDockerLoginError as nd, awaitInFlightSibling as ni, valueAtCoordinate as nl, dropSettledNestedJournals as nn, resolveDynamicReferences as no, ledgerForStack as nr, renderStatefulReason as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, importableOutputKeys as nu, inRunStackKey as o, DBPROXY_TAGS_WHAT as oa, refuseMalformedNestedChildOutputs as oc, AssetManifestLoader as od, replacedDeleteFailureVerdict as oi, recordReferenceProvenanceEntry as ol, revertNestedChildFromJournal as on, assertFlagRoleArn as oo, planRollback as or, toCfnInteger as os, planIndexContributorInsightsOps as ot, orphansCarriedFrom as ou, readRecordedConditionVerdicts as p, isRefusedByName as pa, malformedResourcesWarning as pc, resolveApp as pd, supersededResourcesOf as pi, printingCorpusOf as pl, dropFailedCommands as pn, callerEnvCredentials as po, recordUnderIdIsNotOwn as pr, passedParameterClassesOf as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, timePhase as pu, isTtlRateLimited as q, unchangedBehindSecretReference as qa, maskReadbackAtCoordinates as qc, describeFileReadFailure as qd, withSecretPhysicalIdsMaskedInState as qi, isSingleDynamicReferenceToken as ql, settleUnsettledPrevious as qn, unsettledItemsOf as qo, isWholeDynamicReferenceValue as qr, repairMalformedResourcePropertiesForReadOnly as qs, chunks as qt, redactedCause as qu, keptWholeReasonText as r, buildFinalSnapshotIdentifier as ra, malformedLocalOutputsWarning as rc, getDockerCmd as rd, destroyStackRecordsView as ri, liveMatchesUnresolvedTokenFrame as rl, getNestedRevertRun as rn, producerLookupOver as ro, reserveStackCreateToken as rr, WARM_THROUGHPUT_MEMBERS as rs, contributorInsightsRefusals as rt, importableOutputs as ru, crossStackOutputProvenanceSource as s, DBPROXY_TAG_OPTIONS as sa, refuseMalformedOutputs as sc, getDockerImageBySourceHash as sd, deleteSupersededEntry as si, snapshotPassProvenance as sl, revertedNestedRowIds as sn, assertSendableRoleArn as so, seedsDeleteFirstGuard as sr, toFiniteNumber as ss, readContributorInsightsSpec as st, shouldRetainResource as su, DeployEngine as t, unsupportedFinalSnapshotError as ta, malformedExportNamesWarning as tc, isMalformedEnvKey as td, resolveBucketRegion as tf, maskingRetryLogger as ti, recordedNoEchoValuesOf as tl, displacedPhysicalIdShown as tn, isSettledInstanceState as to, earliestDefined as tr, isStatefulRecreateTargetSync as ts, vectorIndexesShapeDetail as tt, hasReadableExportSet as tu, conditionFingerprint as u, refuseMalformedDesiredTags as ua, STATE_REGION_DIVERGED as uc, getDefaultStateBucketName as ud, supersededAfterRollback as ui, hasMaskableValues as ul, getCurrentNestedStackContext as un, sendableAssumeRoleCommand as uo, isReplacementOrphan as ur, describeTypeWithThrottleRetry as us, stripIndexContributorInsights as ut, hasUnverifiableParameterRefusal as uu, renderNestedTemplateTreeDefect as v, isCustomResource as va, refuseMalformedState as vc, resolveStateBucketWithDefaultAndSource as vd, refuseRestoreFromItself as vi, createSecretMasker as vl, sameJournaledOrphans as vn, regionLessSecretName as vo, REDACTED_DELETE_ADDRESS_SKIP_REASON as vr, malformedOrphanRecordsWarning as vs, resolveDynamoDbDeleteBudgetMs as vt, crossPrefixDeniedWarning as vu, deferredServiceTokenWarning as w, readsNoEchoDeleteValues as wa, UNREADABLE_RESOURCES_MAP_ROW as wc, CFN_TEMPLATE_URL_LIMIT as wd, red as wi, withoutPhysicalNameCopies as wl, constructPathOf as wn, coerceParameterTypedValue as wo, orphanNeedsIdentity as wr, repairMalformedOrphanRecordsForReadOnly as ws, relayedIndexBusyDelete as wt, isSensitiveAttributeName as wu, pendingMovesOutOf as x, applyCustomResourceResponseExpiration as xa, accountArgs as xc, warnDeprecatedNoPrefixCliFlag as xd, cyan as xi, maskSecretsInText as xl, planOrphanAdoption as xn, s3BucketDualStackDomainName as xo, redactedDeleteAddressSkip as xr, refuseMalformedOrphanRecords as xs, TABLE_INDEX_NOUN as xt, stackInstanceIdOf as xu, templateIdentity as y, wouldReturnToSdkProvider as ya, repairMalformedResourcesForReadOnly as yc, resolveUseCdkBootstrapAssets as yd, parseZonedTimestamp as yi, errorCauseChain as yl, makeForeignHolderScan as yn, s3BucketArn as yo, isRedactedRecordedValue as yr, malformedOrphanRowsKeptWarning as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, isAccessDenied$1 as yu, planStreamMemberOps as z, withIndeterminateGuard as za, canonicalLambdaFunctionName as zc, parseFailureDebugDetail as zd, secretNamedAttributeNamesOf as zi, provenPublicValue as zl, parseMappingFile as zn, carriesFetchableDynamicReference as zo, displayTextOrWithheld as zr, repairMalformedResourceEntriesForReadOnly as zs, refactorMarkerMovesOf as zt, validateAssetBucketName as zu };
59411
+ //# sourceMappingURL=deploy-engine-DMWjQ_C2.js.map