@cdkd/cli 0.364.0 → 0.365.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 (57) hide show
  1. package/dist/{ambient-client-defaults-BKnLt9R9.js → ambient-client-defaults-AnEvWPy0.js} +3 -3
  2. package/dist/{ambient-client-defaults-BKnLt9R9.js.map → ambient-client-defaults-AnEvWPy0.js.map} +1 -1
  3. package/dist/{asg-provider-D-wGQIgg.js → asg-provider-BzCU3XtA.js} +20 -13
  4. package/dist/{asg-provider-D-wGQIgg.js.map → asg-provider-BzCU3XtA.js.map} +1 -1
  5. package/dist/cli.js +3 -3
  6. package/dist/{custom-resource-runtime-BDRipTIL.js → custom-resource-runtime-SB_NsQMH.js} +6 -6
  7. package/dist/{custom-resource-runtime-BDRipTIL.js.map → custom-resource-runtime-SB_NsQMH.js.map} +1 -1
  8. package/dist/{db-associated-roles-cQd3Zmr5.js → db-associated-roles-D1wmFO_Y.js} +2 -2
  9. package/dist/{db-associated-roles-cQd3Zmr5.js.map → db-associated-roles-D1wmFO_Y.js.map} +1 -1
  10. package/dist/{delete-started-DHQvQxWa.js → delete-started-BJNrzLUk.js} +6 -6
  11. package/dist/{delete-started-DHQvQxWa.js.map → delete-started-BJNrzLUk.js.map} +1 -1
  12. package/dist/{deploy-engine-9rzhYsZc.js → deploy-engine-BSqVfcSN.js} +420 -141
  13. package/dist/deploy-engine-BSqVfcSN.js.map +1 -0
  14. package/dist/{ec2-termination-protection-Dttj-XrE.js → ec2-termination-protection-ekOvhSp9.js} +6 -6
  15. package/dist/{ec2-termination-protection-Dttj-XrE.js.map → ec2-termination-protection-ekOvhSp9.js.map} +1 -1
  16. package/dist/{ecr-uri-BYWBRpzv.js → ecr-uri-VpDi19pi.js} +2 -2
  17. package/dist/{ecr-uri-BYWBRpzv.js.map → ecr-uri-VpDi19pi.js.map} +1 -1
  18. package/dist/{expected-bucket-owner-DWEAlmAk.js → expected-bucket-owner-CmPtCsrQ.js} +2 -2
  19. package/dist/{expected-bucket-owner-DWEAlmAk.js.map → expected-bucket-owner-CmPtCsrQ.js.map} +1 -1
  20. package/dist/{iam-role-provider-fCKVbuHw.js → iam-role-provider-Ct6UbKFo.js} +132 -50
  21. package/dist/iam-role-provider-Ct6UbKFo.js.map +1 -0
  22. package/dist/{image-plan-XyUNOBmz.js → image-plan-gTOaUUbI.js} +8 -8
  23. package/dist/{image-plan-XyUNOBmz.js.map → image-plan-gTOaUUbI.js.map} +1 -1
  24. package/dist/index.d.ts +2 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +5 -5
  27. package/dist/{logger-xueeC0uS.js → logger-IBUeRw1z.js} +2 -2
  28. package/dist/{logger-xueeC0uS.js.map → logger-IBUeRw1z.js.map} +1 -1
  29. package/dist/{neptune-provider-ClN-LvMb.js → neptune-provider-QgaV_sKy.js} +14 -7
  30. package/dist/{neptune-provider-ClN-LvMb.js.map → neptune-provider-QgaV_sKy.js.map} +1 -1
  31. package/dist/{program-Dz-HwMKe.js → program-tHhew1Z5.js} +192 -33
  32. package/dist/program-tHhew1Z5.js.map +1 -0
  33. package/dist/{provider-classes-Bmipcl6d.js → provider-classes-DTMnDVMz.js} +1863 -805
  34. package/dist/provider-classes-DTMnDVMz.js.map +1 -0
  35. package/dist/{rds-provider-X8pB7V-7.js → rds-provider-D2dkhl8m.js} +17 -10
  36. package/dist/rds-provider-D2dkhl8m.js.map +1 -0
  37. package/dist/{read-replica-B9F3-d8h.js → read-replica-CfbVMoYV.js} +3 -3
  38. package/dist/{read-replica-B9F3-d8h.js.map → read-replica-CfbVMoYV.js.map} +1 -1
  39. package/dist/{replacement-rules-TNt9wPax.js → replacement-rules-BiIOJMA-.js} +5 -4
  40. package/dist/{replacement-rules-TNt9wPax.js.map → replacement-rules-BiIOJMA-.js.map} +1 -1
  41. package/dist/{resource-deadline-CUApArbf.js → resource-deadline-BSpNiiNd.js} +34 -5
  42. package/dist/resource-deadline-BSpNiiNd.js.map +1 -0
  43. package/dist/{restore-source-guard-jCM5yJzQ.js → restore-source-guard-Be6A_rNB.js} +4 -4
  44. package/dist/{restore-source-guard-jCM5yJzQ.js.map → restore-source-guard-Be6A_rNB.js.map} +1 -1
  45. package/dist/{run-cli-BDjbpUsh.js → run-cli-BkrNHPD5.js} +2 -2
  46. package/dist/{run-cli-BDjbpUsh.js.map → run-cli-BkrNHPD5.js.map} +1 -1
  47. package/dist/{settle-own-write-members-CSkozE9A.js → settle-own-write-members-BqAKt1e7.js} +12 -12
  48. package/dist/{settle-own-write-members-CSkozE9A.js.map → settle-own-write-members-BqAKt1e7.js.map} +1 -1
  49. package/dist/{version-BXn3jGiB.js → version-0AMFL2lR.js} +2 -2
  50. package/dist/{version-BXn3jGiB.js.map → version-0AMFL2lR.js.map} +1 -1
  51. package/package.json +2 -2
  52. package/dist/deploy-engine-9rzhYsZc.js.map +0 -1
  53. package/dist/iam-role-provider-fCKVbuHw.js.map +0 -1
  54. package/dist/program-Dz-HwMKe.js.map +0 -1
  55. package/dist/provider-classes-Bmipcl6d.js.map +0 -1
  56. package/dist/rds-provider-X8pB7V-7.js.map +0 -1
  57. package/dist/resource-deadline-CUApArbf.js.map +0 -1
@@ -1,15 +1,15 @@
1
- import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-BXn3jGiB.js";
2
- import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-xueeC0uS.js";
3
- import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-BKnLt9R9.js";
1
+ import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-0AMFL2lR.js";
2
+ import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-IBUeRw1z.js";
3
+ import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-AnEvWPy0.js";
4
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
5
  import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
6
- import { A as IAM_PROPAGATION_MAX_DELAY_MS, B as phaseScopeForStack, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, G as timePhaseSync, H as recordPhase, I as ignoresUnmodifiedGroupSize, J as parseFailureDebugDetail, K as describeJsonParseFailure, L as rollingUpdatePolicy, M as CREATE_ONLY_PATHS_SNAPSHOT, N as INSTANCE_REFRESH_TRIGGER_PROPERTIES, O as isAwsEmulatorRegistryMiss, P as REPLACEMENT_TRIGGER_PROPERTIES, R as willReplaceGroup, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, V as phaseTimingsEnabled, W as timePhase, X as utf8ByteLength, Y as parseJsonNamingNoBody, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, j as withRetry, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as jsonParseFailureStandIn, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-Dttj-XrE.js";
6
+ import { A as IAM_PROPAGATION_MAX_DELAY_MS, B as phaseScopeForStack, C as prefetchCreateOnlyPropertyPaths, D as hasNoRegistrySchema, E as describeTypeWithThrottleRetry, G as timePhaseSync, H as recordPhase, I as ignoresUnmodifiedGroupSize, J as parseFailureDebugDetail, K as describeJsonParseFailure, L as rollingUpdatePolicy, M as CREATE_ONLY_PATHS_SNAPSHOT, N as INSTANCE_REFRESH_TRIGGER_PROPERTIES, O as isAwsEmulatorRegistryMiss, P as REPLACEMENT_TRIGGER_PROPERTIES, R as willReplaceGroup, S as isIntrinsicShaped, T as parseCreateOnlyPropertyPointers, V as phaseTimingsEnabled, W as timePhase, X as utf8ByteLength, Y as parseJsonNamingNoBody, _ as onlySecretReferencesDiffer, a as reDisableInstanceApiTermination, c as resolvedResourceTimeoutMs, d as isRefusedBeforeApplying, f as markRefusedBeforeApplying, g as withPriorAttempts, h as provenOrphanIdsInJournal, i as observeThenDisableInstanceApiTermination, j as withRetry, k as reportAwsEmulatorRegistryMiss, m as priorAttemptsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptLookup, q as jsonParseFailureStandIn, r as isTerminationProtectionPropagationError, v as unchangedBehindSecretReference, w as templateResourceTypes, x as getCreateOnlyPropertyPaths, y as cachedCreateOnlyPropertyPaths, z as PhaseClock } from "./ec2-termination-protection-ekOvhSp9.js";
7
7
  import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
8
- import { $t as markAuxiliaryFailure, A as assertRegionMatch, At as canonicalizeRoute53QueryName, B as resolveExplicitPhysicalId, Bt as createMaskedRetryLogger, D as withoutServerErrorRetries, F as isQuotableImportValue, Gt as RETRY_AUXILIARY_OWNER, H as markNotGone, Ht as maskDeep, I as normalizeAwsTagsToCfn, It as resourceTypeShown, Jt as createdBeforeFailure, K as observeThenDisableProtection, L as quotedRemedyLogicalId, Lt as segmentAfterAnchor, Mt as compositeIdSeparatorRefusal, Pt as logicalIdShown, Qt as isAuxiliaryMarkOf, R as refusalTypeShown, Rt as stateOrphanRecordRemedy, U as compensateProtectionFlip, Ut as maskerOrIdentity, V as isMarkedNotGone, Vt as isSecretDerivedValue, W as deleteWithProtectionCompensation, Wt as withDerivedNameMasks, Yt as createdResourceIdentityBeforeFailure, Zt as isAuxiliaryFailure, _n as withPasteableAwsProfile, at as runDeleteAttempt, bt as startInterruptWatch, ct as monotonicNowMs, d as CreatedResourceSink, dn as sanitizeRecoveryValue, en as markCreatedBeforeFailure, f as clearCreatedReport, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, g as retractCreatedResource, i as withResourceDeadline, it as protectionFlipKey, k as RESOURCE_NOT_FOUND, kt as withUnchangedSecretPrincipalLists, lt as DELETION_PROTECTION_DOC_POINTER, m as reportCreatedResource, mn as WAIT_CONDITION_SIGNAL_PREFIX, mt as protectedReplacementAdvice, n as enclosingDeadlineRemainingMs, nt as ProtectionFlipRegistry, o as prepareRemovalForUpdate, ot as ElapsedBudget, p as collectCreatedResources, pn as DEFAULT_STATE_PREFIX, pt as pasteableAwsCommand, r as whileEnclosingDeadlinesPaused, rt as isTerminalDeleteFailure, s as removalWarning, st as ElapsedBudgetRegistry, t as enclosingDeadlineExpired, u as withoutInjectedRemovals, un as recoveryCommandFlags, vn as injectiveKey, xn as producerRecordKey, yt as isInterruptedWaitError, zt as createMaskedLogSinks } from "./resource-deadline-CUApArbf.js";
9
- import { t as expectedOwnerParam } from "./expected-bucket-owner-DWEAlmAk.js";
10
- import { At as SURVIVOR_IDENTITY_ATTRIBUTES, Bt as describeRegionValueKind, Et as identityWarner, Ft as keepRecordedIdentity, Gt as isReadableBag, It as newCopyDeleteAttributes, Jt as shouldRetainResource, Kt as orphansAfterRollback, Lt as replaceDeadIdentity, Nt as isRecordedIdentityAttribute, Ot as recordedIdentityId, Pt as isUsableIdentityValue, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, Yt as skippedOutputsCarriedFrom, bt as lookupEachName, gt as deniedIdentityReadRefusal, ht as dbInstanceAttributes, i as dbClusterAttributes, jt as attributesAfterUpdate, kt as slowCcOperationTimeoutMs, n as isRefusedByName, qt as orphansCarriedFrom, r as markDeleteStarted, t as isDeleteStarted, wt as assertRecordedIdentity, yt as isAccessDeniedError, zt as acceptedCreateOnlyDropsOf } from "./delete-started-DHQvQxWa.js";
11
- import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$7, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-TNt9wPax.js";
12
- import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-jCM5yJzQ.js";
8
+ import { $t as isAuxiliaryFailure, A as assertRegionMatch, Bt as stateOrphanRecordRemedy, Cn as producerRecordKey, D as withoutServerErrorRetries, G as deleteWithProtectionCompensation, Gt as maskerOrIdentity, H as isMarkedNotGone, Ht as createMaskedRetryLogger, I as isQuotableImportValue, It as logicalIdShown, Kt as withDerivedNameMasks, L as normalizeAwsTagsToCfn, Mt as canonicalizeRoute53QueryName, Pt as compositeIdSeparatorRefusal, R as quotedRemedyLogicalId, Rt as resourceTypeShown, U as markNotGone, Ut as isSecretDerivedValue, V as resolveExplicitPhysicalId, Vt as createMaskedLogSinks, W as compensateProtectionFlip, Wt as maskDeep, Xt as createdBeforeFailure, Zt as createdResourceIdentityBeforeFailure, at as protectionFlipKey, bn as injectiveKey, bt as isInterruptedWaitError, ct as ElapsedBudgetRegistry, d as CreatedResourceSink, en as isAuxiliaryMarkOf, f as clearCreatedReport, fn as recoveryCommandFlags, g as retractCreatedResource, gn as WAIT_CONDITION_SIGNAL_PREFIX, hn as DEFAULT_STATE_PREFIX, ht as protectedReplacementAdvice, i as withResourceDeadline, it as isTerminalDeleteFailure, jt as withUnchangedSecretPrincipalLists, k as RESOURCE_NOT_FOUND, lt as monotonicNowMs, m as reportCreatedResource, mn as CUSTOM_RESOURCE_RESPONSE_PREFIX, mt as pasteableAwsCommand, n as enclosingDeadlineRemainingMs, nn as markCreatedBeforeFailure, o as prepareRemovalForUpdate, ot as runDeleteAttempt, p as collectCreatedResources, pn as sanitizeRecoveryValue, q as observeThenDisableProtection, qt as RETRY_AUXILIARY_OWNER, r as whileEnclosingDeadlinesPaused, rt as ProtectionFlipRegistry, s as removalWarning, st as ElapsedBudget, t as enclosingDeadlineExpired, tn as markAuxiliaryFailure, u as withoutInjectedRemovals, ut as DELETION_PROTECTION_DOC_POINTER, xt as startInterruptWatch, yn as withPasteableAwsProfile, z as refusalTypeShown, zt as segmentAfterAnchor } from "./resource-deadline-BSpNiiNd.js";
9
+ import { t as expectedOwnerParam } from "./expected-bucket-owner-CmPtCsrQ.js";
10
+ import { At as SURVIVOR_IDENTITY_ATTRIBUTES, Bt as describeRegionValueKind, Et as identityWarner, Ft as keepRecordedIdentity, Gt as isReadableBag, It as newCopyDeleteAttributes, Jt as shouldRetainResource, Kt as orphansAfterRollback, Lt as replaceDeadIdentity, Nt as isRecordedIdentityAttribute, Ot as recordedIdentityId, Pt as isUsableIdentityValue, Tt as differingIdentityWarning, Ut as importableOutputKeys, Vt as exportNamesCarriedFrom, Wt as importableOutputs, Xt as stackInstanceIdCarriedFrom, Yt as skippedOutputsCarriedFrom, bt as lookupEachName, gt as deniedIdentityReadRefusal, ht as dbInstanceAttributes, i as dbClusterAttributes, jt as attributesAfterUpdate, kt as slowCcOperationTimeoutMs, n as isRefusedByName, qt as orphansCarriedFrom, r as markDeleteStarted, t as isDeleteStarted, wt as assertRecordedIdentity, yt as isAccessDeniedError, zt as acceptedCreateOnlyDropsOf } from "./delete-started-BJNrzLUk.js";
11
+ import { $t as recordInheritedParameterValue, A as witnessNormalize, An as recordNoEchoAttributeValues, At as withoutPhysicalNameCopies, B as redactionClaimOf, Cn as noEchoParameterPlaintextsOf, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dn as recordFreshNoEchoValuesIn, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, En as recordDerivedMaskOnlyValue, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, G as foldRecording, Gt as recordTakenIfBranch, H as mixedLiteralAnswered, Ht as splitOutsideDynamicReferences, I as markSameGenerationBag, In as isDynamicReferenceString, It as secretRerenderPairs, J as hasPassProvenance, Jt as templateRereadsAccountId, K as openRecordingScope, Kt as inheritedPseudoValue, L as mergeResolvedPairs, Ln as isSingleDynamicReferenceToken, M as carryRedactionMarks, Mn as recordProvenPublicExpression, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nn as wholeStringLeavesOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as withoutNoEchoParameterEntries, Q as recordReferenceResolution, Qt as recordInheritedParameterRead, R as recordIntrinsicLeafResolution, Rn as maskMatchSpans, S as noEchoParametersReadBy, Sn as markNoEchoParameterClass, St as replaceWholeLeaves, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as standsForInheritedSecret, V as resolvedPlaintextOf, Vt as rereadParameterExpression, W as redactForState, Wt as recordDroppedArrayElements, X as passReadVersionsFor, Xt as inheritedParameterExpression, Y as passProvenanceFor, Yt as inheritNestedStackParameterAssociations, Z as recordReferenceProvenanceEntry, Zt as inheritedRenderedToken, _ as noEchoComparison, _n as freshNoEchoValuesOf, _t as maskSecretsInText, an as recordRecoverableMaskedOutput, at as literalSplitDelimitersOf, bn as isScopedSecretVerdict, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, ct as recordLogOnlyParameterValue, d as canonicalJson$7, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-BiIOJMA-.js";
12
+ import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-Be6A_rNB.js";
13
13
  import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
14
14
  import { AsyncLocalStorage } from "node:async_hooks";
15
15
  import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
@@ -18,7 +18,7 @@ import { PublishCommand, SNSClient } from "@aws-sdk/client-sns";
18
18
  import { GetFunctionCommand, GetFunctionConfigurationCommand, GetFunctionUrlConfigCommand, InvokeCommand, LambdaClient, UpdateFunctionConfigurationCommand, waitUntilFunctionActiveV2, waitUntilFunctionUpdatedV2 } from "@aws-sdk/client-lambda";
19
19
  import { AssumeRoleCommand, GetCallerIdentityCommand, STSClient } from "@aws-sdk/client-sts";
20
20
  import { CreateSnapshotCommand, DeleteVolumeCommand, DescribeAvailabilityZonesCommand, DescribeInstancesCommand, DescribeLaunchTemplatesCommand, DescribeNatGatewaysCommand, DescribeNetworkAclsCommand, DescribeSecurityGroupsCommand, DescribeSnapshotsCommand, DescribeSubnetsCommand, DescribeVolumesCommand, DescribeVpcsCommand, GetIpamPoolAllocationsCommand } from "@aws-sdk/client-ec2";
21
- import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
21
+ import { CreateTableCommand, DeleteResourcePolicyCommand, DeleteTableCommand, DescribeContinuousBackupsCommand, DescribeContributorInsightsCommand, DescribeKinesisStreamingDestinationCommand, DescribeTableCommand, DescribeTimeToLiveCommand, DisableKinesisStreamingDestinationCommand, DynamoDBClient, EnableKinesisStreamingDestinationCommand, GetResourcePolicyCommand, ListTagsOfResourceCommand, PolicyNotFoundException, PutResourcePolicyCommand, ResourceNotFoundException as ResourceNotFoundException$1, TableNotFoundException, TagResourceCommand as TagResourceCommand$2, UntagResourceCommand as UntagResourceCommand$2, UpdateContinuousBackupsCommand, UpdateContributorInsightsCommand, UpdateKinesisStreamingDestinationCommand, UpdateTableCommand, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb";
22
22
  import { CancelUpdateStackCommand, CloudFormationClient, ContinueUpdateRollbackCommand, CreateStackCommand, DeleteStackCommand, DescribeStackEventsCommand, DescribeStackResourceCommand, DescribeStacksCommand, GetTemplateCommand, ListExportsCommand, UpdateStackCommand } from "@aws-sdk/client-cloudformation";
23
23
  import { GetRestApiCommand } from "@aws-sdk/client-api-gateway";
24
24
  import { DescribeApiDestinationCommand, DescribeConnectionCommand } from "@aws-sdk/client-eventbridge";
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
82
82
  });
83
83
  }
84
84
  try {
85
- const { expectedOwnerParam } = await import("./expected-bucket-owner-DWEAlmAk.js").then((n) => n.n);
85
+ const { expectedOwnerParam } = await import("./expected-bucket-owner-CmPtCsrQ.js").then((n) => n.n);
86
86
  return (await client.send(new GetBucketLocationCommand({
87
87
  Bucket: bucketName,
88
88
  ...await expectedOwnerParam(client)
@@ -6579,6 +6579,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
6579
6579
  }],
6580
6580
  ["AWS::Lambda::Function", {
6581
6581
  handled: /* @__PURE__ */ new Set([
6582
+ "AcceleratorConfig",
6582
6583
  "Architectures",
6583
6584
  "CapacityProviderConfig",
6584
6585
  "Code",
@@ -6612,7 +6613,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
6612
6613
  "TracingConfig",
6613
6614
  "VpcConfig"
6614
6615
  ]),
6615
- sdkUnwired: /* @__PURE__ */ new Map([["AcceleratorConfig", "not yet implemented by cdkd"]]),
6616
+ sdkUnwired: /* @__PURE__ */ new Map(),
6616
6617
  createOnlyDrops: /* @__PURE__ */ new Set(),
6617
6618
  readOnly: /* @__PURE__ */ new Set(["Arn", "SnapStartResponse"]),
6618
6619
  primaryIdentifier: /* @__PURE__ */ new Set(["FunctionName"]),
@@ -10100,10 +10101,86 @@ function getTopLevelKeysHoldingUnreadableCreateOnly(resourceType, properties) {
10100
10101
  for (const path of settledUnreadableCreateOnlyPaths.get(resourceType) ?? []) if (holdsValueAt(properties, path)) result.add(path[0]);
10101
10102
  return result;
10102
10103
  }
10103
- const WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED = /* @__PURE__ */ new Map([["AWS::Lambda::Function", /* @__PURE__ */ new Map([["Code", ["Architectures"]]])]]);
10104
- function getWriteOnlyKeysKeptWhenOmitted(resourceType, properties, previousProperties) {
10104
+ const WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED = /* @__PURE__ */ new Map([
10105
+ ["AWS::Lambda::Function", /* @__PURE__ */ new Map([["Code", ["Architectures"]]])],
10106
+ ["AWS::AmazonMQ::Broker", /* @__PURE__ */ new Map([
10107
+ ["Users", []],
10108
+ ["Configuration", []],
10109
+ ["EngineVersion", []]
10110
+ ])],
10111
+ ["AWS::AppFabric::AppAuthorization", /* @__PURE__ */ new Map([["Credential", []]])],
10112
+ ["AWS::Batch::ComputeEnvironment", /* @__PURE__ */ new Map([["ReplaceComputeEnvironment", ["ComputeResources"]], ["UpdatePolicy", ["ComputeResources"]]])],
10113
+ ["AWS::BedrockAgentCore::ApiKeyCredentialProvider", /* @__PURE__ */ new Map([["ApiKey", ["ApiKeySecretConfig", "ApiKeySecretSource"]]])],
10114
+ ["AWS::BedrockAgentCore::OAuth2CredentialProvider", /* @__PURE__ */ new Map([["Oauth2ProviderConfigInput", []]])],
10115
+ ["AWS::Bedrock::Flow", /* @__PURE__ */ new Map([["DefinitionString", ["DefinitionSubstitutions"]]])],
10116
+ ["AWS::CloudFront::KeyValueStore", /* @__PURE__ */ new Map([["ImportSource", []]])],
10117
+ ["AWS::Connect::User", /* @__PURE__ */ new Map([["Password", []]])],
10118
+ ["AWS::DMS::Endpoint", /* @__PURE__ */ new Map([["Password", []]])],
10119
+ ["AWS::DataSync::LocationAzureBlob", /* @__PURE__ */ new Map([["AzureBlobSasConfiguration", [
10120
+ "AzureBlobAuthenticationType",
10121
+ "CmkSecretConfig",
10122
+ "CustomSecretConfig"
10123
+ ]]])],
10124
+ ["AWS::DocDBElastic::Cluster", /* @__PURE__ */ new Map([["AdminUserPassword", []]])],
10125
+ ["AWS::EC2::VPNConnection", /* @__PURE__ */ new Map([["VpnTunnelOptionsSpecifications", []]])],
10126
+ ["AWS::ElastiCache::ReplicationGroup", /* @__PURE__ */ new Map([["AuthToken", []]])],
10127
+ ["AWS::ElastiCache::User", /* @__PURE__ */ new Map([["Passwords", ["AuthenticationMode", "NoPasswordRequired"]]])],
10128
+ ["AWS::ElasticBeanstalk::Environment", /* @__PURE__ */ new Map([["OptionSettings", ["TemplateName", "PlatformArn"]]])],
10129
+ ["AWS::FSx::StorageVirtualMachine", /* @__PURE__ */ new Map([["SvmAdminPassword", []]])],
10130
+ ["AWS::KinesisAnalyticsV2::Application", /* @__PURE__ */ new Map([["ApplicationConfiguration", [
10131
+ "RunConfiguration",
10132
+ "RuntimeEnvironment",
10133
+ "ServiceExecutionRole"
10134
+ ]], ["RunConfiguration", [
10135
+ "ApplicationConfiguration",
10136
+ "RuntimeEnvironment",
10137
+ "ServiceExecutionRole"
10138
+ ]]])],
10139
+ ["AWS::MemoryDB::User", /* @__PURE__ */ new Map([["AuthenticationMode", []]])],
10140
+ ["AWS::Redshift::Cluster", /* @__PURE__ */ new Map([["MasterUserPassword", ["ManageMasterPassword"]]])],
10141
+ ["AWS::RedshiftServerless::Namespace", /* @__PURE__ */ new Map([["AdminUserPassword", ["AdminUsername", "ManageAdminPassword"]]])],
10142
+ ["AWS::Route53Resolver::FirewallDomainList", /* @__PURE__ */ new Map([["Domains", ["DomainFileUrl"]]])],
10143
+ ["AWS::StepFunctions::StateMachineAlias", /* @__PURE__ */ new Map([["DeploymentPreference", []]])],
10144
+ ["AWS::Synthetics::Canary", /* @__PURE__ */ new Map([["Code", ["RuntimeVersion"]]])]
10145
+ ]);
10146
+ const KEPT_WHATEVER_SIBLING_CHANGED = /* @__PURE__ */ new Map([["AWS::Batch::ComputeEnvironment", isFargateComputeEnvironment]]);
10147
+ function isFargateComputeEnvironment(properties) {
10148
+ const resources = properties["ComputeResources"];
10149
+ if (typeof resources !== "object" || resources === null) return false;
10150
+ const type = resources["Type"];
10151
+ return type === "FARGATE" || type === "FARGATE_SPOT";
10152
+ }
10153
+ const WRITE_ONLY_KEYS_REFUSED_ON_UPDATE = /* @__PURE__ */ new Map([["AWS::Connect::User", /* @__PURE__ */ new Set(["Password"])]]);
10154
+ function isWriteOnlyKeyRefusedOnUpdate(resourceType, key) {
10155
+ return WRITE_ONLY_KEYS_REFUSED_ON_UPDATE.get(resourceType)?.has(key) === true;
10156
+ }
10157
+ function movedReferencesRefusedOnUpdate(resourceType, desiredAsWritten, recordedAsWritten) {
10158
+ const keys = WRITE_ONLY_KEYS_REFUSED_ON_UPDATE.get(resourceType);
10159
+ if (keys === void 0) return [];
10160
+ const holdsReference = (value) => JSON.stringify(value)?.includes("{{resolve:") === true;
10161
+ return [...keys].filter((key) => {
10162
+ const desired = desiredAsWritten[key];
10163
+ const recorded = recordedAsWritten[key];
10164
+ if (desired === void 0 || recorded === void 0) return false;
10165
+ if (isDeepStrictEqual(desired, recorded)) return false;
10166
+ return holdsReference(desired) || holdsReference(recorded);
10167
+ });
10168
+ }
10169
+ function getWriteOnlyKeysKeptWhenOmitted(resourceType, properties, previousProperties, writeOnly = /* @__PURE__ */ new Set()) {
10170
+ const row = WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED.get(resourceType);
10171
+ if (row === void 0) return /* @__PURE__ */ new Set();
10172
+ const keptWhateverChanged = KEPT_WHATEVER_SIBLING_CHANGED.get(resourceType);
10173
+ if (keptWhateverChanged?.(properties) && keptWhateverChanged(previousProperties)) return new Set(row.keys());
10105
10174
  const result = /* @__PURE__ */ new Set();
10106
- for (const [key, travelsWith] of WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED.get(resourceType) ?? []) if (travelsWith.every((k) => isDeepStrictEqual(properties[k], previousProperties[k]))) result.add(key);
10175
+ for (const [key, travelsWith] of row) if (travelsWith.every((k) => isDeepStrictEqual(properties[k], previousProperties[k]))) result.add(key);
10176
+ let dropped = true;
10177
+ while (dropped) {
10178
+ dropped = false;
10179
+ for (const key of result) if (row.get(key).some((k) => writeOnly.has(k) && properties[k] !== void 0 && !result.has(k))) {
10180
+ result.delete(key);
10181
+ dropped = true;
10182
+ }
10183
+ }
10107
10184
  return result;
10108
10185
  }
10109
10186
  function getSettledWriteOnlyPropertyPaths(resourceType) {
@@ -14415,6 +14492,13 @@ async function resolveImportValue(resolver, importValueArg, context) {
14415
14492
  if (!context.stateBackend) throw markNonRetryable(/* @__PURE__ */ new Error("Fn::ImportValue: state backend is required for cross-stack references"));
14416
14493
  const loggedExportName = displayMasked(resolver, exportName, context);
14417
14494
  resolver.logger.debug(`Resolving Fn::ImportValue: ${loggedExportName}`);
14495
+ const previewed = context.crossStackPreview?.exportValue(resolver.resolverRegion, exportName);
14496
+ if (previewed && previewed.producerStack !== context.stackName) {
14497
+ const producer = displayMasked(resolver, previewed.producerStack, context);
14498
+ if (previewed.kind === "unknown") throw markNonRetryable(/* @__PURE__ */ new Error(`Fn::ImportValue ${quotedRender(loggedExportName, "'")}: stack ${producer}, diffed in this run, publishes a new value only when it deploys`));
14499
+ resolver.logger.info(safeMsg`Resolved Fn::ImportValue: ${loggedExportName} (from this diff of ${producer}, which changes it)`);
14500
+ return previewed.value;
14501
+ }
14418
14502
  if (context.exportIndex) {
14419
14503
  let entry;
14420
14504
  try {
@@ -14791,6 +14875,12 @@ async function resolveGetStackOutput(resolver, arg, context) {
14791
14875
  const loggedRegion = displayMasked(resolver, loggedRegionText, context);
14792
14876
  const shownRoleArn = roleArn ? displayIdent(roleArn, { maxCodePoints: 613 }) : "";
14793
14877
  resolver.logger.debug(`Resolving Fn::GetStackOutput: StackName=${loggedStackName}, Region=${loggedRegion}, OutputName=${loggedOutputName}${roleArn ? `, RoleArn=${shownRoleArn}` : ""}`);
14878
+ const previewed = roleArn ? void 0 : context.crossStackPreview?.stackOutput(region, stackName, outputName);
14879
+ if (previewed) {
14880
+ if (previewed.kind === "unknown") throw markNonRetryable(/* @__PURE__ */ new Error(`Fn::GetStackOutput: StackName=${loggedStackName}, OutputName=${loggedOutputName}: the stack, diffed in this run, publishes a new value only when it deploys`));
14881
+ resolver.logger.info(safeMsg`Resolved Fn::GetStackOutput: StackName=${loggedStackName}, OutputName=${loggedOutputName} (from this diff of the stack, which changes it)`);
14882
+ return previewed.value;
14883
+ }
14794
14884
  let readRoleArn = roleArn;
14795
14885
  let refuseCdkRead;
14796
14886
  if (cdkRef !== void 0) {
@@ -18345,16 +18435,22 @@ function withListenerRuleConditionOps(resourceType, patch, desired) {
18345
18435
  }
18346
18436
 
18347
18437
  // src/provisioning/cc-read-back-default-paths.ts
18348
- const CC_READ_BACK_DEFAULT_PATHS = { "AWS::OpenSearchService::Domain": [{
18349
- path: ["AdvancedOptions", "override_main_response_version"],
18350
- value: "false"
18351
- }, {
18352
- path: ["AIMLOptions"],
18353
- value: {
18354
- S3VectorsEngine: { Enabled: false },
18355
- ServerlessVectorAcceleration: { Enabled: false }
18356
- }
18357
- }] };
18438
+ const CC_READ_BACK_DEFAULT_PATHS = {
18439
+ "AWS::Connect::User": [{
18440
+ path: ["VoiceEnhancementConfigs"],
18441
+ value: [{ Channel: "VOICE" }]
18442
+ }],
18443
+ "AWS::OpenSearchService::Domain": [{
18444
+ path: ["AdvancedOptions", "override_main_response_version"],
18445
+ value: "false"
18446
+ }, {
18447
+ path: ["AIMLOptions"],
18448
+ value: {
18449
+ S3VectorsEngine: { Enabled: false },
18450
+ ServerlessVectorAcceleration: { Enabled: false }
18451
+ }
18452
+ }]
18453
+ };
18358
18454
  function hasCcReadBackDefaultPaths(resourceType) {
18359
18455
  return Object.prototype.hasOwnProperty.call(CC_READ_BACK_DEFAULT_PATHS, resourceType);
18360
18456
  }
@@ -18373,7 +18469,7 @@ function withCcReadBackDefaultRemovals(resourceType, patch, desired, liveModel)
18373
18469
  if (defaults.length === 0 || patch.length === 0 || liveModel === void 0) return patch;
18374
18470
  const extra = [];
18375
18471
  for (const { path, value } of defaults) {
18376
- const pointer = `/${path.map(escapeJsonPointer$1).join("/")}`;
18472
+ const pointer = `/${path.map(escapeJsonPointer$2).join("/")}`;
18377
18473
  if (patch.some((op) => op.path === pointer || op.path.startsWith(`${pointer}/`) || pointer.startsWith(`${op.path}/`))) continue;
18378
18474
  if (!isDeepStrictEqual(valueAt$1(liveModel, path), value)) continue;
18379
18475
  const declared = valueAt$1(desired, path);
@@ -18385,7 +18481,7 @@ function withCcReadBackDefaultRemovals(resourceType, patch, desired, liveModel)
18385
18481
  }
18386
18482
  return extra.length === 0 ? patch : [...patch, ...extra];
18387
18483
  }
18388
- function escapeJsonPointer$1(key) {
18484
+ function escapeJsonPointer$2(key) {
18389
18485
  return key.replace(/~/g, "~0").replace(/\//g, "~1");
18390
18486
  }
18391
18487
 
@@ -18408,7 +18504,7 @@ function withCcReadBackEmptyKeyRemovals(resourceType, patch, desired, liveModel)
18408
18504
  let out = patch;
18409
18505
  const extra = [];
18410
18506
  for (const key of keys) {
18411
- const path = `/${escapeJsonPointer(key)}`;
18507
+ const path = `/${escapeJsonPointer$1(key)}`;
18412
18508
  const existing = out.findIndex((op) => op.path === path);
18413
18509
  if (existing !== -1) {
18414
18510
  const op = out[existing];
@@ -18429,6 +18525,35 @@ function withCcReadBackEmptyKeyRemovals(resourceType, patch, desired, liveModel)
18429
18525
  }
18430
18526
  return extra.length === 0 && out === patch ? patch : [...out, ...extra];
18431
18527
  }
18528
+ function escapeJsonPointer$1(key) {
18529
+ return key.replace(/~/g, "~0").replace(/\//g, "~1");
18530
+ }
18531
+
18532
+ // src/provisioning/cc-read-back-exclusive-keys.ts
18533
+ const CC_READ_BACK_EXCLUSIVE_KEYS = {
18534
+ "AWS::Bedrock::Flow": [{
18535
+ readBack: "Definition",
18536
+ writtenAs: ["DefinitionString", "DefinitionS3Location"]
18537
+ }],
18538
+ "AWS::StepFunctions::StateMachineAlias": [{
18539
+ readBack: "RoutingConfiguration",
18540
+ writtenAs: ["DeploymentPreference"]
18541
+ }]
18542
+ };
18543
+ function hasCcReadBackExclusiveKeys(resourceType) {
18544
+ return Object.prototype.hasOwnProperty.call(CC_READ_BACK_EXCLUSIVE_KEYS, resourceType);
18545
+ }
18546
+ async function withCcReadBackExclusiveKeyRemovals(resourceType, patch, desired, readLiveModel) {
18547
+ const candidates = (hasCcReadBackExclusiveKeys(resourceType) ? CC_READ_BACK_EXCLUSIVE_KEYS[resourceType] : []).filter(({ readBack, writtenAs }) => patch.some((op) => (op.op === "add" || op.op === "replace") && writtenAs.some((key) => op.path === `/${escapeJsonPointer(key)}`)) && !patch.some((op) => op.path === `/${escapeJsonPointer(readBack)}`) && !Object.prototype.hasOwnProperty.call(desired, readBack));
18548
+ if (candidates.length === 0) return patch;
18549
+ const liveModel = await readLiveModel();
18550
+ if (liveModel === void 0) return patch;
18551
+ const extra = candidates.filter(({ readBack }) => Object.prototype.hasOwnProperty.call(liveModel, readBack)).map(({ readBack }) => ({
18552
+ op: "remove",
18553
+ path: `/${escapeJsonPointer(readBack)}`
18554
+ }));
18555
+ return extra.length === 0 ? patch : [...patch, ...extra];
18556
+ }
18432
18557
  function escapeJsonPointer(key) {
18433
18558
  return key.replace(/~/g, "~0").replace(/\//g, "~1");
18434
18559
  }
@@ -19137,10 +19262,16 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
19137
19262
  const writeOnlyProperties = await getTopLevelWriteOnlyProperties(resourceType);
19138
19263
  if (writeOnlyProperties.size > 0) {
19139
19264
  const keptOnPreviousSide = getTopLevelKeysHoldingUnreadableCreateOnly(resourceType, cleanProperties);
19140
- const keptWhenOmitted = getWriteOnlyKeysKeptWhenOmitted(resourceType, cleanProperties, cleanPreviousProperties);
19265
+ const keptWhenOmitted = getWriteOnlyKeysKeptWhenOmitted(resourceType, cleanProperties, cleanPreviousProperties, writeOnlyProperties);
19141
19266
  const previousWithoutWriteOnly = { ...cleanPreviousProperties };
19142
19267
  for (const propertyName of writeOnlyProperties) {
19143
- if ((keptOnPreviousSide.has(propertyName) || keptWhenOmitted.has(propertyName)) && isDeepStrictEqual(cleanPreviousProperties[propertyName], cleanProperties[propertyName])) continue;
19268
+ const previous = cleanPreviousProperties[propertyName];
19269
+ const desired = cleanProperties[propertyName];
19270
+ if ((keptOnPreviousSide.has(propertyName) || keptWhenOmitted.has(propertyName)) && isDeepStrictEqual(previous, desired)) continue;
19271
+ if (keptWhenOmitted.has(propertyName) && isWriteOnlyKeyRefusedOnUpdate(resourceType, propertyName) && onlySecretReferencesDiffer(desired, previous, context?.maskSecrets)) {
19272
+ previousWithoutWriteOnly[propertyName] = desired;
19273
+ continue;
19274
+ }
19144
19275
  delete previousWithoutWriteOnly[propertyName];
19145
19276
  }
19146
19277
  patch = this.patchGenerator.generatePatch(previousWithoutWriteOnly, cleanProperties);
@@ -19166,6 +19297,7 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
19166
19297
  };
19167
19298
  }
19168
19299
  if (hasCcReadBackDefaultPaths(resourceType)) patch = withCcReadBackDefaultRemovals(resourceType, patch, cleanProperties, await readLiveModel());
19300
+ patch = await withCcReadBackExclusiveKeyRemovals(resourceType, patch, cleanProperties, readLiveModel);
19169
19301
  patch = withMeasuredRemovalsAsEmpty(patch, resourceType);
19170
19302
  if (writesTopLevelObject(patch)) {
19171
19303
  const [createOnlyPaths, readOnlyPaths] = await Promise.all([getCreateOnlyPropertyPaths(resourceType), getReadOnlyPropertyPaths(resourceType)]);
@@ -20389,7 +20521,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
20389
20521
  const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
20390
20522
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
20391
20523
  this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
20392
- const { ASGProvider } = await import("./asg-provider-D-wGQIgg.js");
20524
+ const { ASGProvider } = await import("./asg-provider-BzCU3XtA.js");
20393
20525
  const delegateRegion = ambientRegion();
20394
20526
  let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
20395
20527
  if (asgProvider === void 0) {
@@ -20544,7 +20676,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
20544
20676
  const family = SDK_DELETE_FAMILIES.get(resourceType);
20545
20677
  const cached = this.sdkDeleteDelegates.get(family);
20546
20678
  if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
20547
- const provider = family === "rds" ? new (await (import("./rds-provider-X8pB7V-7.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-ClN-LvMb.js"))).NeptuneProvider({ region: ccRegion });
20679
+ const provider = family === "rds" ? new (await (import("./rds-provider-D2dkhl8m.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-QgaV_sKy.js"))).NeptuneProvider({ region: ccRegion });
20548
20680
  this.sdkDeleteDelegates.set(family, {
20549
20681
  region: ccRegion,
20550
20682
  provider
@@ -23120,7 +23252,7 @@ async function publishToSns(topicArn, request) {
23120
23252
  }
23121
23253
  async function invokeLambda(serviceToken, request) {
23122
23254
  if (localCustomResourceRuntimeActive()) {
23123
- const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-BDRipTIL.js");
23255
+ const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-SB_NsQMH.js");
23124
23256
  const local = await invokeCustomResourceFunctionLocally({
23125
23257
  lambda: this.lambdaClient,
23126
23258
  s3: this.s3Client
@@ -26837,6 +26969,8 @@ const LAMBDA_PERMISSION_STATEMENT_KEYS = [
26837
26969
  "SourceArn",
26838
26970
  "SourceAccount",
26839
26971
  "PrincipalOrgID",
26972
+ "EventSourceToken",
26973
+ "FunctionUrlAuthType",
26840
26974
  "InvokedViaFunctionUrl"
26841
26975
  ];
26842
26976
  function lambdaPermissionMatchesDeclared(read, declared) {
@@ -26888,6 +27022,7 @@ function deployStackRecordsView(records, before, deleting, unsettled = () => fal
26888
27022
  ...writtenFresh && { writtenFreshThisRun: writtenFresh },
26889
27023
  runKey: {},
26890
27024
  live: settled,
27025
+ retainedLeaving: (lid) => deleting.has(lid) && Object.hasOwn(before, lid) && shouldRetainResource(before[lid].deletionPolicy),
26891
27026
  survivors: () => [...settled().filter(([lid]) => !deleting.has(lid)), ...Object.entries(before).filter(([lid, record]) => deleting.has(lid) && shouldRetainResource(record.deletionPolicy))]
26892
27027
  };
26893
27028
  }
@@ -26898,14 +27033,27 @@ function destroyStackRecordsView(records) {
26898
27033
  survivors: () => Object.entries(records).filter(([, record]) => shouldRetainResource(record.deletionPolicy))
26899
27034
  };
26900
27035
  }
26901
- function replayStackRecordsView(records, orphanLogicalIds = /* @__PURE__ */ new Set()) {
27036
+ function replayStackRecordsView(records, orphanLogicalIds = /* @__PURE__ */ new Set(), failedOps = []) {
26902
27037
  const kept = Object.entries(records).filter(([lid, record]) => record.deletionPolicy === "Retain" || orphanLogicalIds.has(lid));
26903
27038
  return {
26904
27039
  runKey: records,
26905
27040
  live: () => Object.entries(records),
26906
- survivors: () => [...Object.entries(records), ...kept.filter(([lid]) => !Object.hasOwn(records, lid))]
27041
+ survivors: () => [...Object.entries(records), ...kept.filter(([lid]) => !Object.hasOwn(records, lid))],
27042
+ journaledWrites: () => failedOps.filter((op) => op.physicalIdRecoveredFromError !== false).map((op) => {
27043
+ const idKey = Object.hasOwn(JOURNALED_IDENTITY_KEYS, op.resourceType) ? JOURNALED_IDENTITY_KEYS[op.resourceType] : void 0;
27044
+ return {
27045
+ resourceType: op.resourceType,
27046
+ physicalId: op.physicalId,
27047
+ properties: op.attemptedProperties,
27048
+ ...idKey !== void 0 && op.createdResourceIdentity !== void 0 && { attributes: { [idKey]: op.createdResourceIdentity } }
27049
+ };
27050
+ })
26907
27051
  };
26908
27052
  }
27053
+ const JOURNALED_IDENTITY_KEYS = {
27054
+ "AWS::IAM::User": "UserId",
27055
+ "AWS::IAM::InstanceProfile": "InstanceProfileId"
27056
+ };
26909
27057
  const REVERT_VIEW_RECORD_TYPES = /* @__PURE__ */ new Set([
26910
27058
  "AWS::IAM::Role",
26911
27059
  "AWS::IAM::Group",
@@ -27771,7 +27919,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
27771
27919
  if (resourceType !== "AWS::RDS::DBInstance") return false;
27772
27920
  if (region === void 0 || region === "") return false;
27773
27921
  const mask = input.mask ?? ((text) => text);
27774
- const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-B9F3-d8h.js").then((n) => n.l);
27922
+ const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-CfbVMoYV.js").then((n) => n.l);
27775
27923
  let reason;
27776
27924
  try {
27777
27925
  const live = await describeDBInstanceInRegion(physicalId, region);
@@ -27879,6 +28027,93 @@ function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
27879
28027
  return [parts.join(" "), ...commandLines].join("\n");
27880
28028
  }
27881
28029
 
28030
+ // src/deployment/deploy-value-equality.ts
28031
+ function isReplacementCeiling(pc) {
28032
+ return pc.requiresReplacement && (pc.inPlacePropagated === true || pc.replacementPropagated === true);
28033
+ }
28034
+ function keyOrderFreeJson(value) {
28035
+ return JSON.stringify(value, (_key, node) => {
28036
+ if (node === null || typeof node !== "object" || Array.isArray(node)) return node;
28037
+ const sorted = Object.create(null);
28038
+ for (const key of Object.keys(node).sort()) sorted[key] = node[key];
28039
+ return sorted;
28040
+ });
28041
+ }
28042
+ const IAM_ACTION = /^[a-z0-9-]{1,64}:[A-Za-z0-9*]{1,128}$/;
28043
+ const ACTION_IN_MESSAGE = [/\bperform:\s*([a-z0-9-]{1,64}:[A-Za-z0-9*]{1,128})(?=\s|$|[.,;])/, /\ballows the ([a-z0-9-]{1,64}:[A-Za-z0-9*]{1,128}) action\b/];
28044
+ const DENIAL_CLASSES = /* @__PURE__ */ new Set([
28045
+ "AccessDenied",
28046
+ "AccessDeniedException",
28047
+ "AuthorizationError",
28048
+ "UnauthorizedOperation"
28049
+ ]);
28050
+ function readDenialOf(error) {
28051
+ try {
28052
+ const name = error?.name;
28053
+ if (typeof name !== "string" || !DENIAL_CLASSES.has(name)) return void 0;
28054
+ const message = error.message;
28055
+ let action;
28056
+ if (typeof message === "string") for (const pattern of ACTION_IN_MESSAGE) {
28057
+ const found = pattern.exec(message)?.[1];
28058
+ if (found !== void 0 && IAM_ACTION.test(found)) {
28059
+ action = found;
28060
+ break;
28061
+ }
28062
+ }
28063
+ return {
28064
+ ...action !== void 0 && { action },
28065
+ errorClass: name
28066
+ };
28067
+ } catch {
28068
+ return;
28069
+ }
28070
+ }
28071
+ function grantSentence(denied) {
28072
+ const what = denied.action !== void 0 ? `the ${denied.action} permission` : `the read permission the provider's readback of this resource type needs`;
28073
+ return `AWS denied the read${denied.errorClass !== void 0 ? ` (${denied.errorClass})` : ""}, and re-running would be denied the same way: grant ${what} to the credentials cdkd runs with, then re-run`;
28074
+ }
28075
+ function liveHoldsFreshLeaves(live, leaves) {
28076
+ for (const leaf of leaves) {
28077
+ let node = live;
28078
+ for (const segment of leaf.path) {
28079
+ if (typeof segment === "number") {
28080
+ if (!Array.isArray(node) || segment >= node.length) return false;
28081
+ node = node[segment];
28082
+ continue;
28083
+ }
28084
+ if (node === null || typeof node !== "object" || Array.isArray(node)) return false;
28085
+ if (!Object.prototype.hasOwnProperty.call(node, segment)) return false;
28086
+ node = node[segment];
28087
+ }
28088
+ if (typeof leaf.plaintext === "string") {
28089
+ if (typeof node !== "string" || node !== leaf.plaintext) return false;
28090
+ } else if (node === void 0 || keyOrderFreeJson(node) !== keyOrderFreeJson(leaf.plaintext)) return false;
28091
+ }
28092
+ return true;
28093
+ }
28094
+ function outputMapsEqual(a, b) {
28095
+ return deepEqualValue(a, b);
28096
+ }
28097
+ function deepEqualValue(a, b) {
28098
+ if (a === b) return true;
28099
+ if (a == null || b == null) return a === b;
28100
+ if (typeof a !== typeof b) return false;
28101
+ if (typeof a !== "object") return false;
28102
+ if (Array.isArray(a) || Array.isArray(b)) {
28103
+ if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
28104
+ return a.every((v, i) => deepEqualValue(v, b[i]));
28105
+ }
28106
+ const ao = a;
28107
+ const bo = b;
28108
+ const ak = Object.keys(ao);
28109
+ if (ak.length !== Object.keys(bo).length) return false;
28110
+ for (const k of ak) {
28111
+ if (!Object.prototype.hasOwnProperty.call(bo, k)) return false;
28112
+ if (!deepEqualValue(ao[k], bo[k])) return false;
28113
+ }
28114
+ return true;
28115
+ }
28116
+
27882
28117
  // src/types/deployment-events.ts
27883
28118
  function extractDeploymentEventError(err) {
27884
28119
  if (!(err instanceof Error)) return {
@@ -28613,60 +28848,6 @@ function createReadOnlyAttributeHealerFactory(options) {
28613
28848
  return (stackName, region) => Object.assign((logicalId, resource) => readOnce(stackName, region, logicalId, resource), { readOnly: true });
28614
28849
  }
28615
28850
 
28616
- // src/deployment/deploy-value-equality.ts
28617
- function isReplacementCeiling(pc) {
28618
- return pc.requiresReplacement && (pc.inPlacePropagated === true || pc.replacementPropagated === true);
28619
- }
28620
- function keyOrderFreeJson(value) {
28621
- return JSON.stringify(value, (_key, node) => {
28622
- if (node === null || typeof node !== "object" || Array.isArray(node)) return node;
28623
- const sorted = Object.create(null);
28624
- for (const key of Object.keys(node).sort()) sorted[key] = node[key];
28625
- return sorted;
28626
- });
28627
- }
28628
- function liveHoldsFreshLeaves(live, leaves) {
28629
- for (const leaf of leaves) {
28630
- let node = live;
28631
- for (const segment of leaf.path) {
28632
- if (typeof segment === "number") {
28633
- if (!Array.isArray(node) || segment >= node.length) return false;
28634
- node = node[segment];
28635
- continue;
28636
- }
28637
- if (node === null || typeof node !== "object" || Array.isArray(node)) return false;
28638
- if (!Object.prototype.hasOwnProperty.call(node, segment)) return false;
28639
- node = node[segment];
28640
- }
28641
- if (typeof leaf.plaintext === "string") {
28642
- if (typeof node !== "string" || node !== leaf.plaintext) return false;
28643
- } else if (node === void 0 || keyOrderFreeJson(node) !== keyOrderFreeJson(leaf.plaintext)) return false;
28644
- }
28645
- return true;
28646
- }
28647
- function outputMapsEqual(a, b) {
28648
- return deepEqualValue(a, b);
28649
- }
28650
- function deepEqualValue(a, b) {
28651
- if (a === b) return true;
28652
- if (a == null || b == null) return a === b;
28653
- if (typeof a !== typeof b) return false;
28654
- if (typeof a !== "object") return false;
28655
- if (Array.isArray(a) || Array.isArray(b)) {
28656
- if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
28657
- return a.every((v, i) => deepEqualValue(v, b[i]));
28658
- }
28659
- const ao = a;
28660
- const bo = b;
28661
- const ak = Object.keys(ao);
28662
- if (ak.length !== Object.keys(bo).length) return false;
28663
- for (const k of ak) {
28664
- if (!Object.prototype.hasOwnProperty.call(bo, k)) return false;
28665
- if (!deepEqualValue(ao[k], bo[k])) return false;
28666
- }
28667
- return true;
28668
- }
28669
-
28670
28851
  // src/deployment/deploy-engine/noecho.ts
28671
28852
  var NoEchoRunState = class {
28672
28853
  noEchoAttributeResources = /* @__PURE__ */ new Map();
@@ -29226,7 +29407,14 @@ async function readReaderForFreshNoEchoCeiling(deps, logicalId, currentResource,
29226
29407
  if (typeof name === "string" && /^[A-Za-z0-9_]{1,64}$/.test(name)) errorClass = name;
29227
29408
  } catch {}
29228
29409
  deps.logger.debug(safeMsg`Readback of ${logicalId} for a NoEcho value's replacement check failed (${errorClass}).`);
29229
- return { failure: "read-failed" };
29410
+ let denied;
29411
+ try {
29412
+ denied = readDenialOf(maskSecretsInError(error, secrets));
29413
+ } catch {}
29414
+ return {
29415
+ failure: "read-failed",
29416
+ ...denied !== void 0 && { denied }
29417
+ };
29230
29418
  } finally {
29231
29419
  if (timer !== void 0) clearTimeout(timer);
29232
29420
  }
@@ -29458,6 +29646,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
29458
29646
  forceDataDelete: deps.options.forceStatefulRecreation === true,
29459
29647
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
29460
29648
  ...replacementDeleteContext(deps, updateReplacePolicy),
29649
+ stackHoldersStillAttached: true,
29461
29650
  recordedAttributes: currentResource.attributes,
29462
29651
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
29463
29652
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -30144,6 +30333,26 @@ function supersededResourcesOf(state) {
30144
30333
  if (!Array.isArray(rows)) return [];
30145
30334
  return rows.filter(isSupersededResourceRecord);
30146
30335
  }
30336
+ function supersededDependentsFirst(entries) {
30337
+ const ordered = [];
30338
+ let pending = [...entries];
30339
+ while (pending.length > 0) {
30340
+ const dependedOn = /* @__PURE__ */ new Set();
30341
+ for (const entry of pending) {
30342
+ const deps = entry.state.dependencies;
30343
+ if (!Array.isArray(deps)) continue;
30344
+ for (const dep of deps) if (typeof dep === "string" && dep !== entry.logicalId) dependedOn.add(dep);
30345
+ }
30346
+ const wave = pending.filter((entry) => !dependedOn.has(entry.logicalId));
30347
+ if (wave.length === 0) {
30348
+ ordered.push(...pending);
30349
+ break;
30350
+ }
30351
+ ordered.push(...wave);
30352
+ pending = pending.filter((entry) => !wave.includes(entry));
30353
+ }
30354
+ return ordered;
30355
+ }
30147
30356
  function isSupersededResourceRecord(row) {
30148
30357
  if (typeof row !== "object" || row === null) return false;
30149
30358
  const entry = row;
@@ -33278,6 +33487,7 @@ async function replayDelete(s) {
33278
33487
  const physicalId = op.physicalId;
33279
33488
  const deleteCreated = () => withReplayDeletePrinting(s, () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
33280
33489
  expectedRegion: ctx.region,
33490
+ stackHoldersStillAttached: true,
33281
33491
  ...removeProtection && { removeProtection: true },
33282
33492
  ...createRollbackClaimed && { inlinePolicyClaimed: createRollbackClaimed },
33283
33493
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
@@ -33477,8 +33687,8 @@ function coordinatePath(coordinate) {
33477
33687
  function shownPaths(coordinates) {
33478
33688
  return coordinates.map((coordinate) => plainOrDescribed(coordinatePath(coordinate), "property path")).join(", ");
33479
33689
  }
33480
- function unreadableNoEchoLeafRefusal(logicalId, coordinates, failure) {
33481
- const why = failure === "read-failed" ? "reading the resource back from AWS failed, so cdkd could not learn the value AWS holds there (re-running the rollback retries the read)" : "cdkd cannot read the value AWS holds there (the property is write-only, AWS does not return it, or cdkd has no readback for this resource type)";
33690
+ function unreadableNoEchoLeafRefusal(logicalId, coordinates, failure, denied) {
33691
+ const why = failure === "read-failed" ? "reading the resource back from AWS failed, so cdkd could not learn the value AWS holds " + (denied !== void 0 ? `there (${grantSentence(denied)} the rollback)` : "there (re-running the rollback retries the read)") : "cdkd cannot read the value AWS holds there (the property is write-only, AWS does not return it, or cdkd has no readback for this resource type)";
33482
33692
  return markNonRetryable(new CdkdError(`Cannot roll ${shownLogicalId(logicalId)} back: its recorded baseline holds a NoEcho value only as the redaction mask ('${"***"}') at ${shownPaths(coordinates)}, and ${why}. cdkd sent nothing rather than write the mask to the live resource. Restore the property with ${proseQuoted(cdkdRemedy("cdkd deploy"))}, which sends the NoEcho parameter's value again (a NoEcho attribute of a custom resource is sent again only when that custom resource updates in the same deploy).`, "ROLLBACK_REDACTED_BASELINE"));
33483
33693
  }
33484
33694
  function refuseMarkedNoEchoRecreate(props, marked, logicalId) {
@@ -33537,8 +33747,12 @@ async function readLive$1(live, baseline, marked, logicalId, ctx) {
33537
33747
  })]);
33538
33748
  if (result === void 0 || result === null || typeof result !== "object") return { failure: "not-readable" };
33539
33749
  return { live: result };
33540
- } catch {
33541
- return { failure: "read-failed" };
33750
+ } catch (error) {
33751
+ const denied = readDenialOf(error);
33752
+ return {
33753
+ failure: "read-failed",
33754
+ ...denied !== void 0 && { denied }
33755
+ };
33542
33756
  } finally {
33543
33757
  if (timer !== void 0) clearTimeout(timer);
33544
33758
  }
@@ -33559,7 +33773,7 @@ async function substituteMarkedNoEchoLeaves(input) {
33559
33773
  inert: pending
33560
33774
  };
33561
33775
  const read = await readLive$1(live, baseline, pending, logicalId, ctx);
33562
- if ("failure" in read) throw unreadableNoEchoLeafRefusal(logicalId, pending, read.failure);
33776
+ if ("failure" in read) throw unreadableNoEchoLeafRefusal(logicalId, pending, read.failure, read.denied);
33563
33777
  const values = [];
33564
33778
  const unreadable = [];
33565
33779
  for (const coordinate of pending) {
@@ -33758,16 +33972,24 @@ function canonicalizeTagListsDeep(v) {
33758
33972
  }
33759
33973
  const ID_RE = /^[a-z][a-z0-9]*-[0-9a-f]{6,}$/;
33760
33974
  const isIdLike = (s) => typeof s === "string" && (s.startsWith("arn:") || ID_RE.test(s));
33761
- function canonicalizeIdArraysDeep(v) {
33975
+ const ORDER_SIGNIFICANT_ID_ARRAY_PATHS = { "AWS::Lambda::Function": ["Layers"] };
33976
+ function orderSignificantIdArrayPaths(resourceType) {
33977
+ if (resourceType === void 0 || !Object.hasOwn(ORDER_SIGNIFICANT_ID_ARRAY_PATHS, resourceType)) return [];
33978
+ return ORDER_SIGNIFICANT_ID_ARRAY_PATHS[resourceType];
33979
+ }
33980
+ function canonicalizeIdArraysDeep(v, orderedPaths = []) {
33981
+ return walkIdArrays(v, "", orderedPaths);
33982
+ }
33983
+ function walkIdArrays(v, path, orderedPaths) {
33762
33984
  if (Array.isArray(v)) {
33763
- const mapped = v.map(canonicalizeIdArraysDeep);
33764
- if (mapped.length > 1 && mapped.every(isIdLike)) return [...mapped].sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
33985
+ const mapped = v.map((el) => walkIdArrays(el, path, orderedPaths));
33986
+ if (mapped.length > 1 && mapped.every(isIdLike) && !matchesPathPrefix(path, orderedPaths)) return [...mapped].sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
33765
33987
  return mapped;
33766
33988
  }
33767
33989
  if (v && typeof v === "object") {
33768
33990
  if (!hasPlainPrototype(v)) return v;
33769
33991
  const out = nullPrototypeRecord();
33770
- for (const [k, val] of Object.entries(v)) out[k] = canonicalizeIdArraysDeep(val);
33992
+ for (const [k, val] of Object.entries(v)) out[k] = walkIdArrays(val, path === "" ? k : `${path}.${k}`, orderedPaths);
33771
33993
  return out;
33772
33994
  }
33773
33995
  return v;
@@ -33830,8 +34052,9 @@ function calculateResourceDrift(stateProperties, awsProperties, options) {
33830
34052
  const union = options?.unionWalkObjects ?? false;
33831
34053
  const unordered = options?.unorderedPaths ?? [];
33832
34054
  const unionPaths = options?.unionWalkPaths ?? [];
33833
- stateProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(stateProperties)), unordered);
33834
- awsProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(awsProperties)), unordered);
34055
+ const orderedIdPaths = orderSignificantIdArrayPaths(options?.resourceType);
34056
+ stateProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(stateProperties), orderedIdPaths), unordered);
34057
+ awsProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(awsProperties), orderedIdPaths), unordered);
33835
34058
  for (const key of Object.keys(stateProperties)) {
33836
34059
  if (isIgnoredPath(key, ignore)) continue;
33837
34060
  diffAt(key, stateProperties[key], awsProperties[key], drifts, ignore, union, unionPaths);
@@ -34101,7 +34324,8 @@ async function unsettledAfterUpdate(args) {
34101
34324
  if (!Object.hasOwn(live, name) || desired[name] === void 0) continue;
34102
34325
  if (calculateResourceDrift(canonical({ [name]: desired[name] }), canonical({ [name]: live[name] }), {
34103
34326
  ignorePaths,
34104
- unorderedPaths
34327
+ unorderedPaths,
34328
+ resourceType: args.resourceType
34105
34329
  }).length > 0) kept.push(name);
34106
34330
  }
34107
34331
  return kept.sort();
@@ -34359,6 +34583,7 @@ async function replayReadopt(s, survivor) {
34359
34583
  const readoptClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
34360
34584
  const readoptDelete = await withReplayDeletePrinting(s, () => newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
34361
34585
  expectedRegion: ctx.region,
34586
+ stackHoldersStillAttached: true,
34362
34587
  ...readoptClaimed && { inlinePolicyClaimed: readoptClaimed },
34363
34588
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34364
34589
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
@@ -34578,6 +34803,7 @@ async function deleteMarkedRecreate(error, s) {
34578
34803
  try {
34579
34804
  const outcome = await withReplayDeletePrinting(s, () => s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
34580
34805
  expectedRegion: s.region,
34806
+ stackHoldersStillAttached: true,
34581
34807
  deletionPolicy: "Delete",
34582
34808
  maskSecrets: s.mask
34583
34809
  }));
@@ -34606,6 +34832,7 @@ async function recreateOldResource(s, r) {
34606
34832
  ...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
34607
34833
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34608
34834
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
34835
+ stackHoldersStillAttached: true,
34609
34836
  recordedAttributes: newCopyDeleteAttributes(op.resourceType, current.attributes, op.oldDeletedBeforeCreate, op.previousState?.attributes),
34610
34837
  recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
34611
34838
  recordedNoEchoLeaves: current.noEchoLeaves,
@@ -34774,6 +35001,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
34774
35001
  const deleteNewAfterRecreateRoute = resolveNewDeleteRoute();
34775
35002
  const deleteNewAfterRecreate = await withReplayDeletePrinting(s, () => deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
34776
35003
  expectedRegion: ctx.region,
35004
+ stackHoldersStillAttached: true,
34777
35005
  ...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
34778
35006
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34779
35007
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
@@ -35522,6 +35750,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
35522
35750
  secrets
35523
35751
  }, () => provider.delete(op.logicalId, op.physicalId, op.resourceType, op.attemptedProperties, {
35524
35752
  expectedRegion: ctx.region,
35753
+ stackHoldersStillAttached: true,
35525
35754
  ...removeProtection && { removeProtection: true },
35526
35755
  ...failedCreateClaimed && { inlinePolicyClaimed: failedCreateClaimed },
35527
35756
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
@@ -35733,10 +35962,10 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
35733
35962
 
35734
35963
  // src/deployment/rollback-executor.ts
35735
35964
  async function replayRollback(...args) {
35736
- return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], args[4]?.orphanLogicalIds), () => replayRollbackUnbound(...args)));
35965
+ return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], args[4]?.orphanLogicalIds, args[4]?.failedOperations), () => replayRollbackUnbound(...args)));
35737
35966
  }
35738
35967
  async function replayFailedOperations(...args) {
35739
- return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1]), async () => {
35968
+ return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], void 0, args[0]), async () => {
35740
35969
  const [ops, stateResources, stackName, ctx, options = {}] = args;
35741
35970
  if (options.movedIdCleanups !== void 0) {
35742
35971
  const result = await replayFailedOperationsUnbound(...args);
@@ -37641,6 +37870,14 @@ function splitLocation(location) {
37641
37870
  }
37642
37871
 
37643
37872
  // src/analyzer/refactor-hints.ts
37873
+ function referencesAgree(create, record, sameStack, isNew) {
37874
+ if ((create.createdReferences ?? []).some(isNew)) return false;
37875
+ const staying = create.stayingReferences ?? [];
37876
+ if (staying.length === 0) return true;
37877
+ if (!sameStack) return false;
37878
+ if (record.recordedDependencies === void 0) return true;
37879
+ return staying.every((id) => record.recordedDependencies.includes(id));
37880
+ }
37644
37881
  function findRefactorHints(stacks) {
37645
37882
  const hints = /* @__PURE__ */ new Map();
37646
37883
  for (const env of new Set(stacks.map((s) => s.env))) {
@@ -37654,17 +37891,34 @@ function findRefactorHints(stacks) {
37654
37891
  row
37655
37892
  })));
37656
37893
  if (deletes.length === 0 || creates.length === 0) continue;
37657
- const matchesOf = /* @__PURE__ */ new Map();
37658
- const claims = /* @__PURE__ */ new Map();
37659
- for (const c of creates) {
37660
- const matches = deletes.filter((d) => d.row.resourceType === c.row.resourceType && looselyEqual(c.row.properties, d.row.properties));
37661
- matchesOf.set(c, matches);
37662
- for (const d of matches) claims.set(d, (claims.get(d) ?? 0) + 1);
37663
- }
37664
- for (const c of creates) {
37665
- const matches = matchesOf.get(c) ?? [];
37666
- if (matches.length !== 1 || claims.get(matches[0]) !== 1) continue;
37667
- const d = matches[0];
37894
+ const pairUp = (isNewIn) => {
37895
+ const matchesOf = /* @__PURE__ */ new Map();
37896
+ const claims = /* @__PURE__ */ new Map();
37897
+ for (const c of creates) {
37898
+ const matches = deletes.filter((d) => d.row.resourceType === c.row.resourceType && looselyEqual(c.row.properties, d.row.properties) && referencesAgree(c.row, d.row, c.stack === d.stack, (id) => isNewIn(c, id)));
37899
+ matchesOf.set(c, matches);
37900
+ for (const d of matches) claims.set(d, (claims.get(d) ?? 0) + 1);
37901
+ }
37902
+ const pairs = /* @__PURE__ */ new Map();
37903
+ for (const c of creates) {
37904
+ const matches = matchesOf.get(c) ?? [];
37905
+ if (matches.length === 1 && claims.get(matches[0]) === 1) pairs.set(c, matches[0]);
37906
+ }
37907
+ return pairs;
37908
+ };
37909
+ const isNew = /* @__PURE__ */ new Set();
37910
+ const referencesNew = (c, logicalId) => {
37911
+ const referenced = creates.find((other) => other.stack === c.stack && other.row.logicalId === logicalId);
37912
+ return referenced === void 0 || isNew.has(referenced);
37913
+ };
37914
+ let pairs = pairUp(referencesNew);
37915
+ for (;;) {
37916
+ const grown = creates.filter((c) => !pairs.has(c) && !isNew.has(c));
37917
+ if (grown.length === 0) break;
37918
+ for (const c of grown) isNew.add(c);
37919
+ pairs = pairUp(referencesNew);
37920
+ }
37921
+ for (const [c, d] of pairs) {
37668
37922
  let byId = hints.get(d.stack.id);
37669
37923
  if (byId === void 0) {
37670
37924
  byId = /* @__PURE__ */ new Map();
@@ -37681,26 +37935,38 @@ function findRefactorHints(stacks) {
37681
37935
  function rollbackOrphanIds(orphans) {
37682
37936
  return new Set((Array.isArray(orphans) ? orphans : []).map((o) => o !== null && typeof o === "object" ? o.logicalId : void 0).filter((id) => typeof id === "string"));
37683
37937
  }
37684
- function hintSidesOf(changes, template, exclude = /* @__PURE__ */ new Set()) {
37938
+ function hintSidesOf(changes, template, exclude = /* @__PURE__ */ new Set(), records) {
37685
37939
  const rows = [...changes];
37686
37940
  const deletedTypes = new Set(rows.filter((c) => c.changeType === "DELETE").map((c) => c.resourceType));
37687
37941
  const updated = new Set(rows.filter((c) => c.changeType === "UPDATE" || c.changeType === "CREATE" && !deletedTypes.has(c.resourceType)).map((c) => c.logicalId));
37942
+ const deleted = new Set(rows.filter((c) => c.changeType === "DELETE").map((c) => c.logicalId));
37943
+ const staying = /* @__PURE__ */ new Set([...rows.filter((c) => c.changeType === "UPDATE" || c.changeType === "NO_CHANGE").map((c) => c.logicalId), ...Object.keys(records ?? {}).filter((id) => !deleted.has(id))]);
37944
+ const created = new Set(rows.filter((c) => c.changeType === "CREATE").map((c) => c.logicalId));
37688
37945
  const creates = [];
37689
37946
  const deletes = [];
37690
37947
  for (const change of rows) {
37691
37948
  if (exclude.has(change.logicalId)) continue;
37692
37949
  if (change.changeType === "CREATE") {
37693
37950
  if (changedDependencyOf(template, change.logicalId, (id) => updated.has(id)) !== void 0) continue;
37951
+ const references = [...referencedLogicalIds(template, change.logicalId)];
37952
+ const stayingReferences = references.filter((id) => staying.has(id));
37953
+ const createdReferences = references.filter((id) => created.has(id));
37694
37954
  creates.push({
37695
37955
  logicalId: change.logicalId,
37696
37956
  resourceType: change.resourceType,
37697
- properties: change.desiredProperties ?? {}
37957
+ properties: change.desiredProperties ?? {},
37958
+ ...stayingReferences.length > 0 && { stayingReferences },
37959
+ ...createdReferences.length > 0 && { createdReferences }
37698
37960
  });
37699
- } else if (change.changeType === "DELETE") deletes.push({
37700
- logicalId: change.logicalId,
37701
- resourceType: change.resourceType,
37702
- properties: change.currentProperties ?? {}
37703
- });
37961
+ } else if (change.changeType === "DELETE") {
37962
+ const dependencies = (records && Object.hasOwn(records, change.logicalId) ? records[change.logicalId] : void 0)?.dependencies;
37963
+ deletes.push({
37964
+ logicalId: change.logicalId,
37965
+ resourceType: change.resourceType,
37966
+ properties: change.currentProperties ?? {},
37967
+ ...Array.isArray(dependencies) && { recordedDependencies: dependencies.filter((id) => typeof id === "string") }
37968
+ });
37969
+ }
37704
37970
  }
37705
37971
  return {
37706
37972
  creates,
@@ -42931,7 +43197,7 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
42931
43197
  live: () => Object.entries(resources),
42932
43198
  survivors: () => Object.entries(resources)
42933
43199
  };
42934
- for (const entry of carried) {
43200
+ for (const entry of supersededDependentsFirst(carried)) {
42935
43201
  if (engine.interrupted) break;
42936
43202
  const { logicalId } = entry;
42937
43203
  const { physicalId, resourceType } = entry.state;
@@ -48413,14 +48679,14 @@ function canonicalJson$1(value) {
48413
48679
  }
48414
48680
 
48415
48681
  // src/provisioning/providers/dynamodb-globaltable/read-support.ts
48416
- async function readReplicaSubSpecs(client, tableName, regionLabel, declaredReplica) {
48682
+ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredReplica, served) {
48417
48683
  const out = {};
48418
48684
  try {
48419
48685
  const ci = await client.send(new DescribeContributorInsightsCommand({ TableName: tableName }));
48420
48686
  const block = reverseMapReplicaContributorInsights(ci.ContributorInsightsStatus, ci.ContributorInsightsMode, declaredReplica?.["ContributorInsightsSpecification"]);
48421
48687
  if (block !== void 0) out["ContributorInsightsSpecification"] = block;
48422
48688
  } catch (err) {
48423
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48689
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48424
48690
  this.logger.debug(`Could not read ContributorInsights for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48425
48691
  }
48426
48692
  try {
@@ -48428,7 +48694,7 @@ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredRepli
48428
48694
  const block = reverseMapReplicaPitr(description?.PointInTimeRecoveryStatus, description?.RecoveryPeriodInDays, declaredReplica?.["PointInTimeRecoverySpecification"]);
48429
48695
  if (block !== void 0) out["PointInTimeRecoverySpecification"] = block;
48430
48696
  } catch (err) {
48431
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48697
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1) && !(err instanceof TableNotFoundException)) throw err;
48432
48698
  this.logger.debug(`Could not read PointInTimeRecovery for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48433
48699
  }
48434
48700
  try {
@@ -48439,12 +48705,12 @@ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredRepli
48439
48705
  out["KinesisStreamSpecification"] = ksOut;
48440
48706
  }
48441
48707
  } catch (err) {
48442
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48708
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48443
48709
  this.logger.debug(`Could not read KinesisStreamingDestination for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48444
48710
  }
48445
48711
  return out;
48446
48712
  }
48447
- async function readReplicaPolicies(client, tableName, regionLabel, tableArn, streamArn, declaredReplica, afterOwnWrite, entry) {
48713
+ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, streamArn, declaredReplica, afterOwnWrite, entry, served) {
48448
48714
  if (declaredReplica === void 0) return;
48449
48715
  const readOne = async (what, arn, container) => {
48450
48716
  if (arn === void 0 || arn === "") return void 0;
@@ -48475,6 +48741,7 @@ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, str
48475
48741
  if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48476
48742
  this.logger.debug(safeMsg`Could not read the ${what} of the ${regionLabel} replica of ${tableName}: ${describeAwsFailure(err).detail}`);
48477
48743
  if (afterOwnWrite && (last !== void 0 && last !== "" || isThrottlingError(err) || isTransientServerError(err) || isAmbiguousOutcomeError(err) || err instanceof ResourceNotFoundException$1)) return declaredMember();
48744
+ if (served && !(err instanceof ResourceNotFoundException$1)) throw err;
48478
48745
  return;
48479
48746
  }
48480
48747
  };
@@ -48487,7 +48754,7 @@ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, str
48487
48754
  if (member !== void 0) entry["ReplicaStreamSpecification"] = { ResourcePolicy: member };
48488
48755
  }
48489
48756
  }
48490
- async function readAutoScalingSettings(tableName, scalableDimension, client, indexName) {
48757
+ async function readAutoScalingSettings(tableName, scalableDimension, client, indexName, served = true) {
48491
48758
  const resourceId = autoScalingResourceId(tableName, indexName);
48492
48759
  try {
48493
48760
  const asClient = client ?? new ApplicationAutoScalingClient({
@@ -48520,7 +48787,7 @@ async function readAutoScalingSettings(tableName, scalableDimension, client, ind
48520
48787
  TargetTrackingScalingPolicyConfiguration: tttConfig
48521
48788
  };
48522
48789
  } catch (err) {
48523
- if (strictFor(indexName !== void 0 ? "GlobalSecondaryIndexes" : scalableDimension.includes("Write") ? "WriteProvisionedThroughputSettings" : "Replicas")) throw err;
48790
+ if (served || strictFor(indexName !== void 0 ? "GlobalSecondaryIndexes" : scalableDimension.includes("Write") ? "WriteProvisionedThroughputSettings" : "Replicas")) throw err;
48524
48791
  this.logger.debug(`Could not read application-autoscaling settings for ${resourceId} (${scalableDimension}): ${describeAwsFailure(err).detail}`);
48525
48792
  return null;
48526
48793
  }
@@ -48649,6 +48916,9 @@ async function unsettledInTransition(physicalId, _logicalId, _resourceType, name
48649
48916
  return names;
48650
48917
  }
48651
48918
  }
48919
+ function replicaServed(status) {
48920
+ return status === void 0 || status === "ACTIVE" || status === "UPDATING";
48921
+ }
48652
48922
  async function readCurrentState(physicalId, logicalId, _resourceType, properties, context) {
48653
48923
  const afterOwnWrite = context?.afterOwnWrite === true;
48654
48924
  try {
@@ -48677,6 +48947,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48677
48947
  const entry = { Region: r.RegionName };
48678
48948
  if (!r.RegionName) return entry;
48679
48949
  const isLocal = r.RegionName === currentRegion;
48950
+ const served = replicaServed(r.ReplicaStatus);
48680
48951
  const kmsKey = isLocal ? table.SSEDescription?.Status === "ENABLED" ? table.SSEDescription.KMSMasterKeyArn : void 0 : r.KMSMasterKeyId;
48681
48952
  if (kmsKey !== void 0 && kmsKey !== "") entry["SSESpecification"] = { KMSMasterKeyId: kmsKey };
48682
48953
  entry["TableClass"] = (isLocal ? void 0 : r.ReplicaTableClassSummary?.TableClass) ?? table.TableClassSummary?.TableClass ?? "STANDARD";
@@ -48684,7 +48955,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48684
48955
  const client = isLocal ? this.dynamoDBClient : this.getRegionalClient(r.RegionName);
48685
48956
  const regionLabel = r.RegionName;
48686
48957
  const replicaArn = isLocal ? table.TableArn : table.TableArn ? this.replicaArnForRegion(table.TableArn, r.RegionName) : void 0;
48687
- const subs = await this.readReplicaSubSpecs(client, tableNameForSubs, regionLabel, declaredReplica);
48958
+ const subs = await this.readReplicaSubSpecs(client, tableNameForSubs, regionLabel, declaredReplica, served);
48688
48959
  Object.assign(entry, subs);
48689
48960
  let protection;
48690
48961
  let disassociationProtection;
@@ -48702,20 +48973,20 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48702
48973
  disassociationProtection = regional.Table?.DisassociationProtectionEnabled;
48703
48974
  streamArn = regional.Table?.LatestStreamArn;
48704
48975
  } catch (err) {
48705
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48976
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48706
48977
  if (err instanceof ResourceNotFoundException$1) this.logger.debug(safeMsg`Cross-region replica ${regionLabel} returned RNF on DescribeTable; omitting its protection and stream policy`);
48707
48978
  else this.logger.debug(safeMsg`Could not read the ${regionLabel} replica of ${tableNameForSubs}: ${describeAwsFailure(err).detail}`);
48708
48979
  }
48709
48980
  if (typeof protection === "boolean") entry["DeletionProtectionEnabled"] = protection;
48710
48981
  if (typeof disassociationProtection === "boolean" && declaredReplica?.["DisassociationProtectionEnabled"] !== void 0) entry[DISASSOCIATION_PROTECTION_KEY] = disassociationProtection;
48711
- await this.readReplicaPolicies(client, tableNameForSubs, regionLabel, replicaArn, streamArn, declaredReplica, afterOwnWrite, entry);
48982
+ await this.readReplicaPolicies(client, tableNameForSubs, regionLabel, replicaArn, streamArn, declaredReplica, afterOwnWrite, entry, served);
48712
48983
  if (replicaArn) {
48713
48984
  const listTags = async () => normalizeAwsTagsToCfn((await client.send(new ListTagsOfResourceCommand({ ResourceArn: replicaArn }))).Tags);
48714
48985
  const tagsDeclared = writtenReplicaTags(afterOwnWrite, replicaArn, declaredReplica);
48715
48986
  try {
48716
48987
  entry["Tags"] = tagsDeclared === void 0 ? await listTags() : await this.settleReplicaTags(listTags, tagsDeclared, logicalId);
48717
48988
  } catch (tagErr) {
48718
- if (strictFor("Replicas") && !(tagErr instanceof ResourceNotFoundException$1)) throw tagErr;
48989
+ if ((served || strictFor("Replicas")) && !(tagErr instanceof ResourceNotFoundException$1)) throw tagErr;
48719
48990
  if (tagErr instanceof ResourceNotFoundException$1) {
48720
48991
  if (isLocal) throw tagErr;
48721
48992
  this.logger.debug(`Cross-region replica ${regionLabel} returned RNF on ListTagsOfResource; omitting Tags`);
@@ -48728,7 +48999,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48728
48999
  } else entry["Tags"] = [];
48729
49000
  if (billingMode === "PROVISIONED") {
48730
49001
  const replicaAutoScalingClient = isLocal ? void 0 : this.getRegionalAutoScalingClient(regionLabel);
48731
- const readAutoScaling = await this.readAutoScalingSettings(tableNameForSubs, "dynamodb:table:ReadCapacityUnits", replicaAutoScalingClient);
49002
+ const readAutoScaling = await this.readAutoScalingSettings(tableNameForSubs, "dynamodb:table:ReadCapacityUnits", replicaAutoScalingClient, void 0, served);
48732
49003
  if (readAutoScaling) entry["ReadProvisionedThroughputSettings"] = { ReadCapacityAutoScalingSettings: readAutoScaling };
48733
49004
  else if (strictFor("Replicas") && regionalRead !== void 0) entry["ReadProvisionedThroughputSettings"] = { ReadCapacityUnits: regionalRead };
48734
49005
  }
@@ -48804,7 +49075,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48804
49075
  };
48805
49076
  else if (ttlStatus === "DISABLED") {}
48806
49077
  } catch (ttlErr) {
48807
- if (strictFor("TimeToLiveSpecification")) throw ttlErr;
49078
+ if (strictFor("TimeToLiveSpecification") || !(ttlErr instanceof ResourceNotFoundException$1)) throw ttlErr;
48808
49079
  this.logger.debug(`Could not read TimeToLive for ${tableNameForSubs}: ${describeAwsFailure(ttlErr).detail}`);
48809
49080
  }
48810
49081
  return result;
@@ -50680,7 +50951,7 @@ async function requireDeploymentApproval(args) {
50680
50951
  id: "self",
50681
50952
  stackName: args.stackName,
50682
50953
  env: "",
50683
- ...hintSidesOf(changes, args.template, rollbackOrphanIds(args.orphans))
50954
+ ...hintSidesOf(changes, args.template, rollbackOrphanIds(args.orphans), args.records)
50684
50955
  }]).get("self")) : destructiveChanges;
50685
50956
  const count = (type) => changes.filter((c) => c.changeType === type).length;
50686
50957
  if (enclosingDeadlineExpired()) throw approvalAfterTimeout(args.stackName);
@@ -51203,6 +51474,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
51203
51474
  forceDataDelete: engine.options.forceStatefulRecreation === true,
51204
51475
  ...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
51205
51476
  ...replacementDeleteContext(engine.replacementDeps(), updateReplacePolicy),
51477
+ stackHoldersStillAttached: true,
51206
51478
  recordedAttributes: currentResource.attributes,
51207
51479
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
51208
51480
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -51704,6 +51976,7 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
51704
51976
  forceDataDelete: engine.options.forceStatefulRecreation === true,
51705
51977
  ...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
51706
51978
  ...replacementDeleteContext(engine.replacementDeps(), fallbackUpdateReplacePolicy),
51979
+ stackHoldersStillAttached: true,
51707
51980
  recordedAttributes: currentResource.attributes,
51708
51981
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
51709
51982
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -52202,6 +52475,7 @@ function deferredServiceTokenWarning(row) {
52202
52475
  }
52203
52476
 
52204
52477
  // src/deployment/deploy-engine/update/finish.ts
52478
+ const WRITE_ONLY_KEY_CHANGE_REFUSED = "WRITE_ONLY_KEY_CHANGE_REFUSED";
52205
52479
  async function finishUpdate(engine, input) {
52206
52480
  const { logicalId, change, stateResources, stackName, template, parameterValues, conditions, counts, progress, resourceType, renderer, currentResource, oldResourceType, typeChanged, currentProps, updateSecrets, resolvedProps, lostChild, lostWithParent, desiredForSkipCheckAsWritten, witness, currentPropsAsWritten, otherFreshAt, pendingParameterLeaves, unsettledNames, movedAsWritten, confirmedPaths, macChangedPaths, propertyDrivenReplacement, recreateViaCcApi, recreateViaSdkProvider, recreateFlagged, needsReplacement, policyReplacement } = input;
52207
52481
  const liveLabel = engine.liveTaskLabels.get(logicalId);
@@ -52278,6 +52552,8 @@ async function finishUpdate(engine, input) {
52278
52552
  diffSawTokenChange: diffMovedServiceToken(change)
52279
52553
  });
52280
52554
  if (serviceTokenRefusal !== void 0) throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(renderServiceTokenRefusal([serviceTokenRefusal], stackName, createSecretMasker(updateSecrets)), SERVICE_TOKEN_CHANGE_REFUSED)));
52555
+ const movedRefused = movedReferencesRefusedOnUpdate(resourceType, desiredForSkipCheckAsWritten, currentPropsAsWritten);
52556
+ if (movedRefused.length > 0) throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(safeMsg`${logicalId} (${resourceType}): ${movedRefused.join(", ")} cannot be changed after creation, and its secret reference changed (or was added or removed) since the recorded value. Restore the recorded reference, or replace the resource under a new logical id.`, WRITE_ONLY_KEY_CHANGE_REFUSED)));
52281
52557
  const changedProperties = new Set([.../* @__PURE__ */ new Set([
52282
52558
  ...Object.keys(desiredForSkipCheckAsWritten),
52283
52559
  ...Object.keys(currentPropsAsWritten),
@@ -52500,7 +52776,10 @@ async function provisionUpdate(engine, logicalId, change, stateResources, stackN
52500
52776
  continue;
52501
52777
  }
52502
52778
  const verdict = verdictAt(pc.path);
52503
- if (verdict === "read-failed") throw markNonRetryable(new CdkdError(safeMsg`${logicalId}.${pc.path} is a create-only property a NoEcho parameter feeds, and reading the resource back from AWS to compare it failed. cdkd does not replace a resource on a failed read: re-run the deploy.`, "NOECHO_READBACK_FAILED"));
52779
+ if (verdict === "read-failed") {
52780
+ const denied = read !== void 0 && "failure" in read ? read.denied : void 0;
52781
+ throw markNonRetryable(new CdkdError(denied !== void 0 ? safeMsg`${logicalId}.${pc.path} is a create-only property a NoEcho parameter feeds, and reading the resource back from AWS to compare it failed. cdkd does not replace a resource on a failed read. ${grantSentence(denied)} the deploy.` : safeMsg`${logicalId}.${pc.path} is a create-only property a NoEcho parameter feeds, and reading the resource back from AWS to compare it failed. cdkd does not replace a resource on a failed read: re-run the deploy.`, "NOECHO_READBACK_FAILED"));
52782
+ }
52504
52783
  if (verdict === "held") {
52505
52784
  parameterHeldKeys.add(pc.path);
52506
52785
  engine.logger.debug(safeMsg`${logicalId}.${pc.path} carries a NoEcho parameter value AWS already holds: not replaced.`);
@@ -55502,5 +55781,5 @@ var DeployEngine = class {
55502
55781
  }
55503
55782
  };
55504
55783
 
55505
- export { recordTagWrite as $, settleDeclaredMember as $a, malformedDriftResourcePropertiesWarning as $c, green as $i, providerReplacementReason as $l, parseMappingFile as $n, assertSendableRoleArn as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, isPlainReferenceTo as $s, removeSignalReceiverNamed as $t, ensureAssetStorage as $u, recordedProtectionEvidence as A, collectGroupsAddedBySiblings as Aa, malformedOrphanRecordsWarning as Ac, collectDeclaredOutputNames as Ai, refuseMalformedResourcesForExport as Al, DeploymentEventsStore as An, waitForLambdaFunctionActive as Ao, undeclaredEmptyObservedKeys as Ar, keepHeldTokenProvenance as As, resolveDynamoDbDeleteBudgetMs as At, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Au, declaredStreamTagsMember as B, verifiedIdentityCache as Ba, malformedLocalResourceEntriesWarning as Bc, supersededAfterRollback as Bi, hasReadableResources as Bl, formatDestructiveChange as Bn, isWaitAbandonedError as Bo, planRollback as Br, isNamelessDynamicReferenceError as Bs, hasCdkAutoDeleteTag as Bt, isDefaultBootstrapRepoName as Bu, pendingMovesOutOf as C, ccRoutedInstanceTakesNoSnapshot as Ca, maskedInputProof as Cc, clearBucketRegionCache as Cd, secretBearingStateKeyWarning as Ci, STATE_REGION_DIVERGED as Cl, journaledOrphanLines as Cn, customResourceStackName as Co, buildReadCurrentStateContext as Cr, isStalePlaceholderArnAttribute as Cs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as Ct, isAbsoluteAssetPath as Cu, findServiceTokenRefusals as D, unsupportedFinalSnapshotError as Da, deployRefusesOrphanRowsReason as Dc, exportNameSecretExposure as Di, malformedStateRefusalMessage as Dl, makeSiblingClaimReader as Dn, localCustomResourceRuntimeActive as Do, calculateResourceDrift as Dr, parseWebACLArn as Ds, compensateRemovedDeletionProtection as Dt, SSM_PARAMETER_VALUE_PREFIX as Du, deferredServiceTokenWarning as E, refusesFinalSnapshot as Ea, maskedPropertyFingerprint as Ec, exportNameNoEchoParameters as Ei, malformedResourcesWarning as El, makeForeignHolderScan as En, localCustomResourceCommand as Eo, withUnprovenUnsettled as Er, lacksRecordedTableArn as Es, beginDeleteWait as Et, templateIdentity as Eu, readProtection as F, withoutSiblingOwned as Fa, refuseMalformedOrphansForOrphan as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, withheldAccountClause as Fl, noEchoMacParametersOf as Fn, deleteIndeterminateGuards as Fo, earliestDefined as Fr, referenceProvenanceOf as Fs, maskedLogger as Ft, buildAssetRedirectMap as Fu, streamDeclaresTags as G, SNS_DEFAULT_POLICY_ID as Ga, refuseMalformedResourceEntries as Gc, replacedDeleteFailureVerdict as Gi, withoutAcceptedSdkUnwiredProperties as Gl, withMovedTo as Gn, poisonRenderedSpellingsCollidingIn as Go, planFailedOps as Gr, INTRINSIC_KEYS as Gs, readRefactorMarkerOnce as Gt, AssetManifestLoader as Gu, readStreamPolicy as H, KMS_DEFAULT_KEY_POLICY_ID as Ha, malformedResourceEntriesWarning as Hc, supersededHolderOf as Hi, findHandledUnwrittenCreateOnly as Hl, hintSidesOf as Hn, IntrinsicFunctionResolver as Ho, demoteSupersededOrphans as Hr, keepsSecretReferenceToken as Hs, keptForRetainedRecord as Ht, redirectDockerAsset as Hu, DynamoDBGlobalTableProvider as I, awaitInFlightSibling as Ia, repairMalformedOrphanRecordsForReadOnly as Ic, maskingRetryLogger as Ii, STATE_RESOURCES_MALFORMED as Il, noEchoMacVerdict as In, deleteLeftInPlace as Io, ledgerForStack as Ir, referenceTokensIn as Is, relayedIndexBusyDelete as It, createAssetRedirectResolver as Iu, streamTagsMatchDeclared as J, efsPolicyMatchesDeclared as Ja, refuseMalformedResourceEntriesForImport as Jc, withPreviousPolicies as Ji, NO_CC_HANDLERS_REASON as Jl, changedReferenceReason as Jn, resolveDynamicReferences as Jo, replacementNeverSwapped as Jr, replacementSidesForLog as Js, refuseRefactorMarker as Jt, parseAssetManifestBody as Ju, streamMemberRefusals as K, declaredMemberDocument as Ka, refuseMalformedResourceEntriesForDeploy as Kc, snapshotSegmentSurvivors as Ki, withoutSdkUnwiredProperties as Kl, changedReferenceInDiff as Kn, stackIdTailOf as Ko, recheckFailedPlan as Kr, containsIntrinsic as Ks, refactorMarkerMovesOf as Kt, getDockerImageBySourceHash as Ku, STREAM_POLICY_KEY as L, destroyStackRecordsView as La, unpreviewableOrphanRecords as Lc, deleteSupersededEntry as Li, UNREADABLE_RESOURCES_MAP_ROW as Ll, noEchoValueMacsOf as Ln, deleteSkipReason as Lo, reserveStackCreateToken as Lr, getAccountInfo as Ls, waitForIndexesSettled as Lt, createLazyAssetModeContext as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectPrincipalsAttachingPolicy as Ma, previewableOrphanRecords as Mc, isExportAliasCollision as Mi, repairMalformedResourcesForReadOnly as Ml, NOECHO_MAC_KEY_ALIAS as Mn, waitForGoneAfterDelete as Mo, updatePartialReason as Mr, recordedOutputReferenceRegions as Ms, INDEX_SETTLE_POLL_INTERVAL_MS as Mt, decodeListingKey as Mu, isProtectionValueActive as N, isStoredExpression as Na, refuseMalformedOrphanRecords as Nc, bindingSkippedOutputs as Ni, JSON_LISTING_HOLE_VALUE as Nl, createNoEchoValueMacs as Nn, RollbackInlinePolicyWriters as No, findUpdatePolicyReplacementRefusals as Nr, recordedProvenanceOf as Ns, TABLE_INDEX_NOUN as Nt, rememberSynthesizedStacks as Nu, serviceTokenBlockingReason as O, createPreDeleteFinalSnapshot as Oa, isReadableOrphanRecord as Oc, isWholeDynamicReferenceValue as Oi, refuseMalformedResourcesForDeploy as Ol, planOrphanAdoption as On, setLocalCustomResourceRuntimeEnabled as Oo, equalModuloMarkedMask as Or, extractGetAttRefs as Os, deleteBudgetKey as Ot, isListParameterType as Ou, perType as P, withoutSiblingAttachedArns as Pa, refuseMalformedOrphanRecordsForDestroy as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, accountArgs as Pl, noEchoMacBinding as Pn, UNSPECIFIED_SKIP_REASON as Po, replacementCreateRoutesToCloudControl as Pr, recordedReferenceRegions as Ps, deleteTableWithIndexBusyRetry as Pt, synthesizedStacks as Pu, isDynamoDBTableArnIn as Q, reReadUntilSettled as Qa, unreadableResourceEntries as Qc, gray as Qi, providerReplacementOldDeleted as Ql, mappingPairs as Qn, assertFlagRoleArn as Qo, readsRegeneratingSecret as Qr, findReplacedReadersOfRecreateTargets as Qs, isReceiver as Qt, AssetModeResolver as Qu, STREAM_TAGS_KEY as R, getStackRecords as Ra, unreadableOrphanRecords as Rc, holdsSupersededResources as Ri, displayLogicalId as Rl, constructPathOf as Rn, withIndeterminateGuard as Ro, withCreateTokenLedger as Rr, isImpossibleEmptyStoredAttribute as Rs, ECR_AUTO_DELETE_IMAGES_TAG as Rt, flattenAssetPlaceholders as Ru, hasPendingMovesOut as S, ccRoutedFinalSnapshotError as Sa, parameterInputsFor as Sc, resolveAssemblyPath as Sd, secretBearing as Si, repairMalformedOutputsForReadOnly as Sl, isHandledOrphan as Sn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as So, earlyDeletedOld as Sr, cfnRefValueFromPhysicalId as Ss, stripIndexContributorInsights as St, findNestedTemplateTreeDefect as Su, refusePendingMovesOut as T, isFinalSnapshotError as Ta, declaresNoEcho as Tc, carriedExportAliasExposure as Ti, malformedRenderedContainersWarning as Tl, sameJournaledOrphans as Tn, customResourcesRunWithoutApp as To, settleUnsettledPrevious as Tr, lacksRecordedRefArn as Ts, DYNAMODB_DELETE_POLL_COST_MS as Tt, renderNestedTemplateTreeDefect as Tu, reverseMapStreamPolicy as U, LAMBDA_PERMISSION_STATEMENT_KEYS as Ua, malformedScrubResourceEntriesRefusalMessage as Uc, supersededResourcesOf as Ui, findSdkUnwiredProperties as Ul, movedToHint as Un, isSelectOutOfBounds as Uo, isJournaledOrphan as Ur, withSharedDrainBudget as Us, recordRetainedForReadoption as Ut, redirectFileAsset as Uu, planStreamMemberOps as V, withStackRecords as Va, malformedLocalResourcesWarning as Vc, supersededHeldByOtherTypeWarning as Vi, findActionableSdkUnwired as Vl, findRefactorHints as Vn, markWaitAbandoned as Vo, seedsDeleteFirstGuard as Vr, carriesDynamicReference as Vs, isTruthyCfnBoolean as Vt, loadPublishableAssetManifest as Vu, streamDeclaresPolicy as W, OWN_WRITE_REREAD_DELAYS_MS as Wa, refuseMalformedResourceAttributesForOrphan as Wc, withoutSuperseded as Wi, unwrittenCreateOnlyReplacement as Wl, rollbackOrphanIds as Wn, isAlwaysLiveAttribute as Wo, isReplacementOrphan as Wr, namesRecreatedParent as Ws, readRefactorMarker as Wt, rewriteTemplateAssetReferences as Wu, clearTagWrites as X, memberReadFailure as Xa, refuseMalformedResourceEntriesForOrphan as Xc, bold as Xi, PROPERTY_COVERAGE_BY_TYPE as Xl, isPairableType as Xn, refuseUnreadableCdkCrossAccountRefs as Xo, computeImplicitDeleteEdges as Xr, LEGACY_HANDLE_ID_PREFIX as Xs, updateRefactorMarker as Xt, warnAbsoluteAssetPath as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, lambdaPermissionMatchesDeclared as Ya, refuseMalformedResourceEntriesForImportSave as Yc, findNestedStackTypeChanges as Yi, hasNoCloudControlHandlers as Yl, differingRemedy as Yn, producerLookupOver as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, siblingsOf as Ys, sameMove as Yt, resolveFileAssetSourcePath as Yu, declaredTagsReadback as Z, policyDocumentMatchesDeclared as Za, repairMalformedResourceEntriesForReadOnly as Zc, cyan as Zi, dropSupersededProviderReplacements as Zl, looselyEqual as Zn, applyRoleArnIfSet as Zo, attemptUsesCompletedCreate as Zr, isLegacyHandleId as Zs, deleteSignalReceiver as Zt, warnWholeAssemblyAsSource as Zu, conditionFingerprint as _, stateSecretNameNeedles as _a, getTopLevelKeysHoldingUnreadableCreateOnly as _c, assemblyPathEscape as _d, reachableDivergentParameters as _i, malformedOutputsRefusalMessage as _l, getCurrentNestedStackContext as _n, TemplateNoEchoReresolver as _o, replayFailedOperations as _r, s3BucketWebsiteUrl as _s, planContributorInsightsOp as _t, withStackInstanceIdWithheld as _u, scanActiveConsumers as a, noEchoParameterNamesOf as aa, WARM_THROUGHPUT_MEMBERS as ac, readBootstrapMarkerBody as ad, orphanNeedsIdentity as ai, refuseMalformedResourcePropertiesForOrphan as al, resolvePendingCloudControlRequests as an, ProviderRegistry as ao, undeclaredGrantSiblingMembers as ar, applyCallerIdentityCredentials as as, planTimeToLive as at, isKnownTokenFreeState as au, readRecordedConditionVerdicts as b, ATOMIC_FINAL_SNAPSHOT_TYPES as ba, maskedPropertyFingerprintsOf as bc, namesTheSameDirectory as bd, displayTextOrWithheld as bi, refuseMalformedOutputs as bl, dropFailedCommands as bn, getCurrentResourceSecrets as bo, PLANNED_EARLY_DELETE_CONSEQUENCE as br, parameterTypeMayLoseSecretIdentity as bs, reverseMapIndexContributorInsights as bt, stringifyValue as bu, nestedSsmNameDeferredNote as c, completedReplayEntries as ca, toCfnInteger as cc, BOOTSTRAP_MARKER_PREFIX as cd, nameScopeOf as ci, hasReadableOrphans as cl, displacedPhysicalIdShown as cn, wouldReturnToSdkProvider as co, sgSiblingDecidedById as cr, classifyRecordedSecretRegion as cs, planVectorIndexUpdates as ct, hasUnverifiableParameterRefusal as cu, slashedSsmNameHealAdoptedNote as d, namingSecretsWithRecordedNoEcho as da, displayPhysicalId as dc, defineOwnKey as dd, retiredNameGenerationsLeaving as di, refuseMalformedOrphans as dl, nestedChildStackName as dn, evaluateSignals as do, withoutSiblingOwnedSgRules as dr, regionLessSecretName as ds, vectorIndexesSettled as dt, CrossPrefixScanCache as du, red as ea, shownType as ec, buildDenyExternalAccessPolicy as ed, isRedactedRecordedValue as ei, malformedResourcePropertiesWarning as el, macWriteOnlyKeys as en, warnUnsettledMember as eo, propertiesChangedReason as er, explicitRoleArnOrThrow as es, settleWrittenTags as et, normalizeRecordName as eu, slashedSsmNameHealNote as f, orphanRecordsPrintingBag as fa, maskedSecretSegment as fc, hasOwnKey as fd, withNameGenerationReached as fi, refuseMalformedOrphansForDestroy as fl, recordDisplacedSkips as fn, isSignalKey as fo, SG_RULE_ID_PATTERN as fr, isUnexposedRecordedIdentity as fs, vectorIndexesShapeDetail as ft, applyCrossPrefixScan as fu, makeCanonicalizePropertiesFn as g, secretNamedRecordNeedles as ga, getSettledWriteOnlyPropertyPaths as gc, absoluteAssemblyPathEscape as gd, namesAnyDeclaredParameter as gi, malformedLocalOutputsWarning as gl, collectNestedChildUnaddressed as gn, responsePresignClient as go, canonicalizeIpProtocolValue as gr, s3BucketRegionalDomainName as gs, indexDeclaresContributorInsights as gt, stackInstanceIdOf as gu, inheritedProvenanceForChildDiff as h, secretNamedAttributeNamesOf as ha, withSecretPhysicalIdsMaskedInState as hc, ownValue as hd, computeParameterTaint as hi, malformedExportSourceWarning as hl, withNestedRevertRun as hn, customResourceResponseExpirationWarning as ho, sgProtocolKey as hr, s3BucketDualStackDomainName as hs, contributorInsightsRefusals as ht, isNotImplemented as hu, mergeNoChangeOutputs as i, noEchoExactEchoLeavesOf as ia, renderStatefulReason as ic, parseBootstrapMarker as id, removeProtectionTypeList as ii, refuseMalformedResourcePropertiesForExport as il, pendingRequestCount as in, CC_BROKEN_REASON as io, stripSiblingOwnedParentMembers as ir, AWS_CREDENTIAL_ENV_KEYS as is, isTtlRateLimited as it, splitImportedOps as iu, recordedProtectionNote as j, collectManagedPolicyArnsAttachedBySiblings as ja, malformedOrphanRowsKeptWarning as jc, collectPublishedOutputNames as ji, refuseMalformedState as jl, crossStackReadsForPartialSave as jn, CloudControlProvider as jo, updatePartialMessage as jr, outputReferenceProvenanceOf as js, DELETE_INDEX_WAIT_PROCEED_NOTE as jt, purgeNoncurrentKeyVersions as ju, diffSecurity as k, buildFinalSnapshotIdentifier as ka, malformedOrphanRecordsRefusalMessage as kc, noEchoParameterValueSeed as ki, refuseMalformedResourcesForDestroy as kl, DeploymentEventsReader as kn, withCustomResourceStack as ko, equalModuloMask as kr, promoteInPlaceAttributeDependents as ks, resolveDynamoDbDeleteBudgetClock as kt, ssmResolvedValueType as ku, nestedSsmNameRowNote as l, journaledOrphanPrintingBag as la, toFiniteNumber as lc, getCdkdAssetBucketName as ld, retiredAfterRollback as li, malformedOrphansRefusalMessage as ll, dropSettledNestedJournals as ln, WaitConditionSignalStore as lo, siblingOwnedSgRuleIdentities as lr, classifyReplaySecretRegion as ls, readbackVectorIndexes as lt, rebuildClientForBucketRegion as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBags as ma, secretSegmentsOfState as mc, nullPrototypeRecord as md, inheritProducerRegions as mi, malformedExportNamesWarning as ml, revertedNestedRowIds as mn, applyCustomResourceResponseExpiration as mo, recordedSgRuleId as mr, s3BucketDomainName as ms, completeTableContributorInsightsBaseline as mt, isAccessDenied$1 as mu, isSecretBearingReferenceString as n, noEchoAttributeNamesOf as na, isStatefulRecreateTargetForReplace as nc, isCrossRegionRedirect as nd, redactedDeleteAddressSkip as ni, refuseMalformedResourcePropertiesForDestroy as nl, licensedNameHolder as nn, attemptedPolicyDocument as no, referencedLogicalIds as nr, parseIamRoleArn as ns, takeTagWrite as nt, TemplateParser as nu, inRunStackKey as o, withAttemptedItemsMasked as oa, coerceWarmThroughput as oc, validateAssetBucketName as od, nameGenerationCarriedFrom as oi, repairMalformedResourcePropertiesForReadOnly as ol, NESTED_PENDING_PARENT_REASON as on, ccBrokenReason as oo, recordedRuleIdOf as or, callerEnvCredentials as os, readTtlSpec as ot, readOnlyStateVersionOf as ou, slashedSsmNameHealPendingNote as p, secretNamePrintingBag as pa, secretPhysicalIdSegment as pc, hasPlainPrototype as pd, getCurrentProducerRegions as pi, repairMalformedOrphansForReadOnly as pl, revertNestedChildFromJournal as pn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as po, cfnIngressPortValue as pr, s3BucketArn as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, crossPrefixDeniedWarning as pu, streamPolicyMatchesDeclared as q, declaredPolicyDocument as qa, refuseMalformedResourceEntriesForDestroy as qc, resolveReplacementOldType as qi, withoutUnwrittenSdkUnwiredProperties as ql, changedReferencePath as qn, isSettledInstanceState as qo, recordUnderIdIsNotOwn as qr, markNewValueKnownAfterDeploy as qs, refactorMarkerRefusalMessage as qt, isCfnTemplateAssetPath as qu, keptWholeReasonText as r, noEchoComparisonForTemplate as ra, isStatefulRecreateTargetSync as rc, getBootstrapMarkerKey as rd, segmentCleanupOptions as ri, refuseMalformedResourcePropertiesForDrift as rl, formatResourceLine as rn, policyContentKey as ro, siblingOwnedRevertDesired as rr, sendableAssumeRoleCommand as rs, isTtlAlreadyDisabled as rt, S3StateBackend as ru, checkNestedSsmNames as s, createReadOnlyAttributeHealerFactory as sa, isWarmThroughputDecrease as sc, validateContainerRepoName as sd, nameGenerationHighWaterOf as si, UNREADABLE_ORPHANS_CONTAINER_ROW as sl, displacedOpClause as sn, isCustomResource as so, sgRuleOwnershipIdentity as sr, envCredentialsAreAssumedRole as ss, sendTtlWaitingOutRateLimit as st, hasReasonlessBaselineRefusal as su, DeployEngine as t, yellow as ta, MULTI_REGION_RECREATE_BLOCKED_TYPES as tc, assertAssetBucketRegion as td, redactedDeleteAddressFields as ti, refuseMalformedResourceProperties as tl, readsOnlyNoEchoParameters as tn, verbatimEchoDriftKeys as to, proposeRenames as tr, isIamRoleArn as ts, tagsMatchDeclared as tt, planSubscriptionAttributes as tu, healSlashedSsmParameterNames as u, maskEventTextWithBoundBags as ua, APPSYNC_APIKEY_ARN_RESOURCE_PATH as uc, getCdkdContainerRepoName as ud, retiredNameGenerationsAfter as ui, malformedOrphansWarning as ul, getNestedRevertRun as un, classifyHandleUrl as uo, siblingRecordedSgRuleIds as ur, producerRegionsFromState as us, vectorIndexesForCreate as ut, CrossPrefixReadError as uu, conditionInputsFrom as v, storedSecretNameNeedles as va, tryGetTopLevelWriteOnlyProperties as vc, describeFileReadFailure as vd, resourcesNamingDeclaredParameter as vi, malformedOutputsWarning as vl, withNestedStackContext as vn, readsNoEchoDeleteValues as vo, replayRollback as vr, coerceParameterTypedValue as vs, planIndexContributorInsightsOps as vt, isSecretValuedAttribute as vu, pendingMovesRefusalMessage as w, effectiveDeletionPolicy as wa, passedParameterClassesOf as wc, resolveBucketRegion as wd, secretSafeKeyDisplay as wi, refuseDivergentRecordRegionForDestroy as wl, loadJournaledOrphans as wn, customResourcesFailedWithoutApp as wo, recordAfterRollbackUpdate as wr, refStateLookupFromResource as ws, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as wt, listNestedTemplateRows as wu, childTemplateLoader as x, PRE_DELETE_SNAPSHOT_TYPES as xa, movedMaskedProperties as xc, renderAssemblyPathEscape as xd, exportAliasCollisionScrubWarning as xi, refuseMalformedOutputsForDestroy as xl, dropFailedHint as xn, withPrintingSecrets as xo, earlyDeleteWhen as xr, AWS_NO_VALUE as xs, reverseMapTableContributorInsights as xt, missingStateBucketRemedy as xu, parentSuppliedValues as y, extractDeploymentEventError as ya, inputFingerprinter as yc, displayAssemblyPath as yd, WITHHELD_NAME_DISPLAY as yi, refuseMalformedNestedChildOutputs as yl, deleteJournaledOrphans as yn, isCustomResourceType as yo, DELETED_RESOURCE_REMEDY as yr, isUnboundTemplateParameter as ys, readContributorInsightsSpec as yt, isSensitiveAttributeName as yu, declaredStreamPolicyMember as z, revertStackRecordsView as za, isReadableResourceEntry as zc, isSupersededResourceRecord as zi, hasReadableOutputs as zl, findDestructiveChanges as zn, getReadOnlyPropertyPaths as zo, acquireIdempotencyToken as zr, carriesFetchableDynamicReference as zs, S3_AUTO_DELETE_OBJECTS_TAG as zt, isDefaultBootstrapBucketName as zu };
55506
- //# sourceMappingURL=deploy-engine-9rzhYsZc.js.map
55784
+ export { recordTagWrite as $, reReadUntilSettled as $a, unreadableResourceEntries as $c, gray as $i, providerReplacementOldDeleted as $l, parseMappingFile as $n, assertFlagRoleArn as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, findReplacedReadersOfRecreateTargets as $s, removeSignalReceiverNamed as $t, AssetModeResolver as $u, recordedProtectionEvidence as A, buildFinalSnapshotIdentifier as Aa, malformedOrphanRecordsRefusalMessage as Ac, collectDeclaredOutputNames as Ai, refuseMalformedResourcesForDestroy as Al, DeploymentEventsStore as An, withCustomResourceStack as Ao, undeclaredEmptyObservedKeys as Ar, promoteInPlaceAttributeDependents as As, resolveDynamoDbDeleteBudgetMs as At, ssmResolvedValueType as Au, declaredStreamTagsMember as B, revertStackRecordsView as Ba, isReadableResourceEntry as Bc, supersededAfterRollback as Bi, hasReadableOutputs as Bl, formatDestructiveChange as Bn, getReadOnlyPropertyPaths as Bo, planRollback as Br, carriesFetchableDynamicReference as Bs, hasCdkAutoDeleteTag as Bt, isDefaultBootstrapBucketName as Bu, pendingMovesOutOf as C, ccRoutedFinalSnapshotError as Ca, parameterInputsFor as Cc, resolveAssemblyPath as Cd, secretBearingStateKeyWarning as Ci, repairMalformedOutputsForReadOnly as Cl, journaledOrphanLines as Cn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Co, buildReadCurrentStateContext as Cr, cfnRefValueFromPhysicalId as Cs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as Ct, findNestedTemplateTreeDefect as Cu, findServiceTokenRefusals as D, refusesFinalSnapshot as Da, maskedPropertyFingerprint as Dc, exportNameSecretExposure as Di, malformedResourcesWarning as Dl, makeSiblingClaimReader as Dn, localCustomResourceCommand as Do, calculateResourceDrift as Dr, lacksRecordedTableArn as Ds, compensateRemovedDeletionProtection as Dt, templateIdentity as Du, deferredServiceTokenWarning as E, isFinalSnapshotError as Ea, declaresNoEcho as Ec, exportNameNoEchoParameters as Ei, malformedRenderedContainersWarning as El, makeForeignHolderScan as En, customResourcesRunWithoutApp as Eo, withUnprovenUnsettled as Er, lacksRecordedRefArn as Es, beginDeleteWait as Et, renderNestedTemplateTreeDefect as Eu, readProtection as F, withoutSiblingAttachedArns as Fa, refuseMalformedOrphanRecordsForDestroy as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, accountArgs as Fl, noEchoMacParametersOf as Fn, UNSPECIFIED_SKIP_REASON as Fo, earliestDefined as Fr, recordedReferenceRegions as Fs, maskedLogger as Ft, synthesizedStacks as Fu, streamDeclaresTags as G, OWN_WRITE_REREAD_DELAYS_MS as Ga, refuseMalformedResourceAttributesForOrphan as Gc, withoutSuperseded as Gi, unwrittenCreateOnlyReplacement as Gl, withMovedTo as Gn, isAlwaysLiveAttribute as Go, planFailedOps as Gr, namesRecreatedParent as Gs, readRefactorMarkerOnce as Gt, rewriteTemplateAssetReferences as Gu, readStreamPolicy as H, withStackRecords as Ha, malformedLocalResourcesWarning as Hc, supersededHeldByOtherTypeWarning as Hi, findActionableSdkUnwired as Hl, hintSidesOf as Hn, markWaitAbandoned as Ho, demoteSupersededOrphans as Hr, carriesDynamicReference as Hs, keptForRetainedRecord as Ht, loadPublishableAssetManifest as Hu, DynamoDBGlobalTableProvider as I, withoutSiblingOwned as Ia, refuseMalformedOrphansForOrphan as Ic, maskingRetryLogger as Ii, withheldAccountClause as Il, noEchoMacVerdict as In, deleteIndeterminateGuards as Io, ledgerForStack as Ir, referenceProvenanceOf as Is, relayedIndexBusyDelete as It, buildAssetRedirectMap as Iu, streamTagsMatchDeclared as J, declaredPolicyDocument as Ja, refuseMalformedResourceEntriesForDestroy as Jc, resolveReplacementOldType as Ji, withoutUnwrittenSdkUnwiredProperties as Jl, changedReferenceReason as Jn, isSettledInstanceState as Jo, replacementNeverSwapped as Jr, markNewValueKnownAfterDeploy as Js, refuseRefactorMarker as Jt, isCfnTemplateAssetPath as Ju, streamMemberRefusals as K, SNS_DEFAULT_POLICY_ID as Ka, refuseMalformedResourceEntries as Kc, replacedDeleteFailureVerdict as Ki, withoutAcceptedSdkUnwiredProperties as Kl, changedReferenceInDiff as Kn, poisonRenderedSpellingsCollidingIn as Ko, recheckFailedPlan as Kr, INTRINSIC_KEYS as Ks, refactorMarkerMovesOf as Kt, AssetManifestLoader as Ku, STREAM_POLICY_KEY as L, awaitInFlightSibling as La, repairMalformedOrphanRecordsForReadOnly as Lc, deleteSupersededEntry as Li, STATE_RESOURCES_MALFORMED as Ll, noEchoValueMacsOf as Ln, deleteLeftInPlace as Lo, reserveStackCreateToken as Lr, referenceTokensIn as Ls, waitForIndexesSettled as Lt, createAssetRedirectResolver as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectManagedPolicyArnsAttachedBySiblings as Ma, malformedOrphanRowsKeptWarning as Mc, isExportAliasCollision as Mi, refuseMalformedState as Ml, NOECHO_MAC_KEY_ALIAS as Mn, CloudControlProvider as Mo, updatePartialReason as Mr, outputReferenceProvenanceOf as Ms, INDEX_SETTLE_POLL_INTERVAL_MS as Mt, purgeNoncurrentKeyVersions as Mu, isProtectionValueActive as N, collectPrincipalsAttachingPolicy as Na, previewableOrphanRecords as Nc, bindingSkippedOutputs as Ni, repairMalformedResourcesForReadOnly as Nl, createNoEchoValueMacs as Nn, waitForGoneAfterDelete as No, findUpdatePolicyReplacementRefusals as Nr, recordedOutputReferenceRegions as Ns, TABLE_INDEX_NOUN as Nt, decodeListingKey as Nu, serviceTokenBlockingReason as O, unsupportedFinalSnapshotError as Oa, deployRefusesOrphanRowsReason as Oc, isWholeDynamicReferenceValue as Oi, malformedStateRefusalMessage as Ol, planOrphanAdoption as On, localCustomResourceRuntimeActive as Oo, equalModuloMarkedMask as Or, parseWebACLArn as Os, deleteBudgetKey as Ot, SSM_PARAMETER_VALUE_PREFIX as Ou, perType as P, isStoredExpression as Pa, refuseMalformedOrphanRecords as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, JSON_LISTING_HOLE_VALUE as Pl, noEchoMacBinding as Pn, RollbackInlinePolicyWriters as Po, replacementCreateRoutesToCloudControl as Pr, recordedProvenanceOf as Ps, deleteTableWithIndexBusyRetry as Pt, rememberSynthesizedStacks as Pu, isDynamoDBTableArnIn as Q, policyDocumentMatchesDeclared as Qa, repairMalformedResourceEntriesForReadOnly as Qc, cyan as Qi, dropSupersededProviderReplacements as Ql, mappingPairs as Qn, applyRoleArnIfSet as Qo, readsRegeneratingSecret as Qr, isLegacyHandleId as Qs, isReceiver as Qt, warnWholeAssemblyAsSource as Qu, STREAM_TAGS_KEY as R, destroyStackRecordsView as Ra, unpreviewableOrphanRecords as Rc, holdsSupersededResources as Ri, UNREADABLE_RESOURCES_MAP_ROW as Rl, constructPathOf as Rn, deleteSkipReason as Ro, withCreateTokenLedger as Rr, getAccountInfo as Rs, ECR_AUTO_DELETE_IMAGES_TAG as Rt, createLazyAssetModeContext as Ru, hasPendingMovesOut as S, PRE_DELETE_SNAPSHOT_TYPES as Sa, movedMaskedProperties as Sc, renderAssemblyPathEscape as Sd, secretBearing as Si, refuseMalformedOutputsForDestroy as Sl, isHandledOrphan as Sn, withPrintingSecrets as So, earlyDeletedOld as Sr, AWS_NO_VALUE as Ss, stripIndexContributorInsights as St, missingStateBucketRemedy as Su, refusePendingMovesOut as T, effectiveDeletionPolicy as Ta, passedParameterClassesOf as Tc, resolveBucketRegion as Td, carriedExportAliasExposure as Ti, refuseDivergentRecordRegionForDestroy as Tl, sameJournaledOrphans as Tn, customResourcesFailedWithoutApp as To, settleUnsettledPrevious as Tr, refStateLookupFromResource as Ts, DYNAMODB_DELETE_POLL_COST_MS as Tt, listNestedTemplateRows as Tu, reverseMapStreamPolicy as U, KMS_DEFAULT_KEY_POLICY_ID as Ua, malformedResourceEntriesWarning as Uc, supersededHolderOf as Ui, findHandledUnwrittenCreateOnly as Ul, movedToHint as Un, IntrinsicFunctionResolver as Uo, isJournaledOrphan as Ur, keepsSecretReferenceToken as Us, recordRetainedForReadoption as Ut, redirectDockerAsset as Uu, planStreamMemberOps as V, verifiedIdentityCache as Va, malformedLocalResourceEntriesWarning as Vc, supersededDependentsFirst as Vi, hasReadableResources as Vl, findRefactorHints as Vn, isWaitAbandonedError as Vo, seedsDeleteFirstGuard as Vr, isNamelessDynamicReferenceError as Vs, isTruthyCfnBoolean as Vt, isDefaultBootstrapRepoName as Vu, streamDeclaresPolicy as W, LAMBDA_PERMISSION_STATEMENT_KEYS as Wa, malformedScrubResourceEntriesRefusalMessage as Wc, supersededResourcesOf as Wi, findSdkUnwiredProperties as Wl, rollbackOrphanIds as Wn, isSelectOutOfBounds as Wo, isReplacementOrphan as Wr, withSharedDrainBudget as Ws, readRefactorMarker as Wt, redirectFileAsset as Wu, clearTagWrites as X, lambdaPermissionMatchesDeclared as Xa, refuseMalformedResourceEntriesForImportSave as Xc, findNestedStackTypeChanges as Xi, hasNoCloudControlHandlers as Xl, isPairableType as Xn, producerLookupOver as Xo, computeImplicitDeleteEdges as Xr, siblingsOf as Xs, updateRefactorMarker as Xt, resolveFileAssetSourcePath as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, efsPolicyMatchesDeclared as Ya, refuseMalformedResourceEntriesForImport as Yc, withPreviousPolicies as Yi, NO_CC_HANDLERS_REASON as Yl, differingRemedy as Yn, resolveDynamicReferences as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, replacementSidesForLog as Ys, sameMove as Yt, parseAssetManifestBody as Yu, declaredTagsReadback as Z, memberReadFailure as Za, refuseMalformedResourceEntriesForOrphan as Zc, bold as Zi, PROPERTY_COVERAGE_BY_TYPE as Zl, looselyEqual as Zn, refuseUnreadableCdkCrossAccountRefs as Zo, attemptUsesCompletedCreate as Zr, LEGACY_HANDLE_ID_PREFIX as Zs, deleteSignalReceiver as Zt, warnAbsoluteAssetPath as Zu, conditionFingerprint as _, secretNamedRecordNeedles as _a, getSettledWriteOnlyPropertyPaths as _c, absoluteAssemblyPathEscape as _d, reachableDivergentParameters as _i, malformedLocalOutputsWarning as _l, getCurrentNestedStackContext as _n, responsePresignClient as _o, replayFailedOperations as _r, s3BucketRegionalDomainName as _s, planContributorInsightsOp as _t, stackInstanceIdOf as _u, scanActiveConsumers as a, noEchoExactEchoLeavesOf as aa, renderStatefulReason as ac, parseBootstrapMarker as ad, orphanNeedsIdentity as ai, refuseMalformedResourcePropertiesForExport as al, resolvePendingCloudControlRequests as an, CC_BROKEN_REASON as ao, undeclaredGrantSiblingMembers as ar, AWS_CREDENTIAL_ENV_KEYS as as, planTimeToLive as at, splitImportedOps as au, readRecordedConditionVerdicts as b, extractDeploymentEventError as ba, inputFingerprinter as bc, displayAssemblyPath as bd, displayTextOrWithheld as bi, refuseMalformedNestedChildOutputs as bl, dropFailedCommands as bn, isCustomResourceType as bo, PLANNED_EARLY_DELETE_CONSEQUENCE as br, isUnboundTemplateParameter as bs, reverseMapIndexContributorInsights as bt, isSensitiveAttributeName as bu, nestedSsmNameDeferredNote as c, createReadOnlyAttributeHealerFactory as ca, isWarmThroughputDecrease as cc, validateContainerRepoName as cd, nameScopeOf as ci, UNREADABLE_ORPHANS_CONTAINER_ROW as cl, displacedPhysicalIdShown as cn, isCustomResource as co, sgSiblingDecidedById as cr, envCredentialsAreAssumedRole as cs, planVectorIndexUpdates as ct, hasReasonlessBaselineRefusal as cu, slashedSsmNameHealAdoptedNote as d, maskEventTextWithBoundBags as da, APPSYNC_APIKEY_ARN_RESOURCE_PATH as dc, getCdkdContainerRepoName as dd, retiredNameGenerationsLeaving as di, malformedOrphansWarning as dl, nestedChildStackName as dn, classifyHandleUrl as do, withoutSiblingOwnedSgRules as dr, producerRegionsFromState as ds, vectorIndexesSettled as dt, CrossPrefixReadError as du, green as ea, isPlainReferenceTo as ec, ensureAssetStorage as ed, isRedactedRecordedValue as ei, malformedDriftResourcePropertiesWarning as el, macWriteOnlyKeys as en, settleDeclaredMember as eo, propertiesChangedReason as er, assertSendableRoleArn as es, settleWrittenTags as et, providerReplacementReason as eu, slashedSsmNameHealNote as f, namingSecretsWithRecordedNoEcho as fa, displayPhysicalId as fc, defineOwnKey as fd, withNameGenerationReached as fi, refuseMalformedOrphans as fl, recordDisplacedSkips as fn, evaluateSignals as fo, SG_RULE_ID_PATTERN as fr, regionLessSecretName as fs, vectorIndexesShapeDetail as ft, CrossPrefixScanCache as fu, makeCanonicalizePropertiesFn as g, secretNamedAttributeNamesOf as ga, withSecretPhysicalIdsMaskedInState as gc, ownValue as gd, namesAnyDeclaredParameter as gi, malformedExportSourceWarning as gl, collectNestedChildUnaddressed as gn, customResourceResponseExpirationWarning as go, canonicalizeIpProtocolValue as gr, s3BucketDualStackDomainName as gs, indexDeclaresContributorInsights as gt, isNotImplemented as gu, inheritedProvenanceForChildDiff as h, secretNamePrintingBags as ha, secretSegmentsOfState as hc, nullPrototypeRecord as hd, computeParameterTaint as hi, malformedExportNamesWarning as hl, withNestedRevertRun as hn, applyCustomResourceResponseExpiration as ho, sgProtocolKey as hr, s3BucketDomainName as hs, contributorInsightsRefusals as ht, isAccessDenied$1 as hu, mergeNoChangeOutputs as i, noEchoComparisonForTemplate as ia, isStatefulRecreateTargetSync as ic, getBootstrapMarkerKey as id, removeProtectionTypeList as ii, refuseMalformedResourcePropertiesForDrift as il, pendingRequestCount as in, policyContentKey as io, stripSiblingOwnedParentMembers as ir, sendableAssumeRoleCommand as is, isTtlRateLimited as it, S3StateBackend as iu, recordedProtectionNote as j, collectGroupsAddedBySiblings as ja, malformedOrphanRecordsWarning as jc, collectPublishedOutputNames as ji, refuseMalformedResourcesForExport as jl, crossStackReadsForPartialSave as jn, waitForLambdaFunctionActive as jo, updatePartialMessage as jr, keepHeldTokenProvenance as js, DELETE_INDEX_WAIT_PROCEED_NOTE as jt, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as ju, diffSecurity as k, createPreDeleteFinalSnapshot as ka, isReadableOrphanRecord as kc, noEchoParameterValueSeed as ki, refuseMalformedResourcesForDeploy as kl, DeploymentEventsReader as kn, setLocalCustomResourceRuntimeEnabled as ko, equalModuloMask as kr, extractGetAttRefs as ks, resolveDynamoDbDeleteBudgetClock as kt, isListParameterType as ku, nestedSsmNameRowNote as l, completedReplayEntries as la, toCfnInteger as lc, BOOTSTRAP_MARKER_PREFIX as ld, retiredAfterRollback as li, hasReadableOrphans as ll, dropSettledNestedJournals as ln, wouldReturnToSdkProvider as lo, siblingOwnedSgRuleIdentities as lr, classifyRecordedSecretRegion as ls, readbackVectorIndexes as lt, hasUnverifiableParameterRefusal as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBag as ma, secretPhysicalIdSegment as mc, hasPlainPrototype as md, inheritProducerRegions as mi, repairMalformedOrphansForReadOnly as ml, revertedNestedRowIds as mn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as mo, recordedSgRuleId as mr, s3BucketArn as ms, completeTableContributorInsightsBaseline as mt, crossPrefixDeniedWarning as mu, isSecretBearingReferenceString as n, yellow as na, MULTI_REGION_RECREATE_BLOCKED_TYPES as nc, assertAssetBucketRegion as nd, redactedDeleteAddressSkip as ni, refuseMalformedResourceProperties as nl, licensedNameHolder as nn, verbatimEchoDriftKeys as no, referencedLogicalIds as nr, isIamRoleArn as ns, takeTagWrite as nt, planSubscriptionAttributes as nu, inRunStackKey as o, noEchoParameterNamesOf as oa, WARM_THROUGHPUT_MEMBERS as oc, readBootstrapMarkerBody as od, nameGenerationCarriedFrom as oi, refuseMalformedResourcePropertiesForOrphan as ol, NESTED_PENDING_PARENT_REASON as on, ProviderRegistry as oo, recordedRuleIdOf as or, applyCallerIdentityCredentials as os, readTtlSpec as ot, isKnownTokenFreeState as ou, slashedSsmNameHealPendingNote as p, orphanRecordsPrintingBag as pa, maskedSecretSegment as pc, hasOwnKey as pd, getCurrentProducerRegions as pi, refuseMalformedOrphansForDestroy as pl, revertNestedChildFromJournal as pn, isSignalKey as po, cfnIngressPortValue as pr, isUnexposedRecordedIdentity as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, applyCrossPrefixScan as pu, streamPolicyMatchesDeclared as q, declaredMemberDocument as qa, refuseMalformedResourceEntriesForDeploy as qc, snapshotSegmentSurvivors as qi, withoutSdkUnwiredProperties as ql, changedReferencePath as qn, stackIdTailOf as qo, recordUnderIdIsNotOwn as qr, containsIntrinsic as qs, refactorMarkerRefusalMessage as qt, getDockerImageBySourceHash as qu, keptWholeReasonText as r, noEchoAttributeNamesOf as ra, isStatefulRecreateTargetForReplace as rc, isCrossRegionRedirect as rd, segmentCleanupOptions as ri, refuseMalformedResourcePropertiesForDestroy as rl, formatResourceLine as rn, attemptedPolicyDocument as ro, siblingOwnedRevertDesired as rr, parseIamRoleArn as rs, isTtlAlreadyDisabled as rt, TemplateParser as ru, checkNestedSsmNames as s, withAttemptedItemsMasked as sa, coerceWarmThroughput as sc, validateAssetBucketName as sd, nameGenerationHighWaterOf as si, repairMalformedResourcePropertiesForReadOnly as sl, displacedOpClause as sn, ccBrokenReason as so, sgRuleOwnershipIdentity as sr, callerEnvCredentials as ss, sendTtlWaitingOutRateLimit as st, readOnlyStateVersionOf as su, DeployEngine as t, red as ta, shownType as tc, buildDenyExternalAccessPolicy as td, redactedDeleteAddressFields as ti, malformedResourcePropertiesWarning as tl, readsOnlyNoEchoParameters as tn, warnUnsettledMember as to, proposeRenames as tr, explicitRoleArnOrThrow as ts, tagsMatchDeclared as tt, normalizeRecordName as tu, healSlashedSsmParameterNames as u, journaledOrphanPrintingBag as ua, toFiniteNumber as uc, getCdkdAssetBucketName as ud, retiredNameGenerationsAfter as ui, malformedOrphansRefusalMessage as ul, getNestedRevertRun as un, WaitConditionSignalStore as uo, siblingRecordedSgRuleIds as ur, classifyReplaySecretRegion as us, vectorIndexesForCreate as ut, rebuildClientForBucketRegion as uu, conditionInputsFrom as v, stateSecretNameNeedles as va, getTopLevelKeysHoldingUnreadableCreateOnly as vc, assemblyPathEscape as vd, resourcesNamingDeclaredParameter as vi, malformedOutputsRefusalMessage as vl, withNestedStackContext as vn, TemplateNoEchoReresolver as vo, replayRollback as vr, s3BucketWebsiteUrl as vs, planIndexContributorInsightsOps as vt, withStackInstanceIdWithheld as vu, pendingMovesRefusalMessage as w, ccRoutedInstanceTakesNoSnapshot as wa, maskedInputProof as wc, clearBucketRegionCache as wd, secretSafeKeyDisplay as wi, STATE_REGION_DIVERGED as wl, loadJournaledOrphans as wn, customResourceStackName as wo, recordAfterRollbackUpdate as wr, isStalePlaceholderArnAttribute as ws, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as wt, isAbsoluteAssetPath as wu, childTemplateLoader as x, ATOMIC_FINAL_SNAPSHOT_TYPES as xa, maskedPropertyFingerprintsOf as xc, namesTheSameDirectory as xd, exportAliasCollisionScrubWarning as xi, refuseMalformedOutputs as xl, dropFailedHint as xn, getCurrentResourceSecrets as xo, earlyDeleteWhen as xr, parameterTypeMayLoseSecretIdentity as xs, reverseMapTableContributorInsights as xt, stringifyValue as xu, parentSuppliedValues as y, storedSecretNameNeedles as ya, tryGetTopLevelWriteOnlyProperties as yc, describeFileReadFailure as yd, WITHHELD_NAME_DISPLAY as yi, malformedOutputsWarning as yl, deleteJournaledOrphans as yn, readsNoEchoDeleteValues as yo, DELETED_RESOURCE_REMEDY as yr, coerceParameterTypedValue as ys, readContributorInsightsSpec as yt, isSecretValuedAttribute as yu, declaredStreamPolicyMember as z, getStackRecords as za, unreadableOrphanRecords as zc, isSupersededResourceRecord as zi, displayLogicalId as zl, findDestructiveChanges as zn, withIndeterminateGuard as zo, acquireIdempotencyToken as zr, isImpossibleEmptyStoredAttribute as zs, S3_AUTO_DELETE_OBJECTS_TAG as zt, flattenAssetPlaceholders as zu };
55785
+ //# sourceMappingURL=deploy-engine-BSqVfcSN.js.map