@cdkd/cli 0.364.0 → 0.366.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 (60) hide show
  1. package/dist/{ambient-client-defaults-BKnLt9R9.js → ambient-client-defaults-DGlgLkLA.js} +15 -3
  2. package/dist/ambient-client-defaults-DGlgLkLA.js.map +1 -0
  3. package/dist/{asg-provider-D-wGQIgg.js → asg-provider-BYDJF4aP.js} +20 -13
  4. package/dist/{asg-provider-D-wGQIgg.js.map → asg-provider-BYDJF4aP.js.map} +1 -1
  5. package/dist/cli.js +3 -3
  6. package/dist/{custom-resource-runtime-BDRipTIL.js → custom-resource-runtime-Dwdx83HD.js} +6 -6
  7. package/dist/{custom-resource-runtime-BDRipTIL.js.map → custom-resource-runtime-Dwdx83HD.js.map} +1 -1
  8. package/dist/{db-associated-roles-cQd3Zmr5.js → db-associated-roles-CHCg0hfT.js} +2 -2
  9. package/dist/{db-associated-roles-cQd3Zmr5.js.map → db-associated-roles-CHCg0hfT.js.map} +1 -1
  10. package/dist/{delete-started-DHQvQxWa.js → delete-started-B1pjTEWL.js} +6 -6
  11. package/dist/{delete-started-DHQvQxWa.js.map → delete-started-B1pjTEWL.js.map} +1 -1
  12. package/dist/{deploy-engine-9rzhYsZc.js → deploy-engine-C1OMmZo7.js} +538 -188
  13. package/dist/deploy-engine-C1OMmZo7.js.map +1 -0
  14. package/dist/{ec2-termination-protection-Dttj-XrE.js → ec2-termination-protection-ndoL1mf5.js} +11 -6
  15. package/dist/ec2-termination-protection-ndoL1mf5.js.map +1 -0
  16. package/dist/{ecr-uri-BYWBRpzv.js → ecr-uri-B8gIqzvr.js} +2 -2
  17. package/dist/{ecr-uri-BYWBRpzv.js.map → ecr-uri-B8gIqzvr.js.map} +1 -1
  18. package/dist/{expected-bucket-owner-DWEAlmAk.js → expected-bucket-owner-DqlNitge.js} +2 -2
  19. package/dist/{expected-bucket-owner-DWEAlmAk.js.map → expected-bucket-owner-DqlNitge.js.map} +1 -1
  20. package/dist/{iam-role-provider-fCKVbuHw.js → iam-role-provider-Y-OvXXLi.js} +133 -50
  21. package/dist/iam-role-provider-Y-OvXXLi.js.map +1 -0
  22. package/dist/{image-plan-XyUNOBmz.js → image-plan-QGSDHbZb.js} +8 -8
  23. package/dist/{image-plan-XyUNOBmz.js.map → image-plan-QGSDHbZb.js.map} +1 -1
  24. package/dist/index.d.ts +4 -1
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/index.js +5 -5
  27. package/dist/{logger-xueeC0uS.js → logger-DtNR12g9.js} +6 -2
  28. package/dist/logger-DtNR12g9.js.map +1 -0
  29. package/dist/{neptune-provider-ClN-LvMb.js → neptune-provider-DkqUzNAQ.js} +14 -7
  30. package/dist/{neptune-provider-ClN-LvMb.js.map → neptune-provider-DkqUzNAQ.js.map} +1 -1
  31. package/dist/{program-Dz-HwMKe.js → program-CnVw8I_o.js} +220 -49
  32. package/dist/program-CnVw8I_o.js.map +1 -0
  33. package/dist/{provider-classes-Bmipcl6d.js → provider-classes-p7pdWDAx.js} +2105 -806
  34. package/dist/provider-classes-p7pdWDAx.js.map +1 -0
  35. package/dist/{rds-provider-X8pB7V-7.js → rds-provider-DINaS0eX.js} +17 -10
  36. package/dist/rds-provider-DINaS0eX.js.map +1 -0
  37. package/dist/{read-replica-B9F3-d8h.js → read-replica-CsBlH9Uj.js} +3 -3
  38. package/dist/{read-replica-B9F3-d8h.js.map → read-replica-CsBlH9Uj.js.map} +1 -1
  39. package/dist/{replacement-rules-TNt9wPax.js → replacement-rules-BfJA0Tv-.js} +5 -4
  40. package/dist/{replacement-rules-TNt9wPax.js.map → replacement-rules-BfJA0Tv-.js.map} +1 -1
  41. package/dist/{resource-deadline-CUApArbf.js → resource-deadline-Bi1vjvil.js} +38 -5
  42. package/dist/resource-deadline-Bi1vjvil.js.map +1 -0
  43. package/dist/{restore-source-guard-jCM5yJzQ.js → restore-source-guard-yKdDVYcc.js} +4 -4
  44. package/dist/{restore-source-guard-jCM5yJzQ.js.map → restore-source-guard-yKdDVYcc.js.map} +1 -1
  45. package/dist/{run-cli-BDjbpUsh.js → run-cli-B7LQ5-nX.js} +2 -2
  46. package/dist/{run-cli-BDjbpUsh.js.map → run-cli-B7LQ5-nX.js.map} +1 -1
  47. package/dist/{settle-own-write-members-CSkozE9A.js → settle-own-write-members-CX9PE0nB.js} +12 -12
  48. package/dist/{settle-own-write-members-CSkozE9A.js.map → settle-own-write-members-CX9PE0nB.js.map} +1 -1
  49. package/dist/{version-BXn3jGiB.js → version-vwWFWlIH.js} +2 -2
  50. package/dist/{version-BXn3jGiB.js.map → version-vwWFWlIH.js.map} +1 -1
  51. package/package.json +3 -2
  52. package/dist/ambient-client-defaults-BKnLt9R9.js.map +0 -1
  53. package/dist/deploy-engine-9rzhYsZc.js.map +0 -1
  54. package/dist/ec2-termination-protection-Dttj-XrE.js.map +0 -1
  55. package/dist/iam-role-provider-fCKVbuHw.js.map +0 -1
  56. package/dist/logger-xueeC0uS.js.map +0 -1
  57. package/dist/program-Dz-HwMKe.js.map +0 -1
  58. package/dist/provider-classes-Bmipcl6d.js.map +0 -1
  59. package/dist/rds-provider-X8pB7V-7.js.map +0 -1
  60. 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-vwWFWlIH.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-DtNR12g9.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-DGlgLkLA.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-ndoL1mf5.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 { A as assertRegionMatch, B as refusalTypeShown, Bt as segmentAfterAnchor, D as withoutServerErrorRetries, Ft as compositeIdSeparatorRefusal, G as compensateProtectionFlip, Gt as maskDeep, H as resolveExplicitPhysicalId, Ht as createMaskedLogSinks, J as observeThenDisableProtection, Jt as RETRY_AUXILIARY_OWNER, K as deleteWithProtectionCompensation, Kt as maskerOrIdentity, L as isQuotableImportValue, Lt as logicalIdShown, Mt as withUnchangedSecretPrincipalLists, Nt as canonicalizeRoute53QueryName, Qt as createdResourceIdentityBeforeFailure, R as normalizeAwsTagsToCfn, St as startInterruptWatch, U as isMarkedNotGone, Ut as createMaskedRetryLogger, Vt as stateOrphanRecordRemedy, W as markNotGone, Wt as isSecretDerivedValue, Zt as createdBeforeFailure, _n as WAIT_CONDITION_SIGNAL_PREFIX, at as isTerminalDeleteFailure, bn as withPasteableAwsProfile, ct as ElapsedBudget, d as CreatedResourceSink, dt as DELETION_PROTECTION_DOC_POINTER, en as isAuxiliaryFailure, f as clearCreatedReport, g as retractCreatedResource, gn as DEFAULT_STATE_PREFIX, gt as protectedReplacementAdvice, hn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ht as pasteableAwsCommand, i as withResourceDeadline, it as ProtectionFlipRegistry, k as RESOURCE_NOT_FOUND, lt as ElapsedBudgetRegistry, m as reportCreatedResource, mn as sanitizeRecoveryValue, n as enclosingDeadlineRemainingMs, nn as markAuxiliaryFailure, o as prepareRemovalForUpdate, ot as protectionFlipKey, p as collectCreatedResources, pn as recoveryCommandFlags, qt as withDerivedNameMasks, r as whileEnclosingDeadlinesPaused, rn as markCreatedBeforeFailure, s as removalWarning, st as runDeleteAttempt, t as enclosingDeadlineExpired, tn as isAuxiliaryMarkOf, u as withoutInjectedRemovals, ut as monotonicNowMs, wn as producerRecordKey, xn as injectiveKey, xt as isInterruptedWaitError, z as quotedRemedyLogicalId, zt as resourceTypeShown } from "./resource-deadline-Bi1vjvil.js";
9
+ import { t as expectedOwnerParam } from "./expected-bucket-owner-DqlNitge.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-B1pjTEWL.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-BfJA0Tv-.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-yKdDVYcc.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-DqlNitge.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"]),
@@ -6763,6 +6764,26 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
6763
6764
  primaryIdentifier: /* @__PURE__ */ new Set(["RevisionArn"]),
6764
6765
  ccRouteUnavailable: false
6765
6766
  }],
6767
+ ["AWS::Lightsail::Alarm", {
6768
+ handled: /* @__PURE__ */ new Set([
6769
+ "AlarmName",
6770
+ "ComparisonOperator",
6771
+ "ContactProtocols",
6772
+ "DatapointsToAlarm",
6773
+ "EvaluationPeriods",
6774
+ "MetricName",
6775
+ "MonitoredResourceName",
6776
+ "NotificationEnabled",
6777
+ "NotificationTriggers",
6778
+ "Threshold",
6779
+ "TreatMissingData"
6780
+ ]),
6781
+ sdkUnwired: /* @__PURE__ */ new Map(),
6782
+ createOnlyDrops: /* @__PURE__ */ new Set(),
6783
+ readOnly: /* @__PURE__ */ new Set(["AlarmArn", "State"]),
6784
+ primaryIdentifier: /* @__PURE__ */ new Set(["AlarmName"]),
6785
+ ccRouteUnavailable: false
6786
+ }],
6766
6787
  ["AWS::Logs::Delivery", {
6767
6788
  handled: /* @__PURE__ */ new Set([
6768
6789
  "DeliveryDestinationArn",
@@ -10100,10 +10121,86 @@ function getTopLevelKeysHoldingUnreadableCreateOnly(resourceType, properties) {
10100
10121
  for (const path of settledUnreadableCreateOnlyPaths.get(resourceType) ?? []) if (holdsValueAt(properties, path)) result.add(path[0]);
10101
10122
  return result;
10102
10123
  }
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) {
10124
+ const WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED = /* @__PURE__ */ new Map([
10125
+ ["AWS::Lambda::Function", /* @__PURE__ */ new Map([["Code", ["Architectures"]]])],
10126
+ ["AWS::AmazonMQ::Broker", /* @__PURE__ */ new Map([
10127
+ ["Users", []],
10128
+ ["Configuration", []],
10129
+ ["EngineVersion", []]
10130
+ ])],
10131
+ ["AWS::AppFabric::AppAuthorization", /* @__PURE__ */ new Map([["Credential", []]])],
10132
+ ["AWS::Batch::ComputeEnvironment", /* @__PURE__ */ new Map([["ReplaceComputeEnvironment", ["ComputeResources"]], ["UpdatePolicy", ["ComputeResources"]]])],
10133
+ ["AWS::BedrockAgentCore::ApiKeyCredentialProvider", /* @__PURE__ */ new Map([["ApiKey", ["ApiKeySecretConfig", "ApiKeySecretSource"]]])],
10134
+ ["AWS::BedrockAgentCore::OAuth2CredentialProvider", /* @__PURE__ */ new Map([["Oauth2ProviderConfigInput", []]])],
10135
+ ["AWS::Bedrock::Flow", /* @__PURE__ */ new Map([["DefinitionString", ["DefinitionSubstitutions"]]])],
10136
+ ["AWS::CloudFront::KeyValueStore", /* @__PURE__ */ new Map([["ImportSource", []]])],
10137
+ ["AWS::Connect::User", /* @__PURE__ */ new Map([["Password", []]])],
10138
+ ["AWS::DMS::Endpoint", /* @__PURE__ */ new Map([["Password", []]])],
10139
+ ["AWS::DataSync::LocationAzureBlob", /* @__PURE__ */ new Map([["AzureBlobSasConfiguration", [
10140
+ "AzureBlobAuthenticationType",
10141
+ "CmkSecretConfig",
10142
+ "CustomSecretConfig"
10143
+ ]]])],
10144
+ ["AWS::DocDBElastic::Cluster", /* @__PURE__ */ new Map([["AdminUserPassword", []]])],
10145
+ ["AWS::EC2::VPNConnection", /* @__PURE__ */ new Map([["VpnTunnelOptionsSpecifications", []]])],
10146
+ ["AWS::ElastiCache::ReplicationGroup", /* @__PURE__ */ new Map([["AuthToken", []]])],
10147
+ ["AWS::ElastiCache::User", /* @__PURE__ */ new Map([["Passwords", ["AuthenticationMode", "NoPasswordRequired"]]])],
10148
+ ["AWS::ElasticBeanstalk::Environment", /* @__PURE__ */ new Map([["OptionSettings", ["TemplateName", "PlatformArn"]]])],
10149
+ ["AWS::FSx::StorageVirtualMachine", /* @__PURE__ */ new Map([["SvmAdminPassword", []]])],
10150
+ ["AWS::KinesisAnalyticsV2::Application", /* @__PURE__ */ new Map([["ApplicationConfiguration", [
10151
+ "RunConfiguration",
10152
+ "RuntimeEnvironment",
10153
+ "ServiceExecutionRole"
10154
+ ]], ["RunConfiguration", [
10155
+ "ApplicationConfiguration",
10156
+ "RuntimeEnvironment",
10157
+ "ServiceExecutionRole"
10158
+ ]]])],
10159
+ ["AWS::MemoryDB::User", /* @__PURE__ */ new Map([["AuthenticationMode", []]])],
10160
+ ["AWS::Redshift::Cluster", /* @__PURE__ */ new Map([["MasterUserPassword", ["ManageMasterPassword"]]])],
10161
+ ["AWS::RedshiftServerless::Namespace", /* @__PURE__ */ new Map([["AdminUserPassword", ["AdminUsername", "ManageAdminPassword"]]])],
10162
+ ["AWS::Route53Resolver::FirewallDomainList", /* @__PURE__ */ new Map([["Domains", ["DomainFileUrl"]]])],
10163
+ ["AWS::StepFunctions::StateMachineAlias", /* @__PURE__ */ new Map([["DeploymentPreference", []]])],
10164
+ ["AWS::Synthetics::Canary", /* @__PURE__ */ new Map([["Code", ["RuntimeVersion"]]])]
10165
+ ]);
10166
+ const KEPT_WHATEVER_SIBLING_CHANGED = /* @__PURE__ */ new Map([["AWS::Batch::ComputeEnvironment", isFargateComputeEnvironment]]);
10167
+ function isFargateComputeEnvironment(properties) {
10168
+ const resources = properties["ComputeResources"];
10169
+ if (typeof resources !== "object" || resources === null) return false;
10170
+ const type = resources["Type"];
10171
+ return type === "FARGATE" || type === "FARGATE_SPOT";
10172
+ }
10173
+ const WRITE_ONLY_KEYS_REFUSED_ON_UPDATE = /* @__PURE__ */ new Map([["AWS::Connect::User", /* @__PURE__ */ new Set(["Password"])]]);
10174
+ function isWriteOnlyKeyRefusedOnUpdate(resourceType, key) {
10175
+ return WRITE_ONLY_KEYS_REFUSED_ON_UPDATE.get(resourceType)?.has(key) === true;
10176
+ }
10177
+ function movedReferencesRefusedOnUpdate(resourceType, desiredAsWritten, recordedAsWritten) {
10178
+ const keys = WRITE_ONLY_KEYS_REFUSED_ON_UPDATE.get(resourceType);
10179
+ if (keys === void 0) return [];
10180
+ const holdsReference = (value) => JSON.stringify(value)?.includes("{{resolve:") === true;
10181
+ return [...keys].filter((key) => {
10182
+ const desired = desiredAsWritten[key];
10183
+ const recorded = recordedAsWritten[key];
10184
+ if (desired === void 0 || recorded === void 0) return false;
10185
+ if (isDeepStrictEqual(desired, recorded)) return false;
10186
+ return holdsReference(desired) || holdsReference(recorded);
10187
+ });
10188
+ }
10189
+ function getWriteOnlyKeysKeptWhenOmitted(resourceType, properties, previousProperties, writeOnly = /* @__PURE__ */ new Set()) {
10190
+ const row = WRITE_ONLY_KEYS_KEPT_WHEN_OMITTED.get(resourceType);
10191
+ if (row === void 0) return /* @__PURE__ */ new Set();
10192
+ const keptWhateverChanged = KEPT_WHATEVER_SIBLING_CHANGED.get(resourceType);
10193
+ if (keptWhateverChanged?.(properties) && keptWhateverChanged(previousProperties)) return new Set(row.keys());
10105
10194
  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);
10195
+ for (const [key, travelsWith] of row) if (travelsWith.every((k) => isDeepStrictEqual(properties[k], previousProperties[k]))) result.add(key);
10196
+ let dropped = true;
10197
+ while (dropped) {
10198
+ dropped = false;
10199
+ for (const key of result) if (row.get(key).some((k) => writeOnly.has(k) && properties[k] !== void 0 && !result.has(k))) {
10200
+ result.delete(key);
10201
+ dropped = true;
10202
+ }
10203
+ }
10107
10204
  return result;
10108
10205
  }
10109
10206
  function getSettledWriteOnlyPropertyPaths(resourceType) {
@@ -10938,6 +11035,7 @@ const NAME_ADOPTING_SDK_CREATE_TYPES = /* @__PURE__ */ new Set([
10938
11035
  "AWS::ElasticLoadBalancingV2::LoadBalancer",
10939
11036
  "AWS::ElasticLoadBalancingV2::TargetGroup",
10940
11037
  "AWS::Events::Rule",
11038
+ "AWS::Lightsail::Alarm",
10941
11039
  "AWS::Logs::LogGroup",
10942
11040
  "AWS::S3::Bucket",
10943
11041
  "AWS::SNS::Topic",
@@ -14415,6 +14513,13 @@ async function resolveImportValue(resolver, importValueArg, context) {
14415
14513
  if (!context.stateBackend) throw markNonRetryable(/* @__PURE__ */ new Error("Fn::ImportValue: state backend is required for cross-stack references"));
14416
14514
  const loggedExportName = displayMasked(resolver, exportName, context);
14417
14515
  resolver.logger.debug(`Resolving Fn::ImportValue: ${loggedExportName}`);
14516
+ const previewed = context.crossStackPreview?.exportValue(resolver.resolverRegion, exportName);
14517
+ if (previewed && previewed.producerStack !== context.stackName) {
14518
+ const producer = displayMasked(resolver, previewed.producerStack, context);
14519
+ 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`));
14520
+ resolver.logger.info(safeMsg`Resolved Fn::ImportValue: ${loggedExportName} (from this diff of ${producer}, which changes it)`);
14521
+ return previewed.value;
14522
+ }
14418
14523
  if (context.exportIndex) {
14419
14524
  let entry;
14420
14525
  try {
@@ -14791,6 +14896,12 @@ async function resolveGetStackOutput(resolver, arg, context) {
14791
14896
  const loggedRegion = displayMasked(resolver, loggedRegionText, context);
14792
14897
  const shownRoleArn = roleArn ? displayIdent(roleArn, { maxCodePoints: 613 }) : "";
14793
14898
  resolver.logger.debug(`Resolving Fn::GetStackOutput: StackName=${loggedStackName}, Region=${loggedRegion}, OutputName=${loggedOutputName}${roleArn ? `, RoleArn=${shownRoleArn}` : ""}`);
14899
+ const previewed = roleArn ? void 0 : context.crossStackPreview?.stackOutput(region, stackName, outputName);
14900
+ if (previewed) {
14901
+ 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`));
14902
+ resolver.logger.info(safeMsg`Resolved Fn::GetStackOutput: StackName=${loggedStackName}, OutputName=${loggedOutputName} (from this diff of the stack, which changes it)`);
14903
+ return previewed.value;
14904
+ }
14794
14905
  let readRoleArn = roleArn;
14795
14906
  let refuseCdkRead;
14796
14907
  if (cdkRef !== void 0) {
@@ -18345,16 +18456,22 @@ function withListenerRuleConditionOps(resourceType, patch, desired) {
18345
18456
  }
18346
18457
 
18347
18458
  // 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
- }] };
18459
+ const CC_READ_BACK_DEFAULT_PATHS = {
18460
+ "AWS::Connect::User": [{
18461
+ path: ["VoiceEnhancementConfigs"],
18462
+ value: [{ Channel: "VOICE" }]
18463
+ }],
18464
+ "AWS::OpenSearchService::Domain": [{
18465
+ path: ["AdvancedOptions", "override_main_response_version"],
18466
+ value: "false"
18467
+ }, {
18468
+ path: ["AIMLOptions"],
18469
+ value: {
18470
+ S3VectorsEngine: { Enabled: false },
18471
+ ServerlessVectorAcceleration: { Enabled: false }
18472
+ }
18473
+ }]
18474
+ };
18358
18475
  function hasCcReadBackDefaultPaths(resourceType) {
18359
18476
  return Object.prototype.hasOwnProperty.call(CC_READ_BACK_DEFAULT_PATHS, resourceType);
18360
18477
  }
@@ -18373,7 +18490,7 @@ function withCcReadBackDefaultRemovals(resourceType, patch, desired, liveModel)
18373
18490
  if (defaults.length === 0 || patch.length === 0 || liveModel === void 0) return patch;
18374
18491
  const extra = [];
18375
18492
  for (const { path, value } of defaults) {
18376
- const pointer = `/${path.map(escapeJsonPointer$1).join("/")}`;
18493
+ const pointer = `/${path.map(escapeJsonPointer$2).join("/")}`;
18377
18494
  if (patch.some((op) => op.path === pointer || op.path.startsWith(`${pointer}/`) || pointer.startsWith(`${op.path}/`))) continue;
18378
18495
  if (!isDeepStrictEqual(valueAt$1(liveModel, path), value)) continue;
18379
18496
  const declared = valueAt$1(desired, path);
@@ -18385,7 +18502,7 @@ function withCcReadBackDefaultRemovals(resourceType, patch, desired, liveModel)
18385
18502
  }
18386
18503
  return extra.length === 0 ? patch : [...patch, ...extra];
18387
18504
  }
18388
- function escapeJsonPointer$1(key) {
18505
+ function escapeJsonPointer$2(key) {
18389
18506
  return key.replace(/~/g, "~0").replace(/\//g, "~1");
18390
18507
  }
18391
18508
 
@@ -18408,7 +18525,7 @@ function withCcReadBackEmptyKeyRemovals(resourceType, patch, desired, liveModel)
18408
18525
  let out = patch;
18409
18526
  const extra = [];
18410
18527
  for (const key of keys) {
18411
- const path = `/${escapeJsonPointer(key)}`;
18528
+ const path = `/${escapeJsonPointer$1(key)}`;
18412
18529
  const existing = out.findIndex((op) => op.path === path);
18413
18530
  if (existing !== -1) {
18414
18531
  const op = out[existing];
@@ -18429,6 +18546,35 @@ function withCcReadBackEmptyKeyRemovals(resourceType, patch, desired, liveModel)
18429
18546
  }
18430
18547
  return extra.length === 0 && out === patch ? patch : [...out, ...extra];
18431
18548
  }
18549
+ function escapeJsonPointer$1(key) {
18550
+ return key.replace(/~/g, "~0").replace(/\//g, "~1");
18551
+ }
18552
+
18553
+ // src/provisioning/cc-read-back-exclusive-keys.ts
18554
+ const CC_READ_BACK_EXCLUSIVE_KEYS = {
18555
+ "AWS::Bedrock::Flow": [{
18556
+ readBack: "Definition",
18557
+ writtenAs: ["DefinitionString", "DefinitionS3Location"]
18558
+ }],
18559
+ "AWS::StepFunctions::StateMachineAlias": [{
18560
+ readBack: "RoutingConfiguration",
18561
+ writtenAs: ["DeploymentPreference"]
18562
+ }]
18563
+ };
18564
+ function hasCcReadBackExclusiveKeys(resourceType) {
18565
+ return Object.prototype.hasOwnProperty.call(CC_READ_BACK_EXCLUSIVE_KEYS, resourceType);
18566
+ }
18567
+ async function withCcReadBackExclusiveKeyRemovals(resourceType, patch, desired, readLiveModel) {
18568
+ 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));
18569
+ if (candidates.length === 0) return patch;
18570
+ const liveModel = await readLiveModel();
18571
+ if (liveModel === void 0) return patch;
18572
+ const extra = candidates.filter(({ readBack }) => Object.prototype.hasOwnProperty.call(liveModel, readBack)).map(({ readBack }) => ({
18573
+ op: "remove",
18574
+ path: `/${escapeJsonPointer(readBack)}`
18575
+ }));
18576
+ return extra.length === 0 ? patch : [...patch, ...extra];
18577
+ }
18432
18578
  function escapeJsonPointer(key) {
18433
18579
  return key.replace(/~/g, "~0").replace(/\//g, "~1");
18434
18580
  }
@@ -19137,10 +19283,16 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
19137
19283
  const writeOnlyProperties = await getTopLevelWriteOnlyProperties(resourceType);
19138
19284
  if (writeOnlyProperties.size > 0) {
19139
19285
  const keptOnPreviousSide = getTopLevelKeysHoldingUnreadableCreateOnly(resourceType, cleanProperties);
19140
- const keptWhenOmitted = getWriteOnlyKeysKeptWhenOmitted(resourceType, cleanProperties, cleanPreviousProperties);
19286
+ const keptWhenOmitted = getWriteOnlyKeysKeptWhenOmitted(resourceType, cleanProperties, cleanPreviousProperties, writeOnlyProperties);
19141
19287
  const previousWithoutWriteOnly = { ...cleanPreviousProperties };
19142
19288
  for (const propertyName of writeOnlyProperties) {
19143
- if ((keptOnPreviousSide.has(propertyName) || keptWhenOmitted.has(propertyName)) && isDeepStrictEqual(cleanPreviousProperties[propertyName], cleanProperties[propertyName])) continue;
19289
+ const previous = cleanPreviousProperties[propertyName];
19290
+ const desired = cleanProperties[propertyName];
19291
+ if ((keptOnPreviousSide.has(propertyName) || keptWhenOmitted.has(propertyName)) && isDeepStrictEqual(previous, desired)) continue;
19292
+ if (keptWhenOmitted.has(propertyName) && isWriteOnlyKeyRefusedOnUpdate(resourceType, propertyName) && onlySecretReferencesDiffer(desired, previous, context?.maskSecrets)) {
19293
+ previousWithoutWriteOnly[propertyName] = desired;
19294
+ continue;
19295
+ }
19144
19296
  delete previousWithoutWriteOnly[propertyName];
19145
19297
  }
19146
19298
  patch = this.patchGenerator.generatePatch(previousWithoutWriteOnly, cleanProperties);
@@ -19166,6 +19318,7 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
19166
19318
  };
19167
19319
  }
19168
19320
  if (hasCcReadBackDefaultPaths(resourceType)) patch = withCcReadBackDefaultRemovals(resourceType, patch, cleanProperties, await readLiveModel());
19321
+ patch = await withCcReadBackExclusiveKeyRemovals(resourceType, patch, cleanProperties, readLiveModel);
19169
19322
  patch = withMeasuredRemovalsAsEmpty(patch, resourceType);
19170
19323
  if (writesTopLevelObject(patch)) {
19171
19324
  const [createOnlyPaths, readOnlyPaths] = await Promise.all([getCreateOnlyPropertyPaths(resourceType), getReadOnlyPropertyPaths(resourceType)]);
@@ -20389,7 +20542,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
20389
20542
  const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
20390
20543
  if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
20391
20544
  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");
20545
+ const { ASGProvider } = await import("./asg-provider-BYDJF4aP.js");
20393
20546
  const delegateRegion = ambientRegion();
20394
20547
  let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
20395
20548
  if (asgProvider === void 0) {
@@ -20544,7 +20697,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
20544
20697
  const family = SDK_DELETE_FAMILIES.get(resourceType);
20545
20698
  const cached = this.sdkDeleteDelegates.get(family);
20546
20699
  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 });
20700
+ const provider = family === "rds" ? new (await (import("./rds-provider-DINaS0eX.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-DkqUzNAQ.js"))).NeptuneProvider({ region: ccRegion });
20548
20701
  this.sdkDeleteDelegates.set(family, {
20549
20702
  region: ccRegion,
20550
20703
  provider
@@ -23120,7 +23273,7 @@ async function publishToSns(topicArn, request) {
23120
23273
  }
23121
23274
  async function invokeLambda(serviceToken, request) {
23122
23275
  if (localCustomResourceRuntimeActive()) {
23123
- const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-BDRipTIL.js");
23276
+ const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-Dwdx83HD.js");
23124
23277
  const local = await invokeCustomResourceFunctionLocally({
23125
23278
  lambda: this.lambdaClient,
23126
23279
  s3: this.s3Client
@@ -25592,6 +25745,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
25592
25745
  ["AWS::Lambda::Url", "{\"Cors\":\"object\",\"Cors.AllowHeaders\":\"array\",\"Cors.AllowMethods\":\"array\",\"Cors.AllowOrigins\":\"array\",\"Cors.ExposeHeaders\":\"array\"}"],
25593
25746
  ["AWS::Lambda::WebFunctionEndpoint", "{\"RegionalEndpoints\":\"object\",\"Regions\":\"array\",\"RevisionWeights\":\"array\",\"RevisionWeights[]\":\"object\",\"ScalingConfig\":\"object\",\"ThrottleConfig\":\"object\"}"],
25594
25747
  ["AWS::Lambda::WebFunctionRevision", "{\"BuildConfig\":\"object\",\"BuildConfig.CodeConfig\":\"object\",\"BuildConfig.CodeConfig.S3Object\":\"object\",\"BuildConfig.RuntimeConfig\":\"object\",\"ServiceConfig\":\"object\",\"ServiceConfig.EnvironmentVariables\":\"object\",\"ServiceConfig.TelemetryConfig\":\"object\",\"ServiceConfig.TelemetryConfig.LoggingConfig\":\"object\"}"],
25748
+ ["AWS::Lightsail::Alarm", "{\"ContactProtocols\":\"array\",\"NotificationTriggers\":\"array\"}"],
25595
25749
  ["AWS::Logs::Delivery", "{\"RecordFields\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
25596
25750
  ["AWS::Logs::DeliveryDestination", "{\"DeliveryDestinationPolicy\":\"object\",\"DeliveryDestinationPolicy.DeliveryDestinationPolicy\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
25597
25751
  ["AWS::Logs::DeliverySource", "{\"DeliverySourceConfiguration\":\"object\",\"ResourceArns\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
@@ -26837,6 +26991,8 @@ const LAMBDA_PERMISSION_STATEMENT_KEYS = [
26837
26991
  "SourceArn",
26838
26992
  "SourceAccount",
26839
26993
  "PrincipalOrgID",
26994
+ "EventSourceToken",
26995
+ "FunctionUrlAuthType",
26840
26996
  "InvokedViaFunctionUrl"
26841
26997
  ];
26842
26998
  function lambdaPermissionMatchesDeclared(read, declared) {
@@ -26888,6 +27044,7 @@ function deployStackRecordsView(records, before, deleting, unsettled = () => fal
26888
27044
  ...writtenFresh && { writtenFreshThisRun: writtenFresh },
26889
27045
  runKey: {},
26890
27046
  live: settled,
27047
+ retainedLeaving: (lid) => deleting.has(lid) && Object.hasOwn(before, lid) && shouldRetainResource(before[lid].deletionPolicy),
26891
27048
  survivors: () => [...settled().filter(([lid]) => !deleting.has(lid)), ...Object.entries(before).filter(([lid, record]) => deleting.has(lid) && shouldRetainResource(record.deletionPolicy))]
26892
27049
  };
26893
27050
  }
@@ -26898,14 +27055,27 @@ function destroyStackRecordsView(records) {
26898
27055
  survivors: () => Object.entries(records).filter(([, record]) => shouldRetainResource(record.deletionPolicy))
26899
27056
  };
26900
27057
  }
26901
- function replayStackRecordsView(records, orphanLogicalIds = /* @__PURE__ */ new Set()) {
27058
+ function replayStackRecordsView(records, orphanLogicalIds = /* @__PURE__ */ new Set(), failedOps = []) {
26902
27059
  const kept = Object.entries(records).filter(([lid, record]) => record.deletionPolicy === "Retain" || orphanLogicalIds.has(lid));
26903
27060
  return {
26904
27061
  runKey: records,
26905
27062
  live: () => Object.entries(records),
26906
- survivors: () => [...Object.entries(records), ...kept.filter(([lid]) => !Object.hasOwn(records, lid))]
27063
+ survivors: () => [...Object.entries(records), ...kept.filter(([lid]) => !Object.hasOwn(records, lid))],
27064
+ journaledWrites: () => failedOps.filter((op) => op.physicalIdRecoveredFromError !== false).map((op) => {
27065
+ const idKey = Object.hasOwn(JOURNALED_IDENTITY_KEYS, op.resourceType) ? JOURNALED_IDENTITY_KEYS[op.resourceType] : void 0;
27066
+ return {
27067
+ resourceType: op.resourceType,
27068
+ physicalId: op.physicalId,
27069
+ properties: op.attemptedProperties,
27070
+ ...idKey !== void 0 && op.createdResourceIdentity !== void 0 && { attributes: { [idKey]: op.createdResourceIdentity } }
27071
+ };
27072
+ })
26907
27073
  };
26908
27074
  }
27075
+ const JOURNALED_IDENTITY_KEYS = {
27076
+ "AWS::IAM::User": "UserId",
27077
+ "AWS::IAM::InstanceProfile": "InstanceProfileId"
27078
+ };
26909
27079
  const REVERT_VIEW_RECORD_TYPES = /* @__PURE__ */ new Set([
26910
27080
  "AWS::IAM::Role",
26911
27081
  "AWS::IAM::Group",
@@ -27771,7 +27941,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
27771
27941
  if (resourceType !== "AWS::RDS::DBInstance") return false;
27772
27942
  if (region === void 0 || region === "") return false;
27773
27943
  const mask = input.mask ?? ((text) => text);
27774
- const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-B9F3-d8h.js").then((n) => n.l);
27944
+ const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-CsBlH9Uj.js").then((n) => n.l);
27775
27945
  let reason;
27776
27946
  try {
27777
27947
  const live = await describeDBInstanceInRegion(physicalId, region);
@@ -27789,50 +27959,6 @@ function unsupportedFinalSnapshotError(logicalId, resourceType, skipFlagHint) {
27789
27959
  return new CdkdError(`${logicalIdShown(logicalId)} (${resourceTypeShown(resourceType)}) has DeletionPolicy: Snapshot, but cdkd does not implement final snapshots for this type (CloudFormation itself only supports Snapshot on: EC2 Volume, ElastiCache CacheCluster / ReplicationGroup, Neptune / RDS / DocDB clusters, RDS instances, Redshift clusters). Deleting it now would destroy its data WITHOUT the final snapshot the policy promises. Re-run with ${skipFlagHint} to delete WITHOUT a final snapshot (DATA LOSS), or retain the resource (DeletionPolicy: Retain) and delete it manually after snapshotting.`, "FINAL_SNAPSHOT_UNSUPPORTED");
27790
27960
  }
27791
27961
 
27792
- // src/deployment/deploy-engine/replacement/delete-context.ts
27793
- function replacementDeleteContext(deps, updateReplacePolicy) {
27794
- return {
27795
- deletionPolicy: replacementDeletePolicy(updateReplacePolicy),
27796
- ...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true }
27797
- };
27798
- }
27799
- async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask) {
27800
- const attemptStartedAt = Date.now();
27801
- if (policy !== "Snapshot" || deps.options.skipFinalSnapshot === true) return void 0;
27802
- if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType) && currentResource.provisionedBy !== "cc-api") return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
27803
- if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType)) {
27804
- if (await ccRoutedInstanceTakesNoSnapshot({
27805
- resourceType,
27806
- logicalId,
27807
- physicalId: currentResource.physicalId,
27808
- region: deps.stackRegion,
27809
- logger: deps.logger,
27810
- ...mask !== void 0 && { mask }
27811
- })) return void 0;
27812
- throw ccRoutedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
27813
- }
27814
- if (PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) {
27815
- await takePreDeleteSnapshot(deps, logicalId, resourceType, currentResource.physicalId, mask, { attemptStartedAt });
27816
- return;
27817
- }
27818
- throw unsupportedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
27819
- }
27820
- async function prepareCreateFirstFinalSnapshot(deps, logicalId, resourceType, currentResource, policy, mask) {
27821
- if (policy === "Snapshot" && deps.options.skipFinalSnapshot !== true && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
27822
- return prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask);
27823
- }
27824
- function owesPreDeleteSnapshot(resourceType, finalSnapshotIdentifier) {
27825
- return finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType);
27826
- }
27827
- async function takePreDeleteSnapshot(deps, logicalId, resourceType, physicalId, mask, options) {
27828
- const logger = mask === void 0 ? deps.logger : {
27829
- info: (message) => deps.logger.info(mask(message)),
27830
- debug: (message) => deps.logger.debug(mask(message))
27831
- };
27832
- const clients = deps.options.finalSnapshotClients ?? getAwsClients();
27833
- await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options);
27834
- }
27835
-
27836
27962
  // src/deployment/deploy-engine/masking/remedy.ts
27837
27963
  function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
27838
27964
  const NESTED_STACK_RESOURCE_TYPE = "AWS::CloudFormation::Stack";
@@ -27879,6 +28005,93 @@ function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
27879
28005
  return [parts.join(" "), ...commandLines].join("\n");
27880
28006
  }
27881
28007
 
28008
+ // src/deployment/deploy-value-equality.ts
28009
+ function isReplacementCeiling(pc) {
28010
+ return pc.requiresReplacement && (pc.inPlacePropagated === true || pc.replacementPropagated === true);
28011
+ }
28012
+ function keyOrderFreeJson(value) {
28013
+ return JSON.stringify(value, (_key, node) => {
28014
+ if (node === null || typeof node !== "object" || Array.isArray(node)) return node;
28015
+ const sorted = Object.create(null);
28016
+ for (const key of Object.keys(node).sort()) sorted[key] = node[key];
28017
+ return sorted;
28018
+ });
28019
+ }
28020
+ const IAM_ACTION = /^[a-z0-9-]{1,64}:[A-Za-z0-9*]{1,128}$/;
28021
+ 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/];
28022
+ const DENIAL_CLASSES = /* @__PURE__ */ new Set([
28023
+ "AccessDenied",
28024
+ "AccessDeniedException",
28025
+ "AuthorizationError",
28026
+ "UnauthorizedOperation"
28027
+ ]);
28028
+ function readDenialOf(error) {
28029
+ try {
28030
+ const name = error?.name;
28031
+ if (typeof name !== "string" || !DENIAL_CLASSES.has(name)) return void 0;
28032
+ const message = error.message;
28033
+ let action;
28034
+ if (typeof message === "string") for (const pattern of ACTION_IN_MESSAGE) {
28035
+ const found = pattern.exec(message)?.[1];
28036
+ if (found !== void 0 && IAM_ACTION.test(found)) {
28037
+ action = found;
28038
+ break;
28039
+ }
28040
+ }
28041
+ return {
28042
+ ...action !== void 0 && { action },
28043
+ errorClass: name
28044
+ };
28045
+ } catch {
28046
+ return;
28047
+ }
28048
+ }
28049
+ function grantSentence(denied) {
28050
+ const what = denied.action !== void 0 ? `the ${denied.action} permission` : `the read permission the provider's readback of this resource type needs`;
28051
+ 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`;
28052
+ }
28053
+ function liveHoldsFreshLeaves(live, leaves) {
28054
+ for (const leaf of leaves) {
28055
+ let node = live;
28056
+ for (const segment of leaf.path) {
28057
+ if (typeof segment === "number") {
28058
+ if (!Array.isArray(node) || segment >= node.length) return false;
28059
+ node = node[segment];
28060
+ continue;
28061
+ }
28062
+ if (node === null || typeof node !== "object" || Array.isArray(node)) return false;
28063
+ if (!Object.prototype.hasOwnProperty.call(node, segment)) return false;
28064
+ node = node[segment];
28065
+ }
28066
+ if (typeof leaf.plaintext === "string") {
28067
+ if (typeof node !== "string" || node !== leaf.plaintext) return false;
28068
+ } else if (node === void 0 || keyOrderFreeJson(node) !== keyOrderFreeJson(leaf.plaintext)) return false;
28069
+ }
28070
+ return true;
28071
+ }
28072
+ function outputMapsEqual(a, b) {
28073
+ return deepEqualValue(a, b);
28074
+ }
28075
+ function deepEqualValue(a, b) {
28076
+ if (a === b) return true;
28077
+ if (a == null || b == null) return a === b;
28078
+ if (typeof a !== typeof b) return false;
28079
+ if (typeof a !== "object") return false;
28080
+ if (Array.isArray(a) || Array.isArray(b)) {
28081
+ if (!Array.isArray(a) || !Array.isArray(b) || a.length !== b.length) return false;
28082
+ return a.every((v, i) => deepEqualValue(v, b[i]));
28083
+ }
28084
+ const ao = a;
28085
+ const bo = b;
28086
+ const ak = Object.keys(ao);
28087
+ if (ak.length !== Object.keys(bo).length) return false;
28088
+ for (const k of ak) {
28089
+ if (!Object.prototype.hasOwnProperty.call(bo, k)) return false;
28090
+ if (!deepEqualValue(ao[k], bo[k])) return false;
28091
+ }
28092
+ return true;
28093
+ }
28094
+
27882
28095
  // src/types/deployment-events.ts
27883
28096
  function extractDeploymentEventError(err) {
27884
28097
  if (!(err instanceof Error)) return {
@@ -28436,6 +28649,15 @@ function secretNamedRecordNeedles(resources, secrets, bag = /* @__PURE__ */ new
28436
28649
  for (const [logicalId, record] of Object.entries(resources)) for (const needle of storedRecordNameNeedles(logicalId, record, namingBagOf(secrets, logicalId)) ?? []) recordLogOnlyValue(bag, needle);
28437
28650
  return bag;
28438
28651
  }
28652
+ function stackSecretNamesMasker(resources, secrets, extra = () => []) {
28653
+ const records = structuredClone(resources);
28654
+ let needles;
28655
+ return (own) => (text) => createUnionSecretMasker([
28656
+ ...own,
28657
+ ...extra(),
28658
+ needles ??= secretNamedRecordNeedles(records, secrets)
28659
+ ])(text);
28660
+ }
28439
28661
  function secretNamePrintingBag(logicalId, resources) {
28440
28662
  return secretNamePrintingBags(resources, void 0)(logicalId);
28441
28663
  }
@@ -28613,60 +28835,6 @@ function createReadOnlyAttributeHealerFactory(options) {
28613
28835
  return (stackName, region) => Object.assign((logicalId, resource) => readOnce(stackName, region, logicalId, resource), { readOnly: true });
28614
28836
  }
28615
28837
 
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
28838
  // src/deployment/deploy-engine/noecho.ts
28671
28839
  var NoEchoRunState = class {
28672
28840
  noEchoAttributeResources = /* @__PURE__ */ new Map();
@@ -29226,7 +29394,14 @@ async function readReaderForFreshNoEchoCeiling(deps, logicalId, currentResource,
29226
29394
  if (typeof name === "string" && /^[A-Za-z0-9_]{1,64}$/.test(name)) errorClass = name;
29227
29395
  } catch {}
29228
29396
  deps.logger.debug(safeMsg`Readback of ${logicalId} for a NoEcho value's replacement check failed (${errorClass}).`);
29229
- return { failure: "read-failed" };
29397
+ let denied;
29398
+ try {
29399
+ denied = readDenialOf(maskSecretsInError(error, secrets));
29400
+ } catch {}
29401
+ return {
29402
+ failure: "read-failed",
29403
+ ...denied !== void 0 && { denied }
29404
+ };
29230
29405
  } finally {
29231
29406
  if (timer !== void 0) clearTimeout(timer);
29232
29407
  }
@@ -29242,6 +29417,15 @@ function secretNameBagFor(run, logicalId) {
29242
29417
  }
29243
29418
  return bag;
29244
29419
  }
29420
+ function stackSecretNameMasker(run, own = []) {
29421
+ return (text) => createUnionSecretMasker([
29422
+ ...own,
29423
+ run.preDeploySecretNamedRecords,
29424
+ run.fingerprintNoEchoValues,
29425
+ ...run.secretNameNeedles.values(),
29426
+ ...run.perResourceSecrets.values()
29427
+ ])(text);
29428
+ }
29245
29429
  function noteSecretNamedRecord(run, logicalId, record) {
29246
29430
  const needles = secretNameNeedlesOf(logicalId, record, namingSecretsFor(run, logicalId), { embedded: run.perResourceSecrets.get(logicalId) });
29247
29431
  if (needles === void 0) return void 0;
@@ -29302,6 +29486,51 @@ function printingSecretsFor(run, logicalId) {
29302
29486
  return unionOfSecretBags([secrets, registry]);
29303
29487
  }
29304
29488
 
29489
+ // src/deployment/deploy-engine/replacement/delete-context.ts
29490
+ function replacementDeleteContext(deps, updateReplacePolicy) {
29491
+ return {
29492
+ deletionPolicy: replacementDeletePolicy(updateReplacePolicy),
29493
+ ...deps.options.skipFinalSnapshot === true && { skipFinalSnapshot: true },
29494
+ maskStackSecretNames: stackSecretNameMasker(deps.secretsRun())
29495
+ };
29496
+ }
29497
+ async function prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask) {
29498
+ const attemptStartedAt = Date.now();
29499
+ if (policy !== "Snapshot" || deps.options.skipFinalSnapshot === true) return void 0;
29500
+ if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType) && currentResource.provisionedBy !== "cc-api") return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
29501
+ if (ATOMIC_FINAL_SNAPSHOT_TYPES.has(resourceType)) {
29502
+ if (await ccRoutedInstanceTakesNoSnapshot({
29503
+ resourceType,
29504
+ logicalId,
29505
+ physicalId: currentResource.physicalId,
29506
+ region: deps.stackRegion,
29507
+ logger: deps.logger,
29508
+ ...mask !== void 0 && { mask }
29509
+ })) return void 0;
29510
+ throw ccRoutedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
29511
+ }
29512
+ if (PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) {
29513
+ await takePreDeleteSnapshot(deps, logicalId, resourceType, currentResource.physicalId, mask, { attemptStartedAt });
29514
+ return;
29515
+ }
29516
+ throw unsupportedFinalSnapshotError(logicalId, resourceType, "--skip-final-snapshot");
29517
+ }
29518
+ async function prepareCreateFirstFinalSnapshot(deps, logicalId, resourceType, currentResource, policy, mask) {
29519
+ if (policy === "Snapshot" && deps.options.skipFinalSnapshot !== true && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType)) return buildFinalSnapshotIdentifier(currentResource.physicalId, resourceType);
29520
+ return prepareFinalSnapshotForDelete(deps, logicalId, resourceType, currentResource, policy, mask);
29521
+ }
29522
+ function owesPreDeleteSnapshot(resourceType, finalSnapshotIdentifier) {
29523
+ return finalSnapshotIdentifier !== void 0 && PRE_DELETE_SNAPSHOT_TYPES.has(resourceType);
29524
+ }
29525
+ async function takePreDeleteSnapshot(deps, logicalId, resourceType, physicalId, mask, options) {
29526
+ const logger = mask === void 0 ? deps.logger : {
29527
+ info: (message) => deps.logger.info(mask(message)),
29528
+ debug: (message) => deps.logger.debug(mask(message))
29529
+ };
29530
+ const clients = deps.options.finalSnapshotClients ?? getAwsClients();
29531
+ await createPreDeleteFinalSnapshot(resourceType, physicalId, logicalId, clients, logger, options);
29532
+ }
29533
+
29305
29534
  // src/utils/colors.ts
29306
29535
  const codes = {
29307
29536
  reset: "\x1B[0m",
@@ -29458,6 +29687,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
29458
29687
  forceDataDelete: deps.options.forceStatefulRecreation === true,
29459
29688
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
29460
29689
  ...replacementDeleteContext(deps, updateReplacePolicy),
29690
+ stackHoldersStillAttached: true,
29461
29691
  recordedAttributes: currentResource.attributes,
29462
29692
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
29463
29693
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -29690,6 +29920,9 @@ function withReplayDeletePrinting(scope, fn) {
29690
29920
  const deployBag = scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId);
29691
29921
  return withPrintingSecrets(scope.secrets, () => deployBag === void 0 ? fn() : withPrintingSecrets(deployBag, fn));
29692
29922
  }
29923
+ function replayStackMask(scope) {
29924
+ return scope.ctx.maskStackSecretNames?.([scope.secrets, scope.ctx.logOnlyNeedlesFor?.(scope.op.logicalId)]);
29925
+ }
29693
29926
  function noteRolledBackCreate(scope, op, record) {
29694
29927
  if (op.changeType !== "CREATE") return;
29695
29928
  const create = {
@@ -30144,6 +30377,26 @@ function supersededResourcesOf(state) {
30144
30377
  if (!Array.isArray(rows)) return [];
30145
30378
  return rows.filter(isSupersededResourceRecord);
30146
30379
  }
30380
+ function supersededDependentsFirst(entries) {
30381
+ const ordered = [];
30382
+ let pending = [...entries];
30383
+ while (pending.length > 0) {
30384
+ const dependedOn = /* @__PURE__ */ new Set();
30385
+ for (const entry of pending) {
30386
+ const deps = entry.state.dependencies;
30387
+ if (!Array.isArray(deps)) continue;
30388
+ for (const dep of deps) if (typeof dep === "string" && dep !== entry.logicalId) dependedOn.add(dep);
30389
+ }
30390
+ const wave = pending.filter((entry) => !dependedOn.has(entry.logicalId));
30391
+ if (wave.length === 0) {
30392
+ ordered.push(...pending);
30393
+ break;
30394
+ }
30395
+ ordered.push(...wave);
30396
+ pending = pending.filter((entry) => !wave.includes(entry));
30397
+ }
30398
+ return ordered;
30399
+ }
30147
30400
  function isSupersededResourceRecord(row) {
30148
30401
  if (typeof row !== "object" || row === null) return false;
30149
30402
  const entry = row;
@@ -30276,7 +30529,8 @@ async function deleteSupersededEntry(entry, input) {
30276
30529
  recordedCreateOnlyDrops: record.acceptedCreateOnlyDrops,
30277
30530
  recordedNoEchoLeaves: record.noEchoLeaves,
30278
30531
  recordedTypedPayloadLeaves: record.typedPayloadLeaves,
30279
- maskSecrets: input.maskSecrets
30532
+ maskSecrets: input.maskSecrets,
30533
+ ...input.maskStackSecretNames !== void 0 && { maskStackSecretNames: input.maskStackSecretNames }
30280
30534
  });
30281
30535
  result = input.once === true ? await send() : await retryWhileInUse(send, input.stop);
30282
30536
  } catch (error) {
@@ -32011,6 +32265,11 @@ async function runMovedIdCleanups(queue, scope) {
32011
32265
  secrets: entry.secrets
32012
32266
  }, () => entry.provider.delete(logicalId, sent.physicalId, sent.resourceType, sent.properties, {
32013
32267
  expectedRegion: ctx.region,
32268
+ maskStackSecretNames: replayStackMask({
32269
+ ctx,
32270
+ op: { logicalId },
32271
+ secrets: entry.secrets
32272
+ }),
32014
32273
  deletionPolicy: replacementDeletePolicy(sent.updateReplacePolicy),
32015
32274
  recordedAttributes: sent.attributes,
32016
32275
  recordedCreateOnlyDrops: sent.acceptedCreateOnlyDrops,
@@ -33278,6 +33537,8 @@ async function replayDelete(s) {
33278
33537
  const physicalId = op.physicalId;
33279
33538
  const deleteCreated = () => withReplayDeletePrinting(s, () => provider.delete(op.logicalId, physicalId, op.resourceType, op.properties, {
33280
33539
  expectedRegion: ctx.region,
33540
+ maskStackSecretNames: replayStackMask(s),
33541
+ stackHoldersStillAttached: true,
33281
33542
  ...removeProtection && { removeProtection: true },
33282
33543
  ...createRollbackClaimed && { inlinePolicyClaimed: createRollbackClaimed },
33283
33544
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
@@ -33477,8 +33738,8 @@ function coordinatePath(coordinate) {
33477
33738
  function shownPaths(coordinates) {
33478
33739
  return coordinates.map((coordinate) => plainOrDescribed(coordinatePath(coordinate), "property path")).join(", ");
33479
33740
  }
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)";
33741
+ function unreadableNoEchoLeafRefusal(logicalId, coordinates, failure, denied) {
33742
+ 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
33743
  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
33744
  }
33484
33745
  function refuseMarkedNoEchoRecreate(props, marked, logicalId) {
@@ -33537,8 +33798,12 @@ async function readLive$1(live, baseline, marked, logicalId, ctx) {
33537
33798
  })]);
33538
33799
  if (result === void 0 || result === null || typeof result !== "object") return { failure: "not-readable" };
33539
33800
  return { live: result };
33540
- } catch {
33541
- return { failure: "read-failed" };
33801
+ } catch (error) {
33802
+ const denied = readDenialOf(error);
33803
+ return {
33804
+ failure: "read-failed",
33805
+ ...denied !== void 0 && { denied }
33806
+ };
33542
33807
  } finally {
33543
33808
  if (timer !== void 0) clearTimeout(timer);
33544
33809
  }
@@ -33559,7 +33824,7 @@ async function substituteMarkedNoEchoLeaves(input) {
33559
33824
  inert: pending
33560
33825
  };
33561
33826
  const read = await readLive$1(live, baseline, pending, logicalId, ctx);
33562
- if ("failure" in read) throw unreadableNoEchoLeafRefusal(logicalId, pending, read.failure);
33827
+ if ("failure" in read) throw unreadableNoEchoLeafRefusal(logicalId, pending, read.failure, read.denied);
33563
33828
  const values = [];
33564
33829
  const unreadable = [];
33565
33830
  for (const coordinate of pending) {
@@ -33758,16 +34023,24 @@ function canonicalizeTagListsDeep(v) {
33758
34023
  }
33759
34024
  const ID_RE = /^[a-z][a-z0-9]*-[0-9a-f]{6,}$/;
33760
34025
  const isIdLike = (s) => typeof s === "string" && (s.startsWith("arn:") || ID_RE.test(s));
33761
- function canonicalizeIdArraysDeep(v) {
34026
+ const ORDER_SIGNIFICANT_ID_ARRAY_PATHS = { "AWS::Lambda::Function": ["Layers"] };
34027
+ function orderSignificantIdArrayPaths(resourceType) {
34028
+ if (resourceType === void 0 || !Object.hasOwn(ORDER_SIGNIFICANT_ID_ARRAY_PATHS, resourceType)) return [];
34029
+ return ORDER_SIGNIFICANT_ID_ARRAY_PATHS[resourceType];
34030
+ }
34031
+ function canonicalizeIdArraysDeep(v, orderedPaths = []) {
34032
+ return walkIdArrays(v, "", orderedPaths);
34033
+ }
34034
+ function walkIdArrays(v, path, orderedPaths) {
33762
34035
  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);
34036
+ const mapped = v.map((el) => walkIdArrays(el, path, orderedPaths));
34037
+ if (mapped.length > 1 && mapped.every(isIdLike) && !matchesPathPrefix(path, orderedPaths)) return [...mapped].sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
33765
34038
  return mapped;
33766
34039
  }
33767
34040
  if (v && typeof v === "object") {
33768
34041
  if (!hasPlainPrototype(v)) return v;
33769
34042
  const out = nullPrototypeRecord();
33770
- for (const [k, val] of Object.entries(v)) out[k] = canonicalizeIdArraysDeep(val);
34043
+ for (const [k, val] of Object.entries(v)) out[k] = walkIdArrays(val, path === "" ? k : `${path}.${k}`, orderedPaths);
33771
34044
  return out;
33772
34045
  }
33773
34046
  return v;
@@ -33830,8 +34103,9 @@ function calculateResourceDrift(stateProperties, awsProperties, options) {
33830
34103
  const union = options?.unionWalkObjects ?? false;
33831
34104
  const unordered = options?.unorderedPaths ?? [];
33832
34105
  const unionPaths = options?.unionWalkPaths ?? [];
33833
- stateProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(stateProperties)), unordered);
33834
- awsProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(awsProperties)), unordered);
34106
+ const orderedIdPaths = orderSignificantIdArrayPaths(options?.resourceType);
34107
+ stateProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(stateProperties), orderedIdPaths), unordered);
34108
+ awsProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(awsProperties), orderedIdPaths), unordered);
33835
34109
  for (const key of Object.keys(stateProperties)) {
33836
34110
  if (isIgnoredPath(key, ignore)) continue;
33837
34111
  diffAt(key, stateProperties[key], awsProperties[key], drifts, ignore, union, unionPaths);
@@ -34101,7 +34375,8 @@ async function unsettledAfterUpdate(args) {
34101
34375
  if (!Object.hasOwn(live, name) || desired[name] === void 0) continue;
34102
34376
  if (calculateResourceDrift(canonical({ [name]: desired[name] }), canonical({ [name]: live[name] }), {
34103
34377
  ignorePaths,
34104
- unorderedPaths
34378
+ unorderedPaths,
34379
+ resourceType: args.resourceType
34105
34380
  }).length > 0) kept.push(name);
34106
34381
  }
34107
34382
  return kept.sort();
@@ -34359,6 +34634,8 @@ async function replayReadopt(s, survivor) {
34359
34634
  const readoptClaimed = inlinePolicyWriters.claimedFor(op.resourceType, op.logicalId, stateResources);
34360
34635
  const readoptDelete = await withReplayDeletePrinting(s, () => newDeleteProvider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
34361
34636
  expectedRegion: ctx.region,
34637
+ maskStackSecretNames: replayStackMask(s),
34638
+ stackHoldersStillAttached: true,
34362
34639
  ...readoptClaimed && { inlinePolicyClaimed: readoptClaimed },
34363
34640
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34364
34641
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
@@ -34470,6 +34747,7 @@ async function replayRevert(s) {
34470
34747
  currentProps ?? {},
34471
34748
  {
34472
34749
  maskSecrets: createSecretMasker(secrets),
34750
+ maskStackSecretNames: replayStackMask(s),
34473
34751
  expectedRegion: ctx.region,
34474
34752
  replayingState: true,
34475
34753
  restoredObservedProperties: previousState.observedProperties,
@@ -34578,6 +34856,8 @@ async function deleteMarkedRecreate(error, s) {
34578
34856
  try {
34579
34857
  const outcome = await withReplayDeletePrinting(s, () => s.provider.delete(s.op.logicalId, madeId, s.oldType, s.properties, {
34580
34858
  expectedRegion: s.region,
34859
+ maskStackSecretNames: replayStackMask(s),
34860
+ stackHoldersStillAttached: true,
34581
34861
  deletionPolicy: "Delete",
34582
34862
  maskSecrets: s.mask
34583
34863
  }));
@@ -34603,9 +34883,11 @@ async function recreateOldResource(s, r) {
34603
34883
  const deleteNewFirstRoute = resolveNewDeleteRoute();
34604
34884
  const deleteNewFirst = await withReplayDeletePrinting(s, () => deleteNewFirstRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
34605
34885
  expectedRegion: ctx.region,
34886
+ maskStackSecretNames: replayStackMask(s),
34606
34887
  ...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
34607
34888
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34608
34889
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
34890
+ stackHoldersStillAttached: true,
34609
34891
  recordedAttributes: newCopyDeleteAttributes(op.resourceType, current.attributes, op.oldDeletedBeforeCreate, op.previousState?.attributes),
34610
34892
  recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
34611
34893
  recordedNoEchoLeaves: current.noEchoLeaves,
@@ -34774,6 +35056,8 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
34774
35056
  const deleteNewAfterRecreateRoute = resolveNewDeleteRoute();
34775
35057
  const deleteNewAfterRecreate = await withReplayDeletePrinting(s, () => deleteNewAfterRecreateRoute.provider.delete(op.logicalId, current.physicalId, op.resourceType, current.properties, {
34776
35058
  expectedRegion: ctx.region,
35059
+ maskStackSecretNames: replayStackMask(s),
35060
+ stackHoldersStillAttached: true,
34777
35061
  ...newCopyClaimed && { inlinePolicyClaimed: newCopyClaimed },
34778
35062
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
34779
35063
  deletionPolicy: replacementDeletePolicy(current.updateReplacePolicy),
@@ -35522,6 +35806,12 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
35522
35806
  secrets
35523
35807
  }, () => provider.delete(op.logicalId, op.physicalId, op.resourceType, op.attemptedProperties, {
35524
35808
  expectedRegion: ctx.region,
35809
+ maskStackSecretNames: replayStackMask({
35810
+ ctx,
35811
+ op,
35812
+ secrets
35813
+ }),
35814
+ stackHoldersStillAttached: true,
35525
35815
  ...removeProtection && { removeProtection: true },
35526
35816
  ...failedCreateClaimed && { inlinePolicyClaimed: failedCreateClaimed },
35527
35817
  ...finalSnapshotIdentifier !== void 0 && { finalSnapshotIdentifier },
@@ -35644,6 +35934,11 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
35644
35934
  attemptedProps ?? {},
35645
35935
  {
35646
35936
  maskSecrets: createSecretMasker(secrets),
35937
+ maskStackSecretNames: replayStackMask({
35938
+ ctx,
35939
+ op,
35940
+ secrets
35941
+ }),
35647
35942
  expectedRegion: ctx.region,
35648
35943
  replayingState: true,
35649
35944
  recordedAttributes: current.attributes,
@@ -35733,10 +36028,10 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
35733
36028
 
35734
36029
  // src/deployment/rollback-executor.ts
35735
36030
  async function replayRollback(...args) {
35736
- return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], args[4]?.orphanLogicalIds), () => replayRollbackUnbound(...args)));
36031
+ return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], args[4]?.orphanLogicalIds, args[4]?.failedOperations), () => replayRollbackUnbound(...args)));
35737
36032
  }
35738
36033
  async function replayFailedOperations(...args) {
35739
- return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1]), async () => {
36034
+ return await withProducerRegions(() => replayProducerRegionEvidence(args[3]), () => withStackRecords(replayStackRecordsView(args[1], void 0, args[0]), async () => {
35740
36035
  const [ops, stateResources, stackName, ctx, options = {}] = args;
35741
36036
  if (options.movedIdCleanups !== void 0) {
35742
36037
  const result = await replayFailedOperationsUnbound(...args);
@@ -37641,6 +37936,14 @@ function splitLocation(location) {
37641
37936
  }
37642
37937
 
37643
37938
  // src/analyzer/refactor-hints.ts
37939
+ function referencesAgree(create, record, sameStack, isNew) {
37940
+ if ((create.createdReferences ?? []).some(isNew)) return false;
37941
+ const staying = create.stayingReferences ?? [];
37942
+ if (staying.length === 0) return true;
37943
+ if (!sameStack) return false;
37944
+ if (record.recordedDependencies === void 0) return true;
37945
+ return staying.every((id) => record.recordedDependencies.includes(id));
37946
+ }
37644
37947
  function findRefactorHints(stacks) {
37645
37948
  const hints = /* @__PURE__ */ new Map();
37646
37949
  for (const env of new Set(stacks.map((s) => s.env))) {
@@ -37654,17 +37957,34 @@ function findRefactorHints(stacks) {
37654
37957
  row
37655
37958
  })));
37656
37959
  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];
37960
+ const pairUp = (isNewIn) => {
37961
+ const matchesOf = /* @__PURE__ */ new Map();
37962
+ const claims = /* @__PURE__ */ new Map();
37963
+ for (const c of creates) {
37964
+ 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)));
37965
+ matchesOf.set(c, matches);
37966
+ for (const d of matches) claims.set(d, (claims.get(d) ?? 0) + 1);
37967
+ }
37968
+ const pairs = /* @__PURE__ */ new Map();
37969
+ for (const c of creates) {
37970
+ const matches = matchesOf.get(c) ?? [];
37971
+ if (matches.length === 1 && claims.get(matches[0]) === 1) pairs.set(c, matches[0]);
37972
+ }
37973
+ return pairs;
37974
+ };
37975
+ const isNew = /* @__PURE__ */ new Set();
37976
+ const referencesNew = (c, logicalId) => {
37977
+ const referenced = creates.find((other) => other.stack === c.stack && other.row.logicalId === logicalId);
37978
+ return referenced === void 0 || isNew.has(referenced);
37979
+ };
37980
+ let pairs = pairUp(referencesNew);
37981
+ for (;;) {
37982
+ const grown = creates.filter((c) => !pairs.has(c) && !isNew.has(c));
37983
+ if (grown.length === 0) break;
37984
+ for (const c of grown) isNew.add(c);
37985
+ pairs = pairUp(referencesNew);
37986
+ }
37987
+ for (const [c, d] of pairs) {
37668
37988
  let byId = hints.get(d.stack.id);
37669
37989
  if (byId === void 0) {
37670
37990
  byId = /* @__PURE__ */ new Map();
@@ -37681,26 +38001,38 @@ function findRefactorHints(stacks) {
37681
38001
  function rollbackOrphanIds(orphans) {
37682
38002
  return new Set((Array.isArray(orphans) ? orphans : []).map((o) => o !== null && typeof o === "object" ? o.logicalId : void 0).filter((id) => typeof id === "string"));
37683
38003
  }
37684
- function hintSidesOf(changes, template, exclude = /* @__PURE__ */ new Set()) {
38004
+ function hintSidesOf(changes, template, exclude = /* @__PURE__ */ new Set(), records) {
37685
38005
  const rows = [...changes];
37686
38006
  const deletedTypes = new Set(rows.filter((c) => c.changeType === "DELETE").map((c) => c.resourceType));
37687
38007
  const updated = new Set(rows.filter((c) => c.changeType === "UPDATE" || c.changeType === "CREATE" && !deletedTypes.has(c.resourceType)).map((c) => c.logicalId));
38008
+ const deleted = new Set(rows.filter((c) => c.changeType === "DELETE").map((c) => c.logicalId));
38009
+ 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))]);
38010
+ const created = new Set(rows.filter((c) => c.changeType === "CREATE").map((c) => c.logicalId));
37688
38011
  const creates = [];
37689
38012
  const deletes = [];
37690
38013
  for (const change of rows) {
37691
38014
  if (exclude.has(change.logicalId)) continue;
37692
38015
  if (change.changeType === "CREATE") {
37693
38016
  if (changedDependencyOf(template, change.logicalId, (id) => updated.has(id)) !== void 0) continue;
38017
+ const references = [...referencedLogicalIds(template, change.logicalId)];
38018
+ const stayingReferences = references.filter((id) => staying.has(id));
38019
+ const createdReferences = references.filter((id) => created.has(id));
37694
38020
  creates.push({
37695
38021
  logicalId: change.logicalId,
37696
38022
  resourceType: change.resourceType,
37697
- properties: change.desiredProperties ?? {}
38023
+ properties: change.desiredProperties ?? {},
38024
+ ...stayingReferences.length > 0 && { stayingReferences },
38025
+ ...createdReferences.length > 0 && { createdReferences }
37698
38026
  });
37699
- } else if (change.changeType === "DELETE") deletes.push({
37700
- logicalId: change.logicalId,
37701
- resourceType: change.resourceType,
37702
- properties: change.currentProperties ?? {}
37703
- });
38027
+ } else if (change.changeType === "DELETE") {
38028
+ const dependencies = (records && Object.hasOwn(records, change.logicalId) ? records[change.logicalId] : void 0)?.dependencies;
38029
+ deletes.push({
38030
+ logicalId: change.logicalId,
38031
+ resourceType: change.resourceType,
38032
+ properties: change.currentProperties ?? {},
38033
+ ...Array.isArray(dependencies) && { recordedDependencies: dependencies.filter((id) => typeof id === "string") }
38034
+ });
38035
+ }
37704
38036
  }
37705
38037
  return {
37706
38038
  creates,
@@ -39732,7 +40064,8 @@ async function revertNestedChildFromJournal(args) {
39732
40064
  },
39733
40065
  importedProducerRegions: producerRegions.regions,
39734
40066
  producerRegionsIncomplete: !producerRegions.complete,
39735
- nestedChildRevert: true
40067
+ nestedChildRevert: true,
40068
+ maskStackSecretNames: stackSecretNamesMasker(stateResources, void 0)
39736
40069
  };
39737
40070
  const childCtx = {
39738
40071
  ...ctx,
@@ -39991,6 +40324,7 @@ function rollbackExecutorContext(deps, previousState, stackName) {
39991
40324
  captureObservedState: deps.options.captureObservedState,
39992
40325
  ...deps.options.parentStackInfo && { nestedChildStack: stackName },
39993
40326
  logOnlyNeedlesFor: (logicalId) => deps.secretsRun().perResourceSecrets.get(logicalId),
40327
+ maskStackSecretNames: (own) => (text) => stackSecretNameMasker(deps.secretsRun(), own)(text),
39994
40328
  importedProducerRegions: producerRegions.regions,
39995
40329
  producerRegionsIncomplete: !producerRegions.complete
39996
40330
  };
@@ -42819,7 +43153,8 @@ Drop the record with: ${dropCommand}`);
42819
43153
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
42820
43154
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
42821
43155
  recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
42822
- maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)])
43156
+ maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)]),
43157
+ maskStackSecretNames: stackSecretNameMasker(deps.secretsRun())
42823
43158
  }), logicalId, 3, 5e3, deleteProvider);
42824
43159
  } catch (deleteError) {
42825
43160
  const msg = describeAwsFailure(deleteError).detail;
@@ -42931,7 +43266,7 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
42931
43266
  live: () => Object.entries(resources),
42932
43267
  survivors: () => Object.entries(resources)
42933
43268
  };
42934
- for (const entry of carried) {
43269
+ for (const entry of supersededDependentsFirst(carried)) {
42935
43270
  if (engine.interrupted) break;
42936
43271
  const { logicalId } = entry;
42937
43272
  const { physicalId, resourceType } = entry.state;
@@ -42959,6 +43294,7 @@ async function retryCarriedSupersededResources(engine, host, carried, resources,
42959
43294
  provider: route.provider,
42960
43295
  region: engine.stackRegion,
42961
43296
  maskSecrets: createSecretMasker(bag),
43297
+ maskStackSecretNames: stackSecretNameMasker(engine.secretsRun),
42962
43298
  stop: () => engine.interrupted,
42963
43299
  once: options.waitInUse !== true,
42964
43300
  holderProvider: () => engine.providerRegistry.getProvider(resourceType),
@@ -48413,14 +48749,14 @@ function canonicalJson$1(value) {
48413
48749
  }
48414
48750
 
48415
48751
  // src/provisioning/providers/dynamodb-globaltable/read-support.ts
48416
- async function readReplicaSubSpecs(client, tableName, regionLabel, declaredReplica) {
48752
+ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredReplica, served) {
48417
48753
  const out = {};
48418
48754
  try {
48419
48755
  const ci = await client.send(new DescribeContributorInsightsCommand({ TableName: tableName }));
48420
48756
  const block = reverseMapReplicaContributorInsights(ci.ContributorInsightsStatus, ci.ContributorInsightsMode, declaredReplica?.["ContributorInsightsSpecification"]);
48421
48757
  if (block !== void 0) out["ContributorInsightsSpecification"] = block;
48422
48758
  } catch (err) {
48423
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48759
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48424
48760
  this.logger.debug(`Could not read ContributorInsights for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48425
48761
  }
48426
48762
  try {
@@ -48428,7 +48764,7 @@ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredRepli
48428
48764
  const block = reverseMapReplicaPitr(description?.PointInTimeRecoveryStatus, description?.RecoveryPeriodInDays, declaredReplica?.["PointInTimeRecoverySpecification"]);
48429
48765
  if (block !== void 0) out["PointInTimeRecoverySpecification"] = block;
48430
48766
  } catch (err) {
48431
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48767
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1) && !(err instanceof TableNotFoundException)) throw err;
48432
48768
  this.logger.debug(`Could not read PointInTimeRecovery for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48433
48769
  }
48434
48770
  try {
@@ -48439,12 +48775,12 @@ async function readReplicaSubSpecs(client, tableName, regionLabel, declaredRepli
48439
48775
  out["KinesisStreamSpecification"] = ksOut;
48440
48776
  }
48441
48777
  } catch (err) {
48442
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48778
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48443
48779
  this.logger.debug(`Could not read KinesisStreamingDestination for ${tableName} in ${regionLabel}: ${describeAwsFailure(err).detail}`);
48444
48780
  }
48445
48781
  return out;
48446
48782
  }
48447
- async function readReplicaPolicies(client, tableName, regionLabel, tableArn, streamArn, declaredReplica, afterOwnWrite, entry) {
48783
+ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, streamArn, declaredReplica, afterOwnWrite, entry, served) {
48448
48784
  if (declaredReplica === void 0) return;
48449
48785
  const readOne = async (what, arn, container) => {
48450
48786
  if (arn === void 0 || arn === "") return void 0;
@@ -48475,6 +48811,7 @@ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, str
48475
48811
  if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
48476
48812
  this.logger.debug(safeMsg`Could not read the ${what} of the ${regionLabel} replica of ${tableName}: ${describeAwsFailure(err).detail}`);
48477
48813
  if (afterOwnWrite && (last !== void 0 && last !== "" || isThrottlingError(err) || isTransientServerError(err) || isAmbiguousOutcomeError(err) || err instanceof ResourceNotFoundException$1)) return declaredMember();
48814
+ if (served && !(err instanceof ResourceNotFoundException$1)) throw err;
48478
48815
  return;
48479
48816
  }
48480
48817
  };
@@ -48487,7 +48824,7 @@ async function readReplicaPolicies(client, tableName, regionLabel, tableArn, str
48487
48824
  if (member !== void 0) entry["ReplicaStreamSpecification"] = { ResourcePolicy: member };
48488
48825
  }
48489
48826
  }
48490
- async function readAutoScalingSettings(tableName, scalableDimension, client, indexName) {
48827
+ async function readAutoScalingSettings(tableName, scalableDimension, client, indexName, served = true) {
48491
48828
  const resourceId = autoScalingResourceId(tableName, indexName);
48492
48829
  try {
48493
48830
  const asClient = client ?? new ApplicationAutoScalingClient({
@@ -48520,7 +48857,7 @@ async function readAutoScalingSettings(tableName, scalableDimension, client, ind
48520
48857
  TargetTrackingScalingPolicyConfiguration: tttConfig
48521
48858
  };
48522
48859
  } catch (err) {
48523
- if (strictFor(indexName !== void 0 ? "GlobalSecondaryIndexes" : scalableDimension.includes("Write") ? "WriteProvisionedThroughputSettings" : "Replicas")) throw err;
48860
+ if (served || strictFor(indexName !== void 0 ? "GlobalSecondaryIndexes" : scalableDimension.includes("Write") ? "WriteProvisionedThroughputSettings" : "Replicas")) throw err;
48524
48861
  this.logger.debug(`Could not read application-autoscaling settings for ${resourceId} (${scalableDimension}): ${describeAwsFailure(err).detail}`);
48525
48862
  return null;
48526
48863
  }
@@ -48649,6 +48986,9 @@ async function unsettledInTransition(physicalId, _logicalId, _resourceType, name
48649
48986
  return names;
48650
48987
  }
48651
48988
  }
48989
+ function replicaServed(status) {
48990
+ return status === void 0 || status === "ACTIVE" || status === "UPDATING";
48991
+ }
48652
48992
  async function readCurrentState(physicalId, logicalId, _resourceType, properties, context) {
48653
48993
  const afterOwnWrite = context?.afterOwnWrite === true;
48654
48994
  try {
@@ -48677,6 +49017,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48677
49017
  const entry = { Region: r.RegionName };
48678
49018
  if (!r.RegionName) return entry;
48679
49019
  const isLocal = r.RegionName === currentRegion;
49020
+ const served = replicaServed(r.ReplicaStatus);
48680
49021
  const kmsKey = isLocal ? table.SSEDescription?.Status === "ENABLED" ? table.SSEDescription.KMSMasterKeyArn : void 0 : r.KMSMasterKeyId;
48681
49022
  if (kmsKey !== void 0 && kmsKey !== "") entry["SSESpecification"] = { KMSMasterKeyId: kmsKey };
48682
49023
  entry["TableClass"] = (isLocal ? void 0 : r.ReplicaTableClassSummary?.TableClass) ?? table.TableClassSummary?.TableClass ?? "STANDARD";
@@ -48684,7 +49025,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48684
49025
  const client = isLocal ? this.dynamoDBClient : this.getRegionalClient(r.RegionName);
48685
49026
  const regionLabel = r.RegionName;
48686
49027
  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);
49028
+ const subs = await this.readReplicaSubSpecs(client, tableNameForSubs, regionLabel, declaredReplica, served);
48688
49029
  Object.assign(entry, subs);
48689
49030
  let protection;
48690
49031
  let disassociationProtection;
@@ -48702,20 +49043,20 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48702
49043
  disassociationProtection = regional.Table?.DisassociationProtectionEnabled;
48703
49044
  streamArn = regional.Table?.LatestStreamArn;
48704
49045
  } catch (err) {
48705
- if (strictFor("Replicas") && !(err instanceof ResourceNotFoundException$1)) throw err;
49046
+ if ((served || strictFor("Replicas")) && !(err instanceof ResourceNotFoundException$1)) throw err;
48706
49047
  if (err instanceof ResourceNotFoundException$1) this.logger.debug(safeMsg`Cross-region replica ${regionLabel} returned RNF on DescribeTable; omitting its protection and stream policy`);
48707
49048
  else this.logger.debug(safeMsg`Could not read the ${regionLabel} replica of ${tableNameForSubs}: ${describeAwsFailure(err).detail}`);
48708
49049
  }
48709
49050
  if (typeof protection === "boolean") entry["DeletionProtectionEnabled"] = protection;
48710
49051
  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);
49052
+ await this.readReplicaPolicies(client, tableNameForSubs, regionLabel, replicaArn, streamArn, declaredReplica, afterOwnWrite, entry, served);
48712
49053
  if (replicaArn) {
48713
49054
  const listTags = async () => normalizeAwsTagsToCfn((await client.send(new ListTagsOfResourceCommand({ ResourceArn: replicaArn }))).Tags);
48714
49055
  const tagsDeclared = writtenReplicaTags(afterOwnWrite, replicaArn, declaredReplica);
48715
49056
  try {
48716
49057
  entry["Tags"] = tagsDeclared === void 0 ? await listTags() : await this.settleReplicaTags(listTags, tagsDeclared, logicalId);
48717
49058
  } catch (tagErr) {
48718
- if (strictFor("Replicas") && !(tagErr instanceof ResourceNotFoundException$1)) throw tagErr;
49059
+ if ((served || strictFor("Replicas")) && !(tagErr instanceof ResourceNotFoundException$1)) throw tagErr;
48719
49060
  if (tagErr instanceof ResourceNotFoundException$1) {
48720
49061
  if (isLocal) throw tagErr;
48721
49062
  this.logger.debug(`Cross-region replica ${regionLabel} returned RNF on ListTagsOfResource; omitting Tags`);
@@ -48728,7 +49069,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48728
49069
  } else entry["Tags"] = [];
48729
49070
  if (billingMode === "PROVISIONED") {
48730
49071
  const replicaAutoScalingClient = isLocal ? void 0 : this.getRegionalAutoScalingClient(regionLabel);
48731
- const readAutoScaling = await this.readAutoScalingSettings(tableNameForSubs, "dynamodb:table:ReadCapacityUnits", replicaAutoScalingClient);
49072
+ const readAutoScaling = await this.readAutoScalingSettings(tableNameForSubs, "dynamodb:table:ReadCapacityUnits", replicaAutoScalingClient, void 0, served);
48732
49073
  if (readAutoScaling) entry["ReadProvisionedThroughputSettings"] = { ReadCapacityAutoScalingSettings: readAutoScaling };
48733
49074
  else if (strictFor("Replicas") && regionalRead !== void 0) entry["ReadProvisionedThroughputSettings"] = { ReadCapacityUnits: regionalRead };
48734
49075
  }
@@ -48804,7 +49145,7 @@ async function readCurrentState(physicalId, logicalId, _resourceType, properties
48804
49145
  };
48805
49146
  else if (ttlStatus === "DISABLED") {}
48806
49147
  } catch (ttlErr) {
48807
- if (strictFor("TimeToLiveSpecification")) throw ttlErr;
49148
+ if (strictFor("TimeToLiveSpecification") || !(ttlErr instanceof ResourceNotFoundException$1)) throw ttlErr;
48808
49149
  this.logger.debug(`Could not read TimeToLive for ${tableNameForSubs}: ${describeAwsFailure(ttlErr).detail}`);
48809
49150
  }
48810
49151
  return result;
@@ -50680,7 +51021,7 @@ async function requireDeploymentApproval(args) {
50680
51021
  id: "self",
50681
51022
  stackName: args.stackName,
50682
51023
  env: "",
50683
- ...hintSidesOf(changes, args.template, rollbackOrphanIds(args.orphans))
51024
+ ...hintSidesOf(changes, args.template, rollbackOrphanIds(args.orphans), args.records)
50684
51025
  }]).get("self")) : destructiveChanges;
50685
51026
  const count = (type) => changes.filter((c) => c.changeType === type).length;
50686
51027
  if (enclosingDeadlineExpired()) throw approvalAfterTimeout(args.stackName);
@@ -51203,6 +51544,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
51203
51544
  forceDataDelete: engine.options.forceStatefulRecreation === true,
51204
51545
  ...recreateFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: recreateFinalSnapshotId },
51205
51546
  ...replacementDeleteContext(engine.replacementDeps(), updateReplacePolicy),
51547
+ stackHoldersStillAttached: true,
51206
51548
  recordedAttributes: currentResource.attributes,
51207
51549
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
51208
51550
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -51704,6 +52046,7 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
51704
52046
  forceDataDelete: engine.options.forceStatefulRecreation === true,
51705
52047
  ...fallbackFinalSnapshotId !== void 0 && { finalSnapshotIdentifier: fallbackFinalSnapshotId },
51706
52048
  ...replacementDeleteContext(engine.replacementDeps(), fallbackUpdateReplacePolicy),
52049
+ stackHoldersStillAttached: true,
51707
52050
  recordedAttributes: currentResource.attributes,
51708
52051
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
51709
52052
  recordedNoEchoLeaves: currentResource.noEchoLeaves,
@@ -51912,6 +52255,7 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
51912
52255
  try {
51913
52256
  result = await engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => updateProvider.update(logicalId, currentResource.physicalId, resourceType, removal.properties, previousSettled, {
51914
52257
  maskSecrets: createSecretMasker(updateSecrets),
52258
+ maskStackSecretNames: stackSecretNameMasker(engine.secretsRun),
51915
52259
  expectedRegion: engine.stackRegion,
51916
52260
  recordedAttributes: currentResource.attributes,
51917
52261
  recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
@@ -52202,6 +52546,7 @@ function deferredServiceTokenWarning(row) {
52202
52546
  }
52203
52547
 
52204
52548
  // src/deployment/deploy-engine/update/finish.ts
52549
+ const WRITE_ONLY_KEY_CHANGE_REFUSED = "WRITE_ONLY_KEY_CHANGE_REFUSED";
52205
52550
  async function finishUpdate(engine, input) {
52206
52551
  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
52552
  const liveLabel = engine.liveTaskLabels.get(logicalId);
@@ -52278,6 +52623,8 @@ async function finishUpdate(engine, input) {
52278
52623
  diffSawTokenChange: diffMovedServiceToken(change)
52279
52624
  });
52280
52625
  if (serviceTokenRefusal !== void 0) throw markRefusedBeforeApplying(markNonRetryable(new CdkdError(renderServiceTokenRefusal([serviceTokenRefusal], stackName, createSecretMasker(updateSecrets)), SERVICE_TOKEN_CHANGE_REFUSED)));
52626
+ const movedRefused = movedReferencesRefusedOnUpdate(resourceType, desiredForSkipCheckAsWritten, currentPropsAsWritten);
52627
+ 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
52628
  const changedProperties = new Set([.../* @__PURE__ */ new Set([
52282
52629
  ...Object.keys(desiredForSkipCheckAsWritten),
52283
52630
  ...Object.keys(currentPropsAsWritten),
@@ -52500,7 +52847,10 @@ async function provisionUpdate(engine, logicalId, change, stateResources, stackN
52500
52847
  continue;
52501
52848
  }
52502
52849
  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"));
52850
+ if (verdict === "read-failed") {
52851
+ const denied = read !== void 0 && "failure" in read ? read.denied : void 0;
52852
+ 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"));
52853
+ }
52504
52854
  if (verdict === "held") {
52505
52855
  parameterHeldKeys.add(pc.path);
52506
52856
  engine.logger.debug(safeMsg`${logicalId}.${pc.path} carries a NoEcho parameter value AWS already holds: not replaced.`);
@@ -55502,5 +55852,5 @@ var DeployEngine = class {
55502
55852
  }
55503
55853
  };
55504
55854
 
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
55855
+ export { recordTagWrite as $, policyDocumentMatchesDeclared as $a, repairMalformedResourceEntriesForReadOnly as $c, gray as $i, dropSupersededProviderReplacements as $l, parseMappingFile as $n, applyRoleArnIfSet as $o, REDACTED_DELETE_ADDRESS_SKIP_REASON as $r, isLegacyHandleId as $s, removeSignalReceiverNamed as $t, warnWholeAssemblyAsSource as $u, recordedProtectionEvidence as A, createPreDeleteFinalSnapshot as Aa, isReadableOrphanRecord as Ac, collectDeclaredOutputNames as Ai, refuseMalformedResourcesForDeploy as Al, DeploymentEventsStore as An, setLocalCustomResourceRuntimeEnabled as Ao, undeclaredEmptyObservedKeys as Ar, extractGetAttRefs as As, resolveDynamoDbDeleteBudgetMs as At, isListParameterType as Au, declaredStreamTagsMember as B, getStackRecords as Ba, unreadableOrphanRecords as Bc, supersededAfterRollback as Bi, displayLogicalId as Bl, formatDestructiveChange as Bn, withIndeterminateGuard as Bo, planRollback as Br, isImpossibleEmptyStoredAttribute as Bs, hasCdkAutoDeleteTag as Bt, flattenAssetPlaceholders as Bu, pendingMovesOutOf as C, PRE_DELETE_SNAPSHOT_TYPES as Ca, movedMaskedProperties as Cc, renderAssemblyPathEscape as Cd, secretBearingStateKeyWarning as Ci, refuseMalformedOutputsForDestroy as Cl, journaledOrphanLines as Cn, withPrintingSecrets as Co, buildReadCurrentStateContext as Cr, AWS_NO_VALUE as Cs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as Ct, missingStateBucketRemedy as Cu, findServiceTokenRefusals as D, isFinalSnapshotError as Da, declaresNoEcho as Dc, exportNameSecretExposure as Di, malformedRenderedContainersWarning as Dl, makeSiblingClaimReader as Dn, customResourcesRunWithoutApp as Do, calculateResourceDrift as Dr, lacksRecordedRefArn as Ds, compensateRemovedDeletionProtection as Dt, renderNestedTemplateTreeDefect as Du, deferredServiceTokenWarning as E, effectiveDeletionPolicy as Ea, passedParameterClassesOf as Ec, resolveBucketRegion as Ed, exportNameNoEchoParameters as Ei, refuseDivergentRecordRegionForDestroy as El, makeForeignHolderScan as En, customResourcesFailedWithoutApp as Eo, withUnprovenUnsettled as Er, refStateLookupFromResource as Es, beginDeleteWait as Et, listNestedTemplateRows as Eu, readProtection as F, isStoredExpression as Fa, refuseMalformedOrphanRecords as Fc, DEFAULT_RESOURCE_WARN_AFTER_MS as Fi, JSON_LISTING_HOLE_VALUE as Fl, noEchoMacParametersOf as Fn, RollbackInlinePolicyWriters as Fo, earliestDefined as Fr, recordedProvenanceOf as Fs, maskedLogger as Ft, rememberSynthesizedStacks as Fu, streamDeclaresTags as G, LAMBDA_PERMISSION_STATEMENT_KEYS as Ga, malformedScrubResourceEntriesRefusalMessage as Gc, withoutSuperseded as Gi, findSdkUnwiredProperties as Gl, withMovedTo as Gn, isSelectOutOfBounds as Go, planFailedOps as Gr, withSharedDrainBudget as Gs, readRefactorMarkerOnce as Gt, redirectFileAsset as Gu, readStreamPolicy as H, verifiedIdentityCache as Ha, malformedLocalResourceEntriesWarning as Hc, supersededHeldByOtherTypeWarning as Hi, hasReadableResources as Hl, hintSidesOf as Hn, isWaitAbandonedError as Ho, demoteSupersededOrphans as Hr, isNamelessDynamicReferenceError as Hs, keptForRetainedRecord as Ht, isDefaultBootstrapRepoName as Hu, DynamoDBGlobalTableProvider as I, withoutSiblingAttachedArns as Ia, refuseMalformedOrphanRecordsForDestroy as Ic, maskingRetryLogger as Ii, accountArgs as Il, noEchoMacVerdict as In, UNSPECIFIED_SKIP_REASON as Io, ledgerForStack as Ir, recordedReferenceRegions as Is, relayedIndexBusyDelete as It, synthesizedStacks as Iu, streamTagsMatchDeclared as J, declaredMemberDocument as Ja, refuseMalformedResourceEntriesForDeploy as Jc, resolveReplacementOldType as Ji, withoutSdkUnwiredProperties as Jl, changedReferenceReason as Jn, stackIdTailOf as Jo, replacementNeverSwapped as Jr, containsIntrinsic as Js, refuseRefactorMarker as Jt, getDockerImageBySourceHash as Ju, streamMemberRefusals as K, OWN_WRITE_REREAD_DELAYS_MS as Ka, refuseMalformedResourceAttributesForOrphan as Kc, replacedDeleteFailureVerdict as Ki, unwrittenCreateOnlyReplacement as Kl, changedReferenceInDiff as Kn, isAlwaysLiveAttribute as Ko, recheckFailedPlan as Kr, namesRecreatedParent as Ks, refactorMarkerMovesOf as Kt, rewriteTemplateAssetReferences as Ku, STREAM_POLICY_KEY as L, withoutSiblingOwned as La, refuseMalformedOrphansForOrphan as Lc, deleteSupersededEntry as Li, withheldAccountClause as Ll, noEchoValueMacsOf as Ln, deleteIndeterminateGuards as Lo, reserveStackCreateToken as Lr, referenceProvenanceOf as Ls, waitForIndexesSettled as Lt, buildAssetRedirectMap as Lu, PROTECTION_PROPERTY_BY_TYPE as M, collectGroupsAddedBySiblings as Ma, malformedOrphanRecordsWarning as Mc, isExportAliasCollision as Mi, refuseMalformedResourcesForExport as Ml, NOECHO_MAC_KEY_ALIAS as Mn, waitForLambdaFunctionActive as Mo, updatePartialReason as Mr, keepHeldTokenProvenance as Ms, INDEX_SETTLE_POLL_INTERVAL_MS as Mt, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Mu, isProtectionValueActive as N, collectManagedPolicyArnsAttachedBySiblings as Na, malformedOrphanRowsKeptWarning as Nc, bindingSkippedOutputs as Ni, refuseMalformedState as Nl, createNoEchoValueMacs as Nn, CloudControlProvider as No, findUpdatePolicyReplacementRefusals as Nr, outputReferenceProvenanceOf as Ns, TABLE_INDEX_NOUN as Nt, purgeNoncurrentKeyVersions as Nu, serviceTokenBlockingReason as O, refusesFinalSnapshot as Oa, maskedPropertyFingerprint as Oc, isWholeDynamicReferenceValue as Oi, malformedResourcesWarning as Ol, planOrphanAdoption as On, localCustomResourceCommand as Oo, equalModuloMarkedMask as Or, lacksRecordedTableArn as Os, deleteBudgetKey as Ot, templateIdentity as Ou, perType as P, collectPrincipalsAttachingPolicy as Pa, previewableOrphanRecords as Pc, DEFAULT_RESOURCE_TIMEOUT_MS as Pi, repairMalformedResourcesForReadOnly as Pl, noEchoMacBinding as Pn, waitForGoneAfterDelete as Po, replacementCreateRoutesToCloudControl as Pr, recordedOutputReferenceRegions as Ps, deleteTableWithIndexBusyRetry as Pt, decodeListingKey as Pu, isDynamoDBTableArnIn as Q, memberReadFailure as Qa, refuseMalformedResourceEntriesForOrphan as Qc, cyan as Qi, PROPERTY_COVERAGE_BY_TYPE as Ql, mappingPairs as Qn, refuseUnreadableCdkCrossAccountRefs as Qo, readsRegeneratingSecret as Qr, LEGACY_HANDLE_ID_PREFIX as Qs, isReceiver as Qt, warnAbsoluteAssetPath as Qu, STREAM_TAGS_KEY as R, awaitInFlightSibling as Ra, repairMalformedOrphanRecordsForReadOnly as Rc, holdsSupersededResources as Ri, STATE_RESOURCES_MALFORMED as Rl, constructPathOf as Rn, deleteLeftInPlace as Ro, withCreateTokenLedger as Rr, referenceTokensIn as Rs, ECR_AUTO_DELETE_IMAGES_TAG as Rt, createAssetRedirectResolver as Ru, hasPendingMovesOut as S, ATOMIC_FINAL_SNAPSHOT_TYPES as Sa, maskedPropertyFingerprintsOf as Sc, namesTheSameDirectory as Sd, secretBearing as Si, refuseMalformedOutputs as Sl, isHandledOrphan as Sn, getCurrentResourceSecrets as So, earlyDeletedOld as Sr, parameterTypeMayLoseSecretIdentity as Ss, stripIndexContributorInsights as St, stringifyValue as Su, refusePendingMovesOut as T, ccRoutedInstanceTakesNoSnapshot as Ta, maskedInputProof as Tc, clearBucketRegionCache as Td, carriedExportAliasExposure as Ti, STATE_REGION_DIVERGED as Tl, sameJournaledOrphans as Tn, customResourceStackName as To, settleUnsettledPrevious as Tr, isStalePlaceholderArnAttribute as Ts, DYNAMODB_DELETE_POLL_COST_MS as Tt, isAbsoluteAssetPath as Tu, reverseMapStreamPolicy as U, withStackRecords as Ua, malformedLocalResourcesWarning as Uc, supersededHolderOf as Ui, findActionableSdkUnwired as Ul, movedToHint as Un, markWaitAbandoned as Uo, isJournaledOrphan as Ur, carriesDynamicReference as Us, recordRetainedForReadoption as Ut, loadPublishableAssetManifest as Uu, planStreamMemberOps as V, revertStackRecordsView as Va, isReadableResourceEntry as Vc, supersededDependentsFirst as Vi, hasReadableOutputs as Vl, findRefactorHints as Vn, getReadOnlyPropertyPaths as Vo, seedsDeleteFirstGuard as Vr, carriesFetchableDynamicReference as Vs, isTruthyCfnBoolean as Vt, isDefaultBootstrapBucketName as Vu, streamDeclaresPolicy as W, KMS_DEFAULT_KEY_POLICY_ID as Wa, malformedResourceEntriesWarning as Wc, supersededResourcesOf as Wi, findHandledUnwrittenCreateOnly as Wl, rollbackOrphanIds as Wn, IntrinsicFunctionResolver as Wo, isReplacementOrphan as Wr, keepsSecretReferenceToken as Ws, readRefactorMarker as Wt, redirectDockerAsset as Wu, clearTagWrites as X, efsPolicyMatchesDeclared as Xa, refuseMalformedResourceEntriesForImport as Xc, findNestedStackTypeChanges as Xi, NO_CC_HANDLERS_REASON as Xl, isPairableType as Xn, resolveDynamicReferences as Xo, computeImplicitDeleteEdges as Xr, replacementSidesForLog as Xs, updateRefactorMarker as Xt, parseAssetManifestBody as Xu, TAGS_BASELINE_REREAD_DELAYS_MS as Y, declaredPolicyDocument as Ya, refuseMalformedResourceEntriesForDestroy as Yc, withPreviousPolicies as Yi, withoutUnwrittenSdkUnwiredProperties as Yl, differingRemedy as Yn, isSettledInstanceState as Yo, IMPLICIT_DELETE_DEPENDENCIES as Yr, markNewValueKnownAfterDeploy as Ys, sameMove as Yt, isCfnTemplateAssetPath as Yu, declaredTagsReadback as Z, lambdaPermissionMatchesDeclared as Za, refuseMalformedResourceEntriesForImportSave as Zc, bold as Zi, hasNoCloudControlHandlers as Zl, looselyEqual as Zn, producerLookupOver as Zo, attemptUsesCompletedCreate as Zr, siblingsOf as Zs, deleteSignalReceiver as Zt, resolveFileAssetSourcePath as Zu, conditionFingerprint as _, secretNamedRecordNeedles as _a, withSecretPhysicalIdsMaskedInState as _c, ownValue as _d, reachableDivergentParameters as _i, malformedExportSourceWarning as _l, getCurrentNestedStackContext as _n, customResourceResponseExpirationWarning as _o, replayFailedOperations as _r, s3BucketDualStackDomainName as _s, planContributorInsightsOp as _t, isNotImplemented as _u, scanActiveConsumers as a, noEchoExactEchoLeavesOf as aa, isStatefulRecreateTargetSync as ac, getBootstrapMarkerKey as ad, orphanNeedsIdentity as ai, refuseMalformedResourcePropertiesForDrift as al, resolvePendingCloudControlRequests as an, policyContentKey as ao, undeclaredGrantSiblingMembers as ar, sendableAssumeRoleCommand as as, planTimeToLive as at, S3StateBackend as au, readRecordedConditionVerdicts as b, storedSecretNameNeedles as ba, tryGetTopLevelWriteOnlyProperties as bc, describeFileReadFailure as bd, displayTextOrWithheld as bi, malformedOutputsWarning as bl, dropFailedCommands as bn, readsNoEchoDeleteValues as bo, PLANNED_EARLY_DELETE_CONSEQUENCE as br, coerceParameterTypedValue as bs, reverseMapIndexContributorInsights as bt, isSecretValuedAttribute as bu, nestedSsmNameDeferredNote as c, createReadOnlyAttributeHealerFactory as ca, coerceWarmThroughput as cc, validateAssetBucketName as cd, nameScopeOf as ci, repairMalformedResourcePropertiesForReadOnly as cl, displacedPhysicalIdShown as cn, ccBrokenReason as co, sgSiblingDecidedById as cr, callerEnvCredentials as cs, planVectorIndexUpdates as ct, readOnlyStateVersionOf as cu, slashedSsmNameHealAdoptedNote as d, maskEventTextWithBoundBags as da, toFiniteNumber as dc, getCdkdAssetBucketName as dd, retiredNameGenerationsLeaving as di, malformedOrphansRefusalMessage as dl, nestedChildStackName as dn, WaitConditionSignalStore as do, withoutSiblingOwnedSgRules as dr, classifyReplaySecretRegion as ds, vectorIndexesSettled as dt, rebuildClientForBucketRegion as du, green as ea, findReplacedReadersOfRecreateTargets as ec, AssetModeResolver as ed, isRedactedRecordedValue as ei, unreadableResourceEntries as el, macWriteOnlyKeys as en, reReadUntilSettled as eo, propertiesChangedReason as er, assertFlagRoleArn as es, settleWrittenTags as et, providerReplacementOldDeleted as eu, slashedSsmNameHealNote as f, namingSecretsWithRecordedNoEcho as fa, APPSYNC_APIKEY_ARN_RESOURCE_PATH as fc, getCdkdContainerRepoName as fd, withNameGenerationReached as fi, malformedOrphansWarning as fl, recordDisplacedSkips as fn, classifyHandleUrl as fo, SG_RULE_ID_PATTERN as fr, producerRegionsFromState as fs, vectorIndexesShapeDetail as ft, CrossPrefixReadError as fu, makeCanonicalizePropertiesFn as g, secretNamedAttributeNamesOf as ga, secretSegmentsOfState as gc, nullPrototypeRecord as gd, namesAnyDeclaredParameter as gi, malformedExportNamesWarning as gl, collectNestedChildUnaddressed as gn, applyCustomResourceResponseExpiration as go, canonicalizeIpProtocolValue as gr, s3BucketDomainName as gs, indexDeclaresContributorInsights as gt, isAccessDenied$1 as gu, inheritedProvenanceForChildDiff as h, secretNamePrintingBags as ha, secretPhysicalIdSegment as hc, hasPlainPrototype as hd, computeParameterTaint as hi, repairMalformedOrphansForReadOnly as hl, withNestedRevertRun as hn, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as ho, sgProtocolKey as hr, s3BucketArn as hs, contributorInsightsRefusals as ht, crossPrefixDeniedWarning as hu, mergeNoChangeOutputs as i, noEchoComparisonForTemplate as ia, isStatefulRecreateTargetForReplace as ic, isCrossRegionRedirect as id, removeProtectionTypeList as ii, refuseMalformedResourcePropertiesForDestroy as il, pendingRequestCount as in, attemptedPolicyDocument as io, stripSiblingOwnedParentMembers as ir, parseIamRoleArn as is, isTtlRateLimited as it, TemplateParser as iu, recordedProtectionNote as j, buildFinalSnapshotIdentifier as ja, malformedOrphanRecordsRefusalMessage as jc, collectPublishedOutputNames as ji, refuseMalformedResourcesForDestroy as jl, crossStackReadsForPartialSave as jn, withCustomResourceStack as jo, updatePartialMessage as jr, promoteInPlaceAttributeDependents as js, DELETE_INDEX_WAIT_PROCEED_NOTE as jt, ssmResolvedValueType as ju, diffSecurity as k, unsupportedFinalSnapshotError as ka, deployRefusesOrphanRowsReason as kc, noEchoParameterValueSeed as ki, malformedStateRefusalMessage as kl, DeploymentEventsReader as kn, localCustomResourceRuntimeActive as ko, equalModuloMask as kr, parseWebACLArn as ks, resolveDynamoDbDeleteBudgetClock as kt, SSM_PARAMETER_VALUE_PREFIX as ku, nestedSsmNameRowNote as l, completedReplayEntries as la, isWarmThroughputDecrease as lc, validateContainerRepoName as ld, retiredAfterRollback as li, UNREADABLE_ORPHANS_CONTAINER_ROW as ll, dropSettledNestedJournals as ln, isCustomResource as lo, siblingOwnedSgRuleIdentities as lr, envCredentialsAreAssumedRole as ls, readbackVectorIndexes as lt, hasReasonlessBaselineRefusal as lu, crossStackOutputProvenanceSource as m, secretNamePrintingBag as ma, maskedSecretSegment as mc, hasOwnKey as md, inheritProducerRegions as mi, refuseMalformedOrphansForDestroy as ml, revertedNestedRowIds as mn, isSignalKey as mo, recordedSgRuleId as mr, isUnexposedRecordedIdentity as ms, completeTableContributorInsightsBaseline as mt, applyCrossPrefixScan as mu, isSecretBearingReferenceString as n, yellow as na, shownType as nc, buildDenyExternalAccessPolicy as nd, redactedDeleteAddressSkip as ni, malformedResourcePropertiesWarning as nl, licensedNameHolder as nn, warnUnsettledMember as no, referencedLogicalIds as nr, explicitRoleArnOrThrow as ns, takeTagWrite as nt, normalizeRecordName as nu, inRunStackKey as o, noEchoParameterNamesOf as oa, renderStatefulReason as oc, parseBootstrapMarker as od, nameGenerationCarriedFrom as oi, refuseMalformedResourcePropertiesForExport as ol, NESTED_PENDING_PARENT_REASON as on, CC_BROKEN_REASON as oo, recordedRuleIdOf as or, AWS_CREDENTIAL_ENV_KEYS as os, readTtlSpec as ot, splitImportedOps as ou, slashedSsmNameHealPendingNote as p, orphanRecordsPrintingBag as pa, displayPhysicalId as pc, defineOwnKey as pd, getCurrentProducerRegions as pi, refuseMalformedOrphans as pl, revertNestedChildFromJournal as pn, evaluateSignals as po, cfnIngressPortValue as pr, regionLessSecretName as ps, CONTRIBUTOR_INSIGHTS_KEY as pt, CrossPrefixScanCache as pu, streamPolicyMatchesDeclared as q, SNS_DEFAULT_POLICY_ID as qa, refuseMalformedResourceEntries as qc, snapshotSegmentSurvivors as qi, withoutAcceptedSdkUnwiredProperties as ql, changedReferencePath as qn, poisonRenderedSpellingsCollidingIn as qo, recordUnderIdIsNotOwn as qr, INTRINSIC_KEYS as qs, refactorMarkerRefusalMessage as qt, AssetManifestLoader as qu, keptWholeReasonText as r, noEchoAttributeNamesOf as ra, MULTI_REGION_RECREATE_BLOCKED_TYPES as rc, assertAssetBucketRegion as rd, segmentCleanupOptions as ri, refuseMalformedResourceProperties as rl, formatResourceLine as rn, verbatimEchoDriftKeys as ro, siblingOwnedRevertDesired as rr, isIamRoleArn as rs, isTtlAlreadyDisabled as rt, planSubscriptionAttributes as ru, checkNestedSsmNames as s, withAttemptedItemsMasked as sa, WARM_THROUGHPUT_MEMBERS as sc, readBootstrapMarkerBody as sd, nameGenerationHighWaterOf as si, refuseMalformedResourcePropertiesForOrphan as sl, displacedOpClause as sn, ProviderRegistry as so, sgRuleOwnershipIdentity as sr, applyCallerIdentityCredentials as ss, sendTtlWaitingOutRateLimit as st, isKnownTokenFreeState as su, DeployEngine as t, red as ta, isPlainReferenceTo as tc, ensureAssetStorage as td, redactedDeleteAddressFields as ti, malformedDriftResourcePropertiesWarning as tl, readsOnlyNoEchoParameters as tn, settleDeclaredMember as to, proposeRenames as tr, assertSendableRoleArn as ts, tagsMatchDeclared as tt, providerReplacementReason as tu, healSlashedSsmParameterNames as u, journaledOrphanPrintingBag as ua, toCfnInteger as uc, BOOTSTRAP_MARKER_PREFIX as ud, retiredNameGenerationsAfter as ui, hasReadableOrphans as ul, getNestedRevertRun as un, wouldReturnToSdkProvider as uo, siblingRecordedSgRuleIds as ur, classifyRecordedSecretRegion as us, vectorIndexesForCreate as ut, hasUnverifiableParameterRefusal as uu, conditionInputsFrom as v, stackSecretNamesMasker as va, getSettledWriteOnlyPropertyPaths as vc, absoluteAssemblyPathEscape as vd, resourcesNamingDeclaredParameter as vi, malformedLocalOutputsWarning as vl, withNestedStackContext as vn, responsePresignClient as vo, replayRollback as vr, s3BucketRegionalDomainName as vs, planIndexContributorInsightsOps as vt, stackInstanceIdOf as vu, pendingMovesRefusalMessage as w, ccRoutedFinalSnapshotError as wa, parameterInputsFor as wc, resolveAssemblyPath as wd, secretSafeKeyDisplay as wi, repairMalformedOutputsForReadOnly as wl, loadJournaledOrphans as wn, NO_LOCAL_CUSTOM_RESOURCES_FLAG as wo, recordAfterRollbackUpdate as wr, cfnRefValueFromPhysicalId as ws, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as wt, findNestedTemplateTreeDefect as wu, childTemplateLoader as x, extractDeploymentEventError as xa, inputFingerprinter as xc, displayAssemblyPath as xd, exportAliasCollisionScrubWarning as xi, refuseMalformedNestedChildOutputs as xl, dropFailedHint as xn, isCustomResourceType as xo, earlyDeleteWhen as xr, isUnboundTemplateParameter as xs, reverseMapTableContributorInsights as xt, isSensitiveAttributeName as xu, parentSuppliedValues as y, stateSecretNameNeedles as ya, getTopLevelKeysHoldingUnreadableCreateOnly as yc, assemblyPathEscape as yd, WITHHELD_NAME_DISPLAY as yi, malformedOutputsRefusalMessage as yl, deleteJournaledOrphans as yn, TemplateNoEchoReresolver as yo, DELETED_RESOURCE_REMEDY as yr, s3BucketWebsiteUrl as ys, readContributorInsightsSpec as yt, withStackInstanceIdWithheld as yu, declaredStreamPolicyMember as z, destroyStackRecordsView as za, unpreviewableOrphanRecords as zc, isSupersededResourceRecord as zi, UNREADABLE_RESOURCES_MAP_ROW as zl, findDestructiveChanges as zn, deleteSkipReason as zo, acquireIdempotencyToken as zr, getAccountInfo as zs, S3_AUTO_DELETE_OBJECTS_TAG as zt, createLazyAssetModeContext as zu };
55856
+ //# sourceMappingURL=deploy-engine-C1OMmZo7.js.map