@cdkd/cli 0.351.0 → 0.351.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-BdOY70NL.js → ambient-client-defaults-BNsgmFaO.js} +3 -3
- package/dist/{ambient-client-defaults-BdOY70NL.js.map → ambient-client-defaults-BNsgmFaO.js.map} +1 -1
- package/dist/{asg-provider-BhktjcGM.js → asg-provider-CBnZ6WhM.js} +26 -6
- package/dist/{asg-provider-BhktjcGM.js.map → asg-provider-CBnZ6WhM.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BkEa9HAa.js → custom-resource-runtime-BREgzXYF.js} +6 -6
- package/dist/{custom-resource-runtime-BkEa9HAa.js.map → custom-resource-runtime-BREgzXYF.js.map} +1 -1
- package/dist/{db-associated-roles-DZ1mRuUA.js → db-associated-roles-ClXc3ZtP.js} +2 -2
- package/dist/{db-associated-roles-DZ1mRuUA.js.map → db-associated-roles-ClXc3ZtP.js.map} +1 -1
- package/dist/{delete-started-ByP_GmQ7.js → delete-started-Du9ABI-8.js} +4 -4
- package/dist/{delete-started-ByP_GmQ7.js.map → delete-started-Du9ABI-8.js.map} +1 -1
- package/dist/{deploy-engine-BZNCiQ-B.js → deploy-engine-Crq1_YaU.js} +658 -133
- package/dist/deploy-engine-Crq1_YaU.js.map +1 -0
- package/dist/{diff-calculator-vaWjL6sQ.js → diff-calculator-BjfI_Wan.js} +12 -12
- package/dist/{diff-calculator-vaWjL6sQ.js.map → diff-calculator-BjfI_Wan.js.map} +1 -1
- package/dist/{ec2-termination-protection-DpNlPDar.js → ec2-termination-protection-ktQGLiiN.js} +6 -6
- package/dist/{ec2-termination-protection-DpNlPDar.js.map → ec2-termination-protection-ktQGLiiN.js.map} +1 -1
- package/dist/{ecr-uri-Cd_x_ldh.js → ecr-uri-BQT6UV3q.js} +2 -2
- package/dist/{ecr-uri-Cd_x_ldh.js.map → ecr-uri-BQT6UV3q.js.map} +1 -1
- package/dist/{expected-bucket-owner-Ba9LshiP.js → expected-bucket-owner-BB5y_p0b.js} +2 -2
- package/dist/{expected-bucket-owner-Ba9LshiP.js.map → expected-bucket-owner-BB5y_p0b.js.map} +1 -1
- package/dist/{iam-role-provider-CL-dMrn4.js → iam-role-provider-CiX8RNcU.js} +10 -8
- package/dist/iam-role-provider-CiX8RNcU.js.map +1 -0
- package/dist/{image-plan-C0B05bHS.js → image-plan-CwEUwSBO.js} +8 -8
- package/dist/{image-plan-C0B05bHS.js.map → image-plan-CwEUwSBO.js.map} +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-DpAGzSvV.js → logger-DmGdReDx.js} +2 -2
- package/dist/{logger-DpAGzSvV.js.map → logger-DmGdReDx.js.map} +1 -1
- package/dist/{neptune-provider-CJuYc8IB.js → neptune-provider-I7iiVIYL.js} +7 -7
- package/dist/{neptune-provider-CJuYc8IB.js.map → neptune-provider-I7iiVIYL.js.map} +1 -1
- package/dist/{program-CUCE3lAz.js → program-CjvlsJxS.js} +624 -170
- package/dist/program-CjvlsJxS.js.map +1 -0
- package/dist/{provider-classes-YUbciPtV.js → provider-classes-BUU9HgA_.js} +111 -79
- package/dist/provider-classes-BUU9HgA_.js.map +1 -0
- package/dist/{rds-provider-CbmVLapS.js → rds-provider-w7OvQPlJ.js} +10 -10
- package/dist/{rds-provider-CbmVLapS.js.map → rds-provider-w7OvQPlJ.js.map} +1 -1
- package/dist/{read-replica-BQ5dRRmm.js → read-replica-4gbBDrpV.js} +3 -3
- package/dist/{read-replica-BQ5dRRmm.js.map → read-replica-4gbBDrpV.js.map} +1 -1
- package/dist/{replacement-rules-DZphESoc.js → replacement-rules-CKf0IgJ7.js} +3 -3
- package/dist/{replacement-rules-DZphESoc.js.map → replacement-rules-CKf0IgJ7.js.map} +1 -1
- package/dist/{resource-deadline-_gEj2hxY.js → resource-deadline-CWs3cu_e.js} +4 -4
- package/dist/{resource-deadline-_gEj2hxY.js.map → resource-deadline-CWs3cu_e.js.map} +1 -1
- package/dist/{run-cli-bzXhjxpe.js → run-cli-8F0scSqk.js} +2 -2
- package/dist/{run-cli-bzXhjxpe.js.map → run-cli-8F0scSqk.js.map} +1 -1
- package/dist/{update-removal-DOUUID3B.js → update-removal-DwF56cpn.js} +4 -4
- package/dist/{update-removal-DOUUID3B.js.map → update-removal-DwF56cpn.js.map} +1 -1
- package/dist/{version-DTKcNNDa.js → version-G1UTHCOP.js} +2 -2
- package/dist/{version-DTKcNNDa.js.map → version-G1UTHCOP.js.map} +1 -1
- package/package.json +2 -2
- package/dist/deploy-engine-BZNCiQ-B.js.map +0 -1
- package/dist/iam-role-provider-CL-dMrn4.js.map +0 -1
- package/dist/program-CUCE3lAz.js.map +0 -1
- package/dist/provider-classes-YUbciPtV.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-
|
|
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-
|
|
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, 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-
|
|
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-G1UTHCOP.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-DmGdReDx.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, 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-BNsgmFaO.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 describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-
|
|
6
|
+
import { A as describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-ktQGLiiN.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
9
|
-
import { B as refusalTypeShown, Bt as RETRY_AUXILIARY_OWNER, Ct as isInterruptedWaitError, Dt as compositeIdSeparatorRefusal, Ft as createMaskedRetryLogger, G as isMarkedNotGone, H as resolveExplicitPhysicalId, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, Nt as stateOrphanRecordRemedy, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, Ut as createdBeforeFailure, W as assertRegionMatch, Wt as createdResourceIdentityBeforeFailure, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, _t as pasteableAwsCommand, an as recoveryCommandFlags, c as clearCreatedReport, cn as DEFAULT_STATE_PREFIX, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, f as retractCreatedResource, fn as producerRecordKey, ft as monotonicNowMs, hn as withPasteableAwsProfile, jt as resourceTypeShown, kt as logicalIdShown, l as collectCreatedResources, ln as injectiveKey, lt as runDeleteAttempt, n as prepareRemovalForUpdate, o as withoutInjectedRemovals, on as sanitizeRecoveryValue, ot as ProtectionFlipRegistry, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as isAuxiliaryMarkOf, r as removalWarning, s as CreatedResourceSink, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, st as isTerminalDeleteFailure, u as reportCreatedResource, ut as ElapsedBudget, vt as protectedReplacementAdvice, wt as startInterruptWatch, x as withUnchangedSecretPrincipalLists, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-
|
|
10
|
-
import { Ct as isReadableBag, Dt as skippedOutputsCarriedFrom, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, gt as slowCcOperationTimeoutMs, ht as dbInstanceAttributes, i as dbClusterAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-
|
|
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$5, 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, 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-
|
|
12
|
-
import { C as unsettledItemsField, D as withUnsettledItems, E as unsettledPropertiesOf, O as withUnsettledProperties, S as unsettledContextOf, T as unsettledItemsTopKey, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, i as withResourceDeadline, k as withoutUnsettledProperties, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, r as whileEnclosingDeadlinesPaused, t as enclosingDeadlineExpired, w as unsettledItemsOf, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-
|
|
8
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-BB5y_p0b.js";
|
|
9
|
+
import { B as refusalTypeShown, Bt as RETRY_AUXILIARY_OWNER, Ct as isInterruptedWaitError, Dt as compositeIdSeparatorRefusal, Ft as createMaskedRetryLogger, G as isMarkedNotGone, H as resolveExplicitPhysicalId, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, Nt as stateOrphanRecordRemedy, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, Ut as createdBeforeFailure, W as assertRegionMatch, Wt as createdResourceIdentityBeforeFailure, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, _t as pasteableAwsCommand, an as recoveryCommandFlags, c as clearCreatedReport, cn as DEFAULT_STATE_PREFIX, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, f as retractCreatedResource, fn as producerRecordKey, ft as monotonicNowMs, hn as withPasteableAwsProfile, jt as resourceTypeShown, kt as logicalIdShown, l as collectCreatedResources, ln as injectiveKey, lt as runDeleteAttempt, n as prepareRemovalForUpdate, o as withoutInjectedRemovals, on as sanitizeRecoveryValue, ot as ProtectionFlipRegistry, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as isAuxiliaryMarkOf, r as removalWarning, s as CreatedResourceSink, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, st as isTerminalDeleteFailure, u as reportCreatedResource, ut as ElapsedBudget, vt as protectedReplacementAdvice, wt as startInterruptWatch, x as withUnchangedSecretPrincipalLists, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-DwF56cpn.js";
|
|
10
|
+
import { Ct as isReadableBag, Dt as skippedOutputsCarriedFrom, Et as shouldRetainResource, Ot as stackInstanceIdCarriedFrom, St as importableOutputs, Tt as orphansCarriedFrom, _t as acceptedCreateOnlyDropsOf, gt as slowCcOperationTimeoutMs, ht as dbInstanceAttributes, i as dbClusterAttributes, n as isRefusedByName, r as markDeleteStarted, t as isDeleteStarted, vt as describeRegionValueKind, wt as orphansAfterRollback, xt as importableOutputKeys, yt as exportNamesCarriedFrom } from "./delete-started-Du9ABI-8.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$5, 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, 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-CKf0IgJ7.js";
|
|
12
|
+
import { C as unsettledItemsField, D as withUnsettledItems, E as unsettledPropertiesOf, O as withUnsettledProperties, S as unsettledContextOf, T as unsettledItemsTopKey, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, i as withResourceDeadline, k as withoutUnsettledProperties, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, r as whileEnclosingDeadlinesPaused, t as enclosingDeadlineExpired, w as unsettledItemsOf, x as isUsableAttemptedName, y as definedAttributes } from "./resource-deadline-CWs3cu_e.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, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
85
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-BB5y_p0b.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -1534,7 +1534,7 @@ function isSensitiveAttributeName(attributeName) {
|
|
|
1534
1534
|
return SENSITIVE_ATTRIBUTE_NAME.test(attributeName) && !NON_SENSITIVE_SUFFIX.test(attributeName);
|
|
1535
1535
|
}
|
|
1536
1536
|
const SECRET_VALUED_ATTRIBUTES = /* @__PURE__ */ new Map([
|
|
1537
|
-
["AWS::AppSync::ApiKey", ["ApiKey"]],
|
|
1537
|
+
["AWS::AppSync::ApiKey", ["ApiKey", "ApiKeyId"]],
|
|
1538
1538
|
["AWS::EC2::IpamExternalResourceVerificationToken", ["TokenValue"]],
|
|
1539
1539
|
["AWS::IVS::StreamKey", ["Value"]]
|
|
1540
1540
|
]);
|
|
@@ -6269,7 +6269,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6269
6269
|
"TracingConfig",
|
|
6270
6270
|
"VpcConfig"
|
|
6271
6271
|
]),
|
|
6272
|
-
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6272
|
+
sdkUnwired: /* @__PURE__ */ new Map([["AcceleratorConfig", "not yet implemented by cdkd"], ["RuntimeConfig", "not yet implemented by cdkd"]]),
|
|
6273
6273
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6274
6274
|
readOnly: /* @__PURE__ */ new Set(["Arn", "SnapStartResponse"]),
|
|
6275
6275
|
primaryIdentifier: /* @__PURE__ */ new Set(["FunctionName"]),
|
|
@@ -8687,34 +8687,34 @@ function passedKey(passed) {
|
|
|
8687
8687
|
function isNestedStackRow(logicalId, walk) {
|
|
8688
8688
|
if (!Object.hasOwn(walk.resources, logicalId)) return false;
|
|
8689
8689
|
const definition = walk.resources[logicalId];
|
|
8690
|
-
return isPlainObject$
|
|
8690
|
+
return isPlainObject$9(definition) && definition["Type"] === "AWS::CloudFormation::Stack";
|
|
8691
8691
|
}
|
|
8692
8692
|
function getAttAttribute(operand, target) {
|
|
8693
8693
|
if (Array.isArray(operand)) return operand.length === 2 && typeof operand[1] === "string" ? operand[1] : void 0;
|
|
8694
8694
|
return typeof operand === "string" ? operand.slice(target.length + 1) : void 0;
|
|
8695
8695
|
}
|
|
8696
8696
|
function rowParameters(definition) {
|
|
8697
|
-
const properties = isPlainObject$
|
|
8697
|
+
const properties = isPlainObject$9(definition) ? definition["Properties"] : void 0;
|
|
8698
8698
|
if (properties === void 0) return {};
|
|
8699
|
-
if (!isPlainObject$
|
|
8699
|
+
if (!isPlainObject$9(properties)) return "unknown";
|
|
8700
8700
|
const parameters = properties["Parameters"];
|
|
8701
8701
|
if (parameters === void 0) return {};
|
|
8702
|
-
if (!isPlainObject$
|
|
8702
|
+
if (!isPlainObject$9(parameters) || intrinsicKey(parameters) !== void 0) return "unknown";
|
|
8703
8703
|
return parameters;
|
|
8704
8704
|
}
|
|
8705
8705
|
function childParameterInputs(template, passed) {
|
|
8706
|
-
const declared = isPlainObject$
|
|
8706
|
+
const declared = isPlainObject$9(template.Parameters) ? template.Parameters : {};
|
|
8707
8707
|
const inputs = /* @__PURE__ */ new Map();
|
|
8708
8708
|
for (const name of Object.keys(declared)) {
|
|
8709
8709
|
const definition = declared[name];
|
|
8710
|
-
if (isPlainObject$
|
|
8710
|
+
if (isPlainObject$9(definition) && declaresNoEcho(definition)) inputs.set(name, { kind: "secret" });
|
|
8711
8711
|
else if (passed.has(name)) {
|
|
8712
8712
|
const passedClass = passed.get(name);
|
|
8713
8713
|
inputs.set(name, passedClass === "clean" ? {
|
|
8714
8714
|
kind: "value",
|
|
8715
8715
|
value: void 0
|
|
8716
8716
|
} : passedClass === "unknown" ? { kind: "unknown" } : { kind: "secret" });
|
|
8717
|
-
} else if (isPlainObject$
|
|
8717
|
+
} else if (isPlainObject$9(definition) && Object.hasOwn(definition, "Default") && !carriesSecretValue(definition["Default"], [])) inputs.set(name, {
|
|
8718
8718
|
kind: "value",
|
|
8719
8719
|
value: definition["Default"]
|
|
8720
8720
|
});
|
|
@@ -8731,7 +8731,7 @@ function closureClass(closure) {
|
|
|
8731
8731
|
return closure.unread ? "unread" : "clean";
|
|
8732
8732
|
}
|
|
8733
8733
|
async function childOutputClass(loaded, outputName, passed, chain, shared) {
|
|
8734
|
-
if (loaded === void 0 || !isPlainObject$
|
|
8734
|
+
if (loaded === void 0 || !isPlainObject$9(loaded.template)) return "unknown";
|
|
8735
8735
|
const scopeKey = JSON.stringify([loaded.identity, passedKey(passed)]);
|
|
8736
8736
|
const memoKey = JSON.stringify([scopeKey, outputName]);
|
|
8737
8737
|
const memo = shared.outputs.get(memoKey);
|
|
@@ -8744,8 +8744,8 @@ async function classifyChildOutput(loaded, outputName, passed, chain, shared, sc
|
|
|
8744
8744
|
if (++shared.steps > MAX_NESTED_OUTPUT_STEPS) return "unknown";
|
|
8745
8745
|
if (chain.includes(loaded.identity) || chain.length >= MAX_NESTED_OUTPUT_DEPTH) return "unknown";
|
|
8746
8746
|
const template = loaded.template;
|
|
8747
|
-
const output = (isPlainObject$
|
|
8748
|
-
if (!isPlainObject$
|
|
8747
|
+
const output = (isPlainObject$9(template.Outputs) ? template.Outputs : {})[outputName];
|
|
8748
|
+
if (!isPlainObject$9(output) || !Object.hasOwn(output, "Value")) return "unknown";
|
|
8749
8749
|
const scope = {
|
|
8750
8750
|
walk: newWalk({
|
|
8751
8751
|
template,
|
|
@@ -8817,14 +8817,14 @@ async function expressionClass(value, scope) {
|
|
|
8817
8817
|
return result;
|
|
8818
8818
|
};
|
|
8819
8819
|
if (Array.isArray(value)) return all(value);
|
|
8820
|
-
if (!isPlainObject$
|
|
8820
|
+
if (!isPlainObject$9(value)) return "clean";
|
|
8821
8821
|
const key = intrinsicKey(value);
|
|
8822
8822
|
if (key === void 0) return all(Object.values(value));
|
|
8823
8823
|
const operand = value[key];
|
|
8824
8824
|
switch (key) {
|
|
8825
8825
|
case "Ref": return typeof operand === "string" ? nameClass(operand, scope) : "unknown";
|
|
8826
8826
|
case "Fn::GetAtt": {
|
|
8827
|
-
const target = getAttTarget(operand);
|
|
8827
|
+
const target = getAttTarget$1(operand);
|
|
8828
8828
|
if (target === void 0) return "secret";
|
|
8829
8829
|
const attribute = getAttAttribute(operand, target);
|
|
8830
8830
|
return worseOf(attribute === void 0 && Array.isArray(operand) ? await all(operand.slice(1)) : "clean", await attributeClass(target, attribute, scope));
|
|
@@ -8832,7 +8832,7 @@ async function expressionClass(value, scope) {
|
|
|
8832
8832
|
case "Fn::Sub": {
|
|
8833
8833
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
8834
8834
|
if (typeof text !== "string") return worseOf("unknown", await expressionClass(operand, scope));
|
|
8835
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
8835
|
+
const vars = Array.isArray(operand) && isPlainObject$9(operand[1]) ? operand[1] : {};
|
|
8836
8836
|
let result = text.includes("{{resolve:") ? "secret" : "clean";
|
|
8837
8837
|
result = worseOf(result, await all(Object.values(vars)));
|
|
8838
8838
|
for (const name of subPlaceholders(text)) {
|
|
@@ -8924,7 +8924,7 @@ async function classifyPassedParameters(parameters, sources) {
|
|
|
8924
8924
|
}
|
|
8925
8925
|
async function classifyPassed(parameters, sources, nested) {
|
|
8926
8926
|
const classes = /* @__PURE__ */ new Map();
|
|
8927
|
-
if (!isPlainObject$
|
|
8927
|
+
if (!isPlainObject$9(parameters)) return classes;
|
|
8928
8928
|
for (const [name, expression] of Object.entries(parameters)) {
|
|
8929
8929
|
let passedClass;
|
|
8930
8930
|
try {
|
|
@@ -8946,7 +8946,7 @@ function passedParameterClassesOf(bag) {
|
|
|
8946
8946
|
|
|
8947
8947
|
// src/deployment/masked-property-fingerprints/input-walk.ts
|
|
8948
8948
|
var UnknownInput = class extends Error {};
|
|
8949
|
-
function isPlainObject$
|
|
8949
|
+
function isPlainObject$9(value) {
|
|
8950
8950
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
8951
8951
|
}
|
|
8952
8952
|
const DYNAMIC_REFERENCE_OPEN = "{{resolve:";
|
|
@@ -8966,7 +8966,7 @@ function carriesSecretValue(value, corpora) {
|
|
|
8966
8966
|
return false;
|
|
8967
8967
|
}
|
|
8968
8968
|
function parameterInputsFor(args) {
|
|
8969
|
-
const declared = isPlainObject$
|
|
8969
|
+
const declared = isPlainObject$9(args.template.Parameters) ? args.template.Parameters : {};
|
|
8970
8970
|
const values = args.values ?? {};
|
|
8971
8971
|
const inputs = /* @__PURE__ */ new Map();
|
|
8972
8972
|
const bound = {};
|
|
@@ -8977,7 +8977,7 @@ function parameterInputsFor(args) {
|
|
|
8977
8977
|
continue;
|
|
8978
8978
|
}
|
|
8979
8979
|
const value = values[name];
|
|
8980
|
-
let secret = isPlainObject$
|
|
8980
|
+
let secret = isPlainObject$9(definition) && declaresNoEcho(definition) || carriesSecretValue(value, []);
|
|
8981
8981
|
if (!secret && args.nestedChild === true && args.supplied !== void 0) {
|
|
8982
8982
|
if (Object.hasOwn(args.supplied, name)) {
|
|
8983
8983
|
const passed = args.passedClasses?.get(name);
|
|
@@ -9037,10 +9037,10 @@ function intrinsicKey(value) {
|
|
|
9037
9037
|
const OPAQUE_ATTRIBUTE_TYPES = /* @__PURE__ */ new Set(["AWS::CloudFormation::CustomResource", NESTED_STACK_TYPE$5]);
|
|
9038
9038
|
function hasOpaqueAttributes(logicalId, walk) {
|
|
9039
9039
|
const definition = walk.resources[logicalId];
|
|
9040
|
-
const type = isPlainObject$
|
|
9040
|
+
const type = isPlainObject$9(definition) ? definition["Type"] : void 0;
|
|
9041
9041
|
return typeof type === "string" && (type.startsWith("Custom::") || OPAQUE_ATTRIBUTE_TYPES.has(type));
|
|
9042
9042
|
}
|
|
9043
|
-
function getAttTarget(operand) {
|
|
9043
|
+
function getAttTarget$1(operand) {
|
|
9044
9044
|
if (Array.isArray(operand) && typeof operand[0] === "string") return operand[0];
|
|
9045
9045
|
if (typeof operand === "string" && operand.includes(".")) return operand.split(".")[0];
|
|
9046
9046
|
}
|
|
@@ -9062,19 +9062,19 @@ function taintOf(logicalId, walk) {
|
|
|
9062
9062
|
const visit = (value) => {
|
|
9063
9063
|
if (typeof value === "string") return value.includes(DYNAMIC_REFERENCE_OPEN);
|
|
9064
9064
|
if (Array.isArray(value)) return value.some(visit);
|
|
9065
|
-
if (!isPlainObject$
|
|
9065
|
+
if (!isPlainObject$9(value)) return false;
|
|
9066
9066
|
const key = intrinsicKey(value);
|
|
9067
9067
|
const operand = key === void 0 ? void 0 : value[key];
|
|
9068
9068
|
let verdict = "clean";
|
|
9069
9069
|
if (key === "Ref" && typeof operand === "string") verdict = nameTaint(operand);
|
|
9070
9070
|
else if (key === "Fn::GetAtt") {
|
|
9071
|
-
const target = getAttTarget(operand);
|
|
9071
|
+
const target = getAttTarget$1(operand);
|
|
9072
9072
|
verdict = target === void 0 || Object.hasOwn(walk.resources, target) && hasOpaqueAttributes(target, walk) ? "tainted" : nameTaint(target);
|
|
9073
9073
|
} else if (key === "Fn::ImportValue" || key === "Fn::GetStackOutput") verdict = "tainted";
|
|
9074
9074
|
else if (key === "Fn::FindInMap" && mapReadClass(operand, walk.sources.template) !== "clean") verdict = "tainted";
|
|
9075
9075
|
else if (key === "Fn::Sub") {
|
|
9076
9076
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
9077
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
9077
|
+
const vars = Array.isArray(operand) && isPlainObject$9(operand[1]) ? operand[1] : {};
|
|
9078
9078
|
if (typeof text === "string") for (const name of subPlaceholders(text)) {
|
|
9079
9079
|
if (Object.hasOwn(vars, name)) continue;
|
|
9080
9080
|
const owner = name.includes(".") ? name.split(".")[0] : name;
|
|
@@ -9088,7 +9088,7 @@ function taintOf(logicalId, walk) {
|
|
|
9088
9088
|
return Object.values(value).some(visit);
|
|
9089
9089
|
};
|
|
9090
9090
|
const definition = walk.resources[logicalId];
|
|
9091
|
-
const result = visit(isPlainObject$
|
|
9091
|
+
const result = visit(isPlainObject$9(definition) ? definition["Properties"] : void 0) ? "tainted" : unknown ? "unknown" : "clean";
|
|
9092
9092
|
walk.inProgress.delete(logicalId);
|
|
9093
9093
|
walk.taint.set(logicalId, result);
|
|
9094
9094
|
return result;
|
|
@@ -9104,7 +9104,7 @@ function conditionInput(name, walk) {
|
|
|
9104
9104
|
return typeof verdict === "boolean" ? verdict : "unknown";
|
|
9105
9105
|
}
|
|
9106
9106
|
function conditionClosure(name, walk) {
|
|
9107
|
-
const definitions = isPlainObject$
|
|
9107
|
+
const definitions = isPlainObject$9(walk.sources.template.Conditions) ? walk.sources.template.Conditions : {};
|
|
9108
9108
|
let secret = false;
|
|
9109
9109
|
let unknown = false;
|
|
9110
9110
|
let unread = false;
|
|
@@ -9119,7 +9119,7 @@ function conditionClosure(name, walk) {
|
|
|
9119
9119
|
value.forEach(visit);
|
|
9120
9120
|
return;
|
|
9121
9121
|
}
|
|
9122
|
-
if (!isPlainObject$
|
|
9122
|
+
if (!isPlainObject$9(value)) return;
|
|
9123
9123
|
const keys = Object.keys(value);
|
|
9124
9124
|
if (keys.length === 1 && keys[0] === "Condition" && typeof value["Condition"] === "string") {
|
|
9125
9125
|
pending.push(value["Condition"]);
|
|
@@ -9152,7 +9152,7 @@ function conditionClosure(name, walk) {
|
|
|
9152
9152
|
if (key === "Fn::Sub") {
|
|
9153
9153
|
const operand = value["Fn::Sub"];
|
|
9154
9154
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
9155
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
9155
|
+
const vars = Array.isArray(operand) && isPlainObject$9(operand[1]) ? operand[1] : {};
|
|
9156
9156
|
if (typeof text === "string") for (const name of subPlaceholders(text)) {
|
|
9157
9157
|
if (Object.hasOwn(vars, name)) continue;
|
|
9158
9158
|
if (name.includes(".") && !name.startsWith("AWS::")) secret = true;
|
|
@@ -9181,8 +9181,8 @@ function mapReadClass(operand, template) {
|
|
|
9181
9181
|
const mapName = Array.isArray(operand) ? operand[0] : void 0;
|
|
9182
9182
|
if (typeof mapName !== "string") return "unknown";
|
|
9183
9183
|
const mappings = template.Mappings;
|
|
9184
|
-
const map = isPlainObject$
|
|
9185
|
-
if (!isPlainObject$
|
|
9184
|
+
const map = isPlainObject$9(mappings) && Object.hasOwn(mappings, mapName) ? mappings[mapName] : void 0;
|
|
9185
|
+
if (!isPlainObject$9(map)) return "unknown";
|
|
9186
9186
|
return carriesSecretValue(map, []) ? "secret" : "clean";
|
|
9187
9187
|
}
|
|
9188
9188
|
async function resolvedInput(node, walk) {
|
|
@@ -9260,7 +9260,7 @@ async function inputForm(value, walk) {
|
|
|
9260
9260
|
...proof(walk, () => parts.every(isProven))
|
|
9261
9261
|
};
|
|
9262
9262
|
}
|
|
9263
|
-
if (!isPlainObject$
|
|
9263
|
+
if (!isPlainObject$9(value)) return {
|
|
9264
9264
|
form: value,
|
|
9265
9265
|
concrete: true
|
|
9266
9266
|
};
|
|
@@ -9281,7 +9281,7 @@ async function inputForm(value, walk) {
|
|
|
9281
9281
|
concrete: false
|
|
9282
9282
|
};
|
|
9283
9283
|
case "Fn::GetAtt": {
|
|
9284
|
-
const target = getAttTarget(operand);
|
|
9284
|
+
const target = getAttTarget$1(operand);
|
|
9285
9285
|
if (target !== void 0 && isNestedStackRow(target, walk)) return nestedOutputInput(target, getAttAttribute(operand, target), value, walk);
|
|
9286
9286
|
if (target === void 0 || !Object.hasOwn(walk.resources, target) || hasOpaqueAttributes(target, walk)) return {
|
|
9287
9287
|
form: value,
|
|
@@ -9324,7 +9324,7 @@ async function inputForm(value, walk) {
|
|
|
9324
9324
|
concrete: false
|
|
9325
9325
|
};
|
|
9326
9326
|
}
|
|
9327
|
-
const explicit = Array.isArray(operand) && isPlainObject$
|
|
9327
|
+
const explicit = Array.isArray(operand) && isPlainObject$9(operand[1]) ? operand[1] : {};
|
|
9328
9328
|
const vars = await inputForm(explicit, walk);
|
|
9329
9329
|
const placeholders = [];
|
|
9330
9330
|
let concrete = vars.concrete && !text.includes("{{resolve:");
|
|
@@ -9382,8 +9382,8 @@ function newWalk(sources, nested = {
|
|
|
9382
9382
|
return {
|
|
9383
9383
|
...covered !== void 0 && { covered },
|
|
9384
9384
|
sources,
|
|
9385
|
-
resources: isPlainObject$
|
|
9386
|
-
parameters: isPlainObject$
|
|
9385
|
+
resources: isPlainObject$9(sources.template.Resources) ? sources.template.Resources : {},
|
|
9386
|
+
parameters: isPlainObject$9(sources.template.Parameters) ? sources.template.Parameters : {},
|
|
9387
9387
|
taint: /* @__PURE__ */ new Map(),
|
|
9388
9388
|
inProgress: /* @__PURE__ */ new Set(),
|
|
9389
9389
|
stackChain: nested.stackChain,
|
|
@@ -9419,7 +9419,7 @@ function possiblyMaskedKeys(resolvedProps, corpora) {
|
|
|
9419
9419
|
const wholeShortLeaf = (value) => {
|
|
9420
9420
|
if (typeof value === "string") return short.includes(value);
|
|
9421
9421
|
if (Array.isArray(value)) return value.some(wholeShortLeaf);
|
|
9422
|
-
if (isPlainObject$
|
|
9422
|
+
if (isPlainObject$9(value)) return Object.values(value).some(wholeShortLeaf);
|
|
9423
9423
|
return false;
|
|
9424
9424
|
};
|
|
9425
9425
|
return Object.keys(resolvedProps).filter((key) => {
|
|
@@ -9450,7 +9450,7 @@ function maskedPropertyFingerprintsOf(record) {
|
|
|
9450
9450
|
const read = /* @__PURE__ */ new Map();
|
|
9451
9451
|
if (record === null || typeof record !== "object") return read;
|
|
9452
9452
|
const field = record.maskedPropertyFingerprints;
|
|
9453
|
-
if (!isPlainObject$
|
|
9453
|
+
if (!isPlainObject$9(field)) return read;
|
|
9454
9454
|
for (const [key, value] of Object.entries(field)) if (typeof value === "string" && value.startsWith("sha256:")) read.set(key, value);
|
|
9455
9455
|
return read;
|
|
9456
9456
|
}
|
|
@@ -9458,7 +9458,7 @@ function maskedPropertyInputFingerprintsOf(record) {
|
|
|
9458
9458
|
const read = /* @__PURE__ */ new Map();
|
|
9459
9459
|
if (record === null || typeof record !== "object") return read;
|
|
9460
9460
|
const field = record.maskedPropertyInputFingerprints;
|
|
9461
|
-
if (!isPlainObject$
|
|
9461
|
+
if (!isPlainObject$9(field)) return read;
|
|
9462
9462
|
const text = maskedPropertyFingerprintsOf(record);
|
|
9463
9463
|
for (const [key, value] of Object.entries(field)) {
|
|
9464
9464
|
if (typeof value !== "string" || !value.startsWith("inputs-sha256:")) continue;
|
|
@@ -9505,7 +9505,7 @@ async function movedMaskedProperties(record, templateProps, fingerprinter, onReb
|
|
|
9505
9505
|
function withRebaselinedFingerprints(record, fingerprints) {
|
|
9506
9506
|
const text = maskedPropertyFingerprintsOf(record);
|
|
9507
9507
|
const field = record.maskedPropertyInputFingerprints;
|
|
9508
|
-
const next = isPlainObject$
|
|
9508
|
+
const next = isPlainObject$9(field) ? Object.entries(field) : [];
|
|
9509
9509
|
let changed = false;
|
|
9510
9510
|
for (const [key, value] of Object.entries(fingerprints)) {
|
|
9511
9511
|
if (text.get(key) !== splitInputFingerprint(value).text) continue;
|
|
@@ -9538,10 +9538,10 @@ function withMaskedPropertyFingerprints(scrubbed, writtenBag, templateProps, sec
|
|
|
9538
9538
|
fingerprints = maskedPropertyFingerprintsFor(scrubbed.properties, templateProps);
|
|
9539
9539
|
inputs = boundInputFingerprints(fingerprints, inputFingerprints);
|
|
9540
9540
|
} else {
|
|
9541
|
-
if (!isPlainObject$
|
|
9541
|
+
if (!isPlainObject$9(previous)) return scrubbed;
|
|
9542
9542
|
if (corpora.length === 0) return scrubbed;
|
|
9543
9543
|
fingerprints = { ...previous };
|
|
9544
|
-
inputs = isPlainObject$
|
|
9544
|
+
inputs = isPlainObject$9(previousInputs) ? { ...previousInputs } : void 0;
|
|
9545
9545
|
}
|
|
9546
9546
|
if (fingerprints !== void 0 && corpora.length > 0) {
|
|
9547
9547
|
const refused = Object.keys(fingerprints).filter((key) => Object.hasOwn(templateProps, key) && corpora.some((corpus) => templateCarriesNeedle(templateProps[key], corpus)));
|
|
@@ -11629,11 +11629,11 @@ function validReferenceRegion(region) {
|
|
|
11629
11629
|
if (typeof region !== "string") return void 0;
|
|
11630
11630
|
return canonicalizeRegion(region) === region && isClientSafeRegion(region) ? region : void 0;
|
|
11631
11631
|
}
|
|
11632
|
-
function isPlainObject$
|
|
11632
|
+
function isPlainObject$8(value) {
|
|
11633
11633
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
11634
11634
|
}
|
|
11635
11635
|
function validateReferenceProvenance(token, raw) {
|
|
11636
|
-
if (!isSingleDynamicReferenceToken(token) || !isPlainObject$
|
|
11636
|
+
if (!isSingleDynamicReferenceToken(token) || !isPlainObject$8(raw)) return void 0;
|
|
11637
11637
|
const versionsRaw = Object.hasOwn(raw, "versions") ? raw["versions"] : void 0;
|
|
11638
11638
|
const readRaw = Object.hasOwn(raw, "readVersions") ? raw["readVersions"] : void 0;
|
|
11639
11639
|
if (readRaw !== void 0) {
|
|
@@ -11651,11 +11651,11 @@ function validateReferenceProvenance(token, raw) {
|
|
|
11651
11651
|
return out;
|
|
11652
11652
|
}
|
|
11653
11653
|
function referenceProvenanceOf(record) {
|
|
11654
|
-
if (!isPlainObject$
|
|
11654
|
+
if (!isPlainObject$8(record) || !Object.hasOwn(record, "referenceProvenance")) return void 0;
|
|
11655
11655
|
return validatedBag(record["referenceProvenance"]);
|
|
11656
11656
|
}
|
|
11657
11657
|
function validatedBag(field) {
|
|
11658
|
-
if (!isPlainObject$
|
|
11658
|
+
if (!isPlainObject$8(field)) return void 0;
|
|
11659
11659
|
const out = Object.create(null);
|
|
11660
11660
|
for (const [token, raw] of Object.entries(field)) {
|
|
11661
11661
|
const entry = validateReferenceProvenance(token, raw);
|
|
@@ -11664,9 +11664,9 @@ function validatedBag(field) {
|
|
|
11664
11664
|
return { ...out };
|
|
11665
11665
|
}
|
|
11666
11666
|
function recordedProvenanceOf(record, token) {
|
|
11667
|
-
if (!isPlainObject$
|
|
11667
|
+
if (!isPlainObject$8(record) || !Object.hasOwn(record, "referenceProvenance")) return void 0;
|
|
11668
11668
|
const field = record["referenceProvenance"];
|
|
11669
|
-
if (!isPlainObject$
|
|
11669
|
+
if (!isPlainObject$8(field) || !Object.hasOwn(field, token)) return void 0;
|
|
11670
11670
|
return validateReferenceProvenance(token, field[token]);
|
|
11671
11671
|
}
|
|
11672
11672
|
function recordedReferenceRegions(record) {
|
|
@@ -11688,7 +11688,7 @@ function regionsOf(field) {
|
|
|
11688
11688
|
function keepHeldTokenProvenance(record) {
|
|
11689
11689
|
if (!hasReferenceProvenanceField(record)) return record;
|
|
11690
11690
|
const field = record.referenceProvenance;
|
|
11691
|
-
if (!isPlainObject$
|
|
11691
|
+
if (!isPlainObject$8(field)) return record;
|
|
11692
11692
|
const held = recordReferenceTokens(record);
|
|
11693
11693
|
const keys = Object.keys(field);
|
|
11694
11694
|
if (keys.every((token) => held.has(token))) return record;
|
|
@@ -11700,12 +11700,12 @@ function keepHeldTokenProvenance(record) {
|
|
|
11700
11700
|
};
|
|
11701
11701
|
}
|
|
11702
11702
|
function hasReferenceProvenanceField(record) {
|
|
11703
|
-
return isPlainObject$
|
|
11703
|
+
return isPlainObject$8(record) && Object.hasOwn(record, "referenceProvenance") && record["referenceProvenance"] !== void 0;
|
|
11704
11704
|
}
|
|
11705
11705
|
function outputReferenceProvenanceOf(state, outputKey) {
|
|
11706
|
-
if (!isPlainObject$
|
|
11706
|
+
if (!isPlainObject$8(state) || !Object.hasOwn(state, "outputReferenceProvenance")) return;
|
|
11707
11707
|
const field = state["outputReferenceProvenance"];
|
|
11708
|
-
if (!isPlainObject$
|
|
11708
|
+
if (!isPlainObject$8(field) || !Object.hasOwn(field, outputKey)) return void 0;
|
|
11709
11709
|
return validatedBag(field[outputKey]);
|
|
11710
11710
|
}
|
|
11711
11711
|
function persistable(token, entry) {
|
|
@@ -11723,7 +11723,7 @@ function tokensUnderPaths(properties, paths) {
|
|
|
11723
11723
|
for (const item of value) descend(item, path, next);
|
|
11724
11724
|
return;
|
|
11725
11725
|
}
|
|
11726
|
-
if (isPlainObject$
|
|
11726
|
+
if (isPlainObject$8(value) && Object.hasOwn(value, path[at])) descend(value[path[at]], path, at + 1);
|
|
11727
11727
|
};
|
|
11728
11728
|
for (const path of paths) descend(properties, path, 0);
|
|
11729
11729
|
return out;
|
|
@@ -11766,7 +11766,7 @@ function unionWithPrevious(pass, before) {
|
|
|
11766
11766
|
}
|
|
11767
11767
|
function outputProvenanceForPersist(args) {
|
|
11768
11768
|
const { outputs, resolvedThisRun, carriedFrom, sinkOf } = args;
|
|
11769
|
-
if (!resolvedThisRun) return carriedFrom !== void 0 && isPlainObject$
|
|
11769
|
+
if (!resolvedThisRun) return carriedFrom !== void 0 && isPlainObject$8(carriedFrom.outputReferenceProvenance) ? carriedFrom.outputReferenceProvenance : void 0;
|
|
11770
11770
|
let out;
|
|
11771
11771
|
for (const [outputKey, value] of Object.entries(outputs)) {
|
|
11772
11772
|
const sink = sinkOf(outputKey);
|
|
@@ -12560,6 +12560,10 @@ const FLAT_OBJECT_MEMBERS = {
|
|
|
12560
12560
|
"AWS::RDS::DBCluster": {
|
|
12561
12561
|
Endpoint: { required: ["Address", "Port"] },
|
|
12562
12562
|
ReadEndpoint: { required: ["Address"] }
|
|
12563
|
+
},
|
|
12564
|
+
"AWS::ElastiCache::CacheCluster": {
|
|
12565
|
+
RedisEndpoint: { required: ["Address", "Port"] },
|
|
12566
|
+
ConfigurationEndpoint: { required: ["Address", "Port"] }
|
|
12563
12567
|
}
|
|
12564
12568
|
};
|
|
12565
12569
|
function shapeOf(resourceType, attributeName) {
|
|
@@ -12775,8 +12779,8 @@ function guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceT
|
|
|
12775
12779
|
const healOutcome = context?.staleAttributeHeal?.phase === "settled" ? context.staleAttributeHeal.outcome : void 0;
|
|
12776
12780
|
const recordMayBeStale = healOutcome?.kind === "failed" || healOutcome?.kind === "not-found";
|
|
12777
12781
|
const loggedType = displayMasked(resolver, resourceType, context);
|
|
12778
|
-
const expectsArnShape =
|
|
12779
|
-
const expectsUrlShape =
|
|
12782
|
+
const expectsArnShape = /(?:Arn|ARN)$/.test(attributeName) && !physicalId.startsWith("arn:");
|
|
12783
|
+
const expectsUrlShape = /(?:Url|URL)$/.test(attributeName) && !/^https?:\/\//.test(physicalId);
|
|
12780
12784
|
if (expectsArnShape || expectsUrlShape) {
|
|
12781
12785
|
const expectedShape = expectsArnShape ? "an ARN (arn:...)" : "a URL (http(s)://...)";
|
|
12782
12786
|
throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}] for ${loggedType}: ` + (recordMayBeStale ? `the state record holds no value for it, and the physical ID ` : `attributes are not enriched for this resource type, and the physical ID `) + `fallback ${quotedRender(displayMasked(resolver, physicalId, context), "\"")} is not ${expectedShape}. CloudFormation would return a different value here, so falling back to the physical ID would silently produce a wrong value (e.g. in stack Outputs). ` + (recordMayBeStale ? staleRecordRemedy(resolver, healOutcome, context) : unenrichedRemedy(resolver, resourceType, attributeName, healOutcome, context))));
|
|
@@ -12796,6 +12800,22 @@ function guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceT
|
|
|
12796
12800
|
resolver.logger.warn(`Unknown attribute ${displayMasked(resolver, attributeName, context)} for resource type ${loggedType}, returning physical ID${withheld}`);
|
|
12797
12801
|
return physicalId;
|
|
12798
12802
|
}
|
|
12803
|
+
function endpointTheEngineLacks(resource, attributeName) {
|
|
12804
|
+
if (resource.resourceType !== "AWS::ElastiCache::CacheCluster") return void 0;
|
|
12805
|
+
const engine = resource.properties?.["Engine"];
|
|
12806
|
+
if (typeof engine !== "string") return void 0;
|
|
12807
|
+
const top = attributeName.split(".")[0];
|
|
12808
|
+
const isMemcached = engine.toLowerCase() === "memcached";
|
|
12809
|
+
if (top === "RedisEndpoint" && isMemcached) return "RedisEndpoint";
|
|
12810
|
+
if (top === "ConfigurationEndpoint" && !isMemcached) return "ConfigurationEndpoint";
|
|
12811
|
+
}
|
|
12812
|
+
function refuseEndpointTheEngineLacks(resolver, resource, logicalId, attributeName, context) {
|
|
12813
|
+
const lacking = endpointTheEngineLacks(resource, attributeName);
|
|
12814
|
+
if (lacking === void 0) return;
|
|
12815
|
+
const engine = String(resource.properties?.["Engine"]);
|
|
12816
|
+
const other = lacking === "RedisEndpoint" ? "ConfigurationEndpoint" : "RedisEndpoint";
|
|
12817
|
+
throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}]: the cache cluster's engine is ${displayMasked(resolver, engine, context)}, which has no ${lacking}. CloudFormation answers an empty Address and Port for it; cdkd refuses instead of passing an empty endpoint on. Reference ${other} instead.`));
|
|
12818
|
+
}
|
|
12799
12819
|
|
|
12800
12820
|
// src/deployment/intrinsic-resolver/getatt-construct-core.ts
|
|
12801
12821
|
const NOT_CONSTRUCTED = Symbol("NOT_CONSTRUCTED");
|
|
@@ -14727,6 +14747,23 @@ async function constructAttributeForAppTypes(resolver, resource, attributeName,
|
|
|
14727
14747
|
why: "its ARN carries a group id cdkd cannot build from the group name"
|
|
14728
14748
|
});
|
|
14729
14749
|
}
|
|
14750
|
+
if (resourceType === "AWS::ElastiCache::CacheCluster") switch (attributeName) {
|
|
14751
|
+
case "RedisEndpoint":
|
|
14752
|
+
case "RedisEndpoint.Address":
|
|
14753
|
+
case "RedisEndpoint.Port":
|
|
14754
|
+
case "ConfigurationEndpoint":
|
|
14755
|
+
case "ConfigurationEndpoint.Address":
|
|
14756
|
+
case "ConfigurationEndpoint.Port":
|
|
14757
|
+
healBeforeConstructing(resolver, context);
|
|
14758
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14759
|
+
logicalId,
|
|
14760
|
+
attributeName,
|
|
14761
|
+
resourceType,
|
|
14762
|
+
context,
|
|
14763
|
+
why: "cdkd cannot build it from the cache cluster id",
|
|
14764
|
+
remedyWhenHealCompleted: "ElastiCache does not report it for the cluster yet (it may still be creating): deploy again once the cluster is available."
|
|
14765
|
+
});
|
|
14766
|
+
}
|
|
14730
14767
|
if (resourceType === "AWS::RDS::DBInstance" || resourceType === "AWS::DocDB::DBInstance" || resourceType === "AWS::Neptune::DBInstance") {
|
|
14731
14768
|
switch (attributeName) {
|
|
14732
14769
|
case "DBInstanceArn":
|
|
@@ -16095,6 +16132,7 @@ async function resolveGetAtt(resolver, getAtt, context) {
|
|
|
16095
16132
|
const resource = lookupResourceRecord(resolver, logicalId, "Fn::GetAtt", context);
|
|
16096
16133
|
if (!resource) throw markNonRetryable(/* @__PURE__ */ new Error(`Resource ${displayMasked(resolver, logicalId, context)} not found for Fn::GetAtt`));
|
|
16097
16134
|
recordSecretNamedRead(logicalId, void 0, context);
|
|
16135
|
+
refuseEndpointTheEngineLacks(resolver, resource, logicalId, attributeName, context);
|
|
16098
16136
|
if (!isAlwaysLiveAttribute(resource.resourceType, attributeName) && resource.attributes !== void 0) {
|
|
16099
16137
|
const storedValue = Object.hasOwn(resource.attributes, attributeName) ? resource.attributes[attributeName] : assembleFlatObjectAttribute(resource.resourceType, attributeName, resource.attributes);
|
|
16100
16138
|
const flatValue = isImpossibleEmptyStoredAttribute(resource.resourceType, attributeName, storedValue) ? void 0 : storedValue;
|
|
@@ -17712,7 +17750,7 @@ function apiGatewayV2DefinitionObject(location) {
|
|
|
17712
17750
|
}
|
|
17713
17751
|
|
|
17714
17752
|
// src/provisioning/cc-nested-create-only-patch.ts
|
|
17715
|
-
function isPlainObject$
|
|
17753
|
+
function isPlainObject$7(value) {
|
|
17716
17754
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17717
17755
|
}
|
|
17718
17756
|
function topLevelKeyOf(op) {
|
|
@@ -17722,14 +17760,14 @@ function topLevelKeyOf(op) {
|
|
|
17722
17760
|
return pointer.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
17723
17761
|
}
|
|
17724
17762
|
function writesTopLevelObject(patch) {
|
|
17725
|
-
return patch.some((op) => topLevelKeyOf(op) !== void 0 && isPlainObject$
|
|
17763
|
+
return patch.some((op) => topLevelKeyOf(op) !== void 0 && isPlainObject$7(op.value));
|
|
17726
17764
|
}
|
|
17727
17765
|
function omitsThroughObjects(root, path) {
|
|
17728
17766
|
let node = root;
|
|
17729
17767
|
for (const segment of path) {
|
|
17730
17768
|
if (!Object.hasOwn(node, segment)) return true;
|
|
17731
17769
|
const next = node[segment];
|
|
17732
|
-
if (!isPlainObject$
|
|
17770
|
+
if (!isPlainObject$7(next)) return false;
|
|
17733
17771
|
node = next;
|
|
17734
17772
|
}
|
|
17735
17773
|
return false;
|
|
@@ -17737,7 +17775,7 @@ function omitsThroughObjects(root, path) {
|
|
|
17737
17775
|
function valueAt(root, path) {
|
|
17738
17776
|
let node = root;
|
|
17739
17777
|
for (const segment of path) {
|
|
17740
|
-
if (!isPlainObject$
|
|
17778
|
+
if (!isPlainObject$7(node) || !Object.hasOwn(node, segment)) return void 0;
|
|
17741
17779
|
node = node[segment];
|
|
17742
17780
|
}
|
|
17743
17781
|
return node;
|
|
@@ -17746,7 +17784,7 @@ function nestedCreateOnlyGaps(patch, createOnlyPaths) {
|
|
|
17746
17784
|
const gaps = [];
|
|
17747
17785
|
for (const op of patch) {
|
|
17748
17786
|
const key = topLevelKeyOf(op);
|
|
17749
|
-
if (key === void 0 || !isPlainObject$
|
|
17787
|
+
if (key === void 0 || !isPlainObject$7(op.value)) continue;
|
|
17750
17788
|
for (const path of createOnlyPaths) {
|
|
17751
17789
|
if (path.length < 2 || path[0] !== key) continue;
|
|
17752
17790
|
if (omitsThroughObjects(op.value, path.slice(1))) gaps.push([...path]);
|
|
@@ -17757,7 +17795,7 @@ function nestedCreateOnlyGaps(patch, createOnlyPaths) {
|
|
|
17757
17795
|
function withCarriedCreateOnlyMembers(patch, gaps, liveModel) {
|
|
17758
17796
|
return patch.map((op) => {
|
|
17759
17797
|
const key = topLevelKeyOf(op);
|
|
17760
|
-
if (key === void 0 || !isPlainObject$
|
|
17798
|
+
if (key === void 0 || !isPlainObject$7(op.value)) return op;
|
|
17761
17799
|
let value;
|
|
17762
17800
|
for (const path of gaps) {
|
|
17763
17801
|
if (path[0] !== key) continue;
|
|
@@ -17767,7 +17805,7 @@ function withCarriedCreateOnlyMembers(patch, gaps, liveModel) {
|
|
|
17767
17805
|
const rest = path.slice(1);
|
|
17768
17806
|
let parent = value;
|
|
17769
17807
|
for (const segment of rest.slice(0, -1)) {
|
|
17770
|
-
if (!isPlainObject$
|
|
17808
|
+
if (!isPlainObject$7(parent[segment])) parent[segment] = {};
|
|
17771
17809
|
parent = parent[segment];
|
|
17772
17810
|
}
|
|
17773
17811
|
parent[rest[rest.length - 1]] = live;
|
|
@@ -18934,7 +18972,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
18934
18972
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
18935
18973
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
18936
18974
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
18937
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
18975
|
+
const { ASGProvider } = await import("./asg-provider-CBnZ6WhM.js");
|
|
18938
18976
|
const delegateRegion = ambientRegion();
|
|
18939
18977
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
18940
18978
|
if (asgProvider === void 0) {
|
|
@@ -19088,7 +19126,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
19088
19126
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
19089
19127
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
19090
19128
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
19091
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
19129
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-w7OvQPlJ.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-I7iiVIYL.js"))).NeptuneProvider({ region: ccRegion });
|
|
19092
19130
|
this.sdkDeleteDelegates.set(family, {
|
|
19093
19131
|
region: ccRegion,
|
|
19094
19132
|
provider
|
|
@@ -20682,7 +20720,7 @@ async function create$1(logicalId, resourceType, properties, context) {
|
|
|
20682
20720
|
ResourceType: resourceType,
|
|
20683
20721
|
LogicalResourceId: logicalId,
|
|
20684
20722
|
StackId: invocation.stackId,
|
|
20685
|
-
ResourceProperties: this.stringifyProperties(properties)
|
|
20723
|
+
ResourceProperties: this.stringifyProperties(properties, context?.typedPayloadLeaves)
|
|
20686
20724
|
}), maskerOrIdentity(context?.maskSecrets), { properties });
|
|
20687
20725
|
if (cfnResponse.Status === "FAILED") throw new Error(`Custom resource handler returned FAILED: ${cfnResponse.Reason || "Unknown reason"}`);
|
|
20688
20726
|
const physicalId = respondedPhysicalId(cfnResponse) ?? logicalId;
|
|
@@ -20715,8 +20753,8 @@ async function update$1(logicalId, physicalId, resourceType, properties, previou
|
|
|
20715
20753
|
LogicalResourceId: logicalId,
|
|
20716
20754
|
PhysicalResourceId: physicalId,
|
|
20717
20755
|
StackId: invocation.stackId,
|
|
20718
|
-
ResourceProperties: this.stringifyProperties(properties),
|
|
20719
|
-
OldResourceProperties: this.stringifyProperties(previousProperties)
|
|
20756
|
+
ResourceProperties: this.stringifyProperties(properties, context?.typedPayloadLeaves),
|
|
20757
|
+
OldResourceProperties: this.stringifyProperties(previousProperties, context?.previousTypedPayloadLeaves)
|
|
20720
20758
|
}), maskerOrIdentity(context?.maskSecrets), {
|
|
20721
20759
|
properties,
|
|
20722
20760
|
previousProperties
|
|
@@ -21222,7 +21260,7 @@ async function deleteImpl(logicalId, physicalId, resourceType, properties, conte
|
|
|
21222
21260
|
LogicalResourceId: logicalId,
|
|
21223
21261
|
PhysicalResourceId: physicalId,
|
|
21224
21262
|
StackId: invocation.stackId,
|
|
21225
|
-
ResourceProperties: this.stringifyProperties(payload)
|
|
21263
|
+
ResourceProperties: this.stringifyProperties(payload, context?.recordedTypedPayloadLeaves)
|
|
21226
21264
|
}), deleteMask);
|
|
21227
21265
|
if (cfnResponse.Status === "FAILED") {
|
|
21228
21266
|
this.logger.warn(show(`Custom resource delete handler returned FAILED for ${logicalId}: ${cfnResponse.Reason || "Unknown reason"}. The handler reported that it did NOT delete, so anything this custom resource manages is LEFT IN PLACE${handlerSkipRemedy(context, logicalId)}`));
|
|
@@ -21756,7 +21794,7 @@ async function publishToSns(topicArn, request) {
|
|
|
21756
21794
|
}
|
|
21757
21795
|
async function invokeLambda(serviceToken, request) {
|
|
21758
21796
|
if (localCustomResourceRuntimeActive()) {
|
|
21759
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
21797
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-BREgzXYF.js");
|
|
21760
21798
|
const local = await invokeCustomResourceFunctionLocally({
|
|
21761
21799
|
lambda: this.lambdaClient,
|
|
21762
21800
|
s3: this.s3Client
|
|
@@ -21772,6 +21810,167 @@ async function invokeLambda(serviceToken, request) {
|
|
|
21772
21810
|
}));
|
|
21773
21811
|
}
|
|
21774
21812
|
|
|
21813
|
+
// src/provisioning/custom-resource-payload-types.ts
|
|
21814
|
+
function isPlainObject$6(value) {
|
|
21815
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
21816
|
+
}
|
|
21817
|
+
function intrinsicKeyOf(node) {
|
|
21818
|
+
const keys = Object.keys(node);
|
|
21819
|
+
if (keys.length !== 1) return void 0;
|
|
21820
|
+
const key = keys[0];
|
|
21821
|
+
return key === "Ref" || key.startsWith("Fn::") ? key : void 0;
|
|
21822
|
+
}
|
|
21823
|
+
function literalIndex(index) {
|
|
21824
|
+
if (typeof index === "number" && Number.isInteger(index)) return index;
|
|
21825
|
+
if (typeof index === "string" && /^\d+$/.test(index)) return Number(index);
|
|
21826
|
+
}
|
|
21827
|
+
function isNoValue$1(node) {
|
|
21828
|
+
return isPlainObject$6(node) && intrinsicKeyOf(node) === "Ref" && node["Ref"] === "AWS::NoValue";
|
|
21829
|
+
}
|
|
21830
|
+
function servesScalarAttributesAsStrings(resourceType) {
|
|
21831
|
+
return resourceType !== void 0 && (resourceType.startsWith("Custom::") || resourceType === "AWS::CloudFormation::CustomResource" || resourceType === "AWS::CloudFormation::Stack");
|
|
21832
|
+
}
|
|
21833
|
+
function getAttTarget(argument) {
|
|
21834
|
+
if (typeof argument === "string") {
|
|
21835
|
+
const dot = argument.indexOf(".");
|
|
21836
|
+
return dot > 0 ? argument.slice(0, dot) : void 0;
|
|
21837
|
+
}
|
|
21838
|
+
if (Array.isArray(argument) && typeof argument[0] === "string") return argument[0];
|
|
21839
|
+
}
|
|
21840
|
+
function holdsNonString(value) {
|
|
21841
|
+
if (typeof value === "number" || typeof value === "boolean") return true;
|
|
21842
|
+
if (Array.isArray(value)) return value.some(holdsNonString);
|
|
21843
|
+
if (isPlainObject$6(value)) return Object.values(value).some(holdsNonString);
|
|
21844
|
+
return false;
|
|
21845
|
+
}
|
|
21846
|
+
function typedPayloadLeavesOf(template, resolved, sources) {
|
|
21847
|
+
const coordinates = [];
|
|
21848
|
+
const ancestors = /* @__PURE__ */ new Set();
|
|
21849
|
+
const push = (path, value) => {
|
|
21850
|
+
if (holdsNonString(value)) coordinates.push(path);
|
|
21851
|
+
};
|
|
21852
|
+
const pushGetAtt = (node, value, path) => {
|
|
21853
|
+
const target = getAttTarget(node["Fn::GetAtt"]);
|
|
21854
|
+
if ((value === null || typeof value !== "object") && servesScalarAttributesAsStrings(target && sources.resourceTypeOf(target))) return;
|
|
21855
|
+
push(path, value);
|
|
21856
|
+
};
|
|
21857
|
+
const walk = (source, value, path) => {
|
|
21858
|
+
if (value === void 0) return;
|
|
21859
|
+
if (source === null || typeof source !== "object") return;
|
|
21860
|
+
if (ancestors.has(source)) return;
|
|
21861
|
+
ancestors.add(source);
|
|
21862
|
+
try {
|
|
21863
|
+
if (Array.isArray(source)) {
|
|
21864
|
+
const kept = source.filter((item) => !isNoValue$1(item));
|
|
21865
|
+
if (Array.isArray(value) && value.length === kept.length) kept.forEach((item, index) => walk(item, value[index], [...path, index]));
|
|
21866
|
+
return;
|
|
21867
|
+
}
|
|
21868
|
+
const record = source;
|
|
21869
|
+
const intrinsic = intrinsicKeyOf(record);
|
|
21870
|
+
if (intrinsic === void 0) {
|
|
21871
|
+
if (!isPlainObject$6(value)) return;
|
|
21872
|
+
for (const [key, child] of Object.entries(record)) if (Object.hasOwn(value, key)) walk(child, value[key], [...path, key]);
|
|
21873
|
+
return;
|
|
21874
|
+
}
|
|
21875
|
+
if (intrinsic === "Fn::GetAtt") {
|
|
21876
|
+
pushGetAtt(record, value, path);
|
|
21877
|
+
return;
|
|
21878
|
+
}
|
|
21879
|
+
if (intrinsic === "Fn::If") {
|
|
21880
|
+
const argument = record["Fn::If"];
|
|
21881
|
+
if (Array.isArray(argument) && argument.length === 3 && typeof argument[0] === "string") {
|
|
21882
|
+
const conditions = sources.conditions;
|
|
21883
|
+
if (conditions !== void 0 && Object.hasOwn(conditions, argument[0])) walk(conditions[argument[0]] ? argument[1] : argument[2], value, path);
|
|
21884
|
+
}
|
|
21885
|
+
return;
|
|
21886
|
+
}
|
|
21887
|
+
if (intrinsic === "Fn::Select") {
|
|
21888
|
+
const argument = record["Fn::Select"];
|
|
21889
|
+
if (Array.isArray(argument) && argument.length === 2) {
|
|
21890
|
+
const index = literalIndex(argument[0]);
|
|
21891
|
+
const list = argument[1];
|
|
21892
|
+
if (index !== void 0 && Array.isArray(list) && index < list.length) walk(list[index], value, path);
|
|
21893
|
+
else if (isPlainObject$6(list) && intrinsicKeyOf(list) === "Fn::GetAtt") pushGetAtt(list, value, path);
|
|
21894
|
+
}
|
|
21895
|
+
return;
|
|
21896
|
+
}
|
|
21897
|
+
} finally {
|
|
21898
|
+
ancestors.delete(source);
|
|
21899
|
+
}
|
|
21900
|
+
};
|
|
21901
|
+
walk(template, resolved, []);
|
|
21902
|
+
return coordinates;
|
|
21903
|
+
}
|
|
21904
|
+
function segmentKey(segment) {
|
|
21905
|
+
return `${typeof segment === "number" ? "n" : "s"}:${segment}`;
|
|
21906
|
+
}
|
|
21907
|
+
function trieOf(coordinates) {
|
|
21908
|
+
const root = {
|
|
21909
|
+
typed: false,
|
|
21910
|
+
children: /* @__PURE__ */ new Map()
|
|
21911
|
+
};
|
|
21912
|
+
for (const coordinate of coordinates) {
|
|
21913
|
+
if (!Array.isArray(coordinate)) continue;
|
|
21914
|
+
let node = root;
|
|
21915
|
+
for (const segment of coordinate) {
|
|
21916
|
+
if (typeof segment !== "string" && typeof segment !== "number") break;
|
|
21917
|
+
const key = segmentKey(segment);
|
|
21918
|
+
let child = node.children.get(key);
|
|
21919
|
+
if (child === void 0) {
|
|
21920
|
+
child = {
|
|
21921
|
+
typed: false,
|
|
21922
|
+
children: /* @__PURE__ */ new Map()
|
|
21923
|
+
};
|
|
21924
|
+
node.children.set(key, child);
|
|
21925
|
+
}
|
|
21926
|
+
node = child;
|
|
21927
|
+
}
|
|
21928
|
+
node.typed = true;
|
|
21929
|
+
}
|
|
21930
|
+
return root;
|
|
21931
|
+
}
|
|
21932
|
+
function setOwn(target, key, value) {
|
|
21933
|
+
Object.defineProperty(target, key, {
|
|
21934
|
+
value,
|
|
21935
|
+
enumerable: true,
|
|
21936
|
+
writable: true,
|
|
21937
|
+
configurable: true
|
|
21938
|
+
});
|
|
21939
|
+
}
|
|
21940
|
+
function legacyStringify(properties) {
|
|
21941
|
+
const result = {};
|
|
21942
|
+
for (const [key, value] of Object.entries(properties)) if (typeof value === "boolean" || typeof value === "number") setOwn(result, key, String(value));
|
|
21943
|
+
else if (isPlainObject$6(value)) setOwn(result, key, legacyStringify(value));
|
|
21944
|
+
else setOwn(result, key, value);
|
|
21945
|
+
return result;
|
|
21946
|
+
}
|
|
21947
|
+
function serializeResourceProperties(properties, typedLeaves) {
|
|
21948
|
+
const leaves = recordedTypedPayloadLeavesOf({ typedPayloadLeaves: typedLeaves });
|
|
21949
|
+
if (leaves === void 0) return legacyStringify(properties);
|
|
21950
|
+
const walk = (value, node) => {
|
|
21951
|
+
if (node?.typed === true) return value;
|
|
21952
|
+
if (typeof value === "boolean" || typeof value === "number") return String(value);
|
|
21953
|
+
if (Array.isArray(value)) return value.map((item, index) => walk(item, node?.children.get(segmentKey(index))));
|
|
21954
|
+
if (isPlainObject$6(value)) {
|
|
21955
|
+
const result = {};
|
|
21956
|
+
for (const [key, child] of Object.entries(value)) setOwn(result, key, walk(child, node?.children.get(segmentKey(key))));
|
|
21957
|
+
return result;
|
|
21958
|
+
}
|
|
21959
|
+
return value;
|
|
21960
|
+
};
|
|
21961
|
+
return walk(properties, trieOf(leaves));
|
|
21962
|
+
}
|
|
21963
|
+
function recordedTypedPayloadLeavesOf(record) {
|
|
21964
|
+
const field = record.typedPayloadLeaves;
|
|
21965
|
+
if (!Array.isArray(field)) return void 0;
|
|
21966
|
+
const leaves = [];
|
|
21967
|
+
for (const coordinate of field) {
|
|
21968
|
+
if (!Array.isArray(coordinate) || !coordinate.every((segment) => typeof segment === "string" || typeof segment === "number")) return;
|
|
21969
|
+
leaves.push(coordinate);
|
|
21970
|
+
}
|
|
21971
|
+
return leaves;
|
|
21972
|
+
}
|
|
21973
|
+
|
|
21775
21974
|
// src/provisioning/providers/custom-resource/response.ts
|
|
21776
21975
|
async function getCustomResourceResponse(lambdaResponse, responseKey, logicalId, operation, mask) {
|
|
21777
21976
|
if (lambdaResponse.FunctionError) {
|
|
@@ -21895,13 +22094,8 @@ async function cleanupResponseObject(responseKey) {
|
|
|
21895
22094
|
objectDescription: CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION
|
|
21896
22095
|
});
|
|
21897
22096
|
}
|
|
21898
|
-
function stringifyProperties(properties) {
|
|
21899
|
-
|
|
21900
|
-
for (const [key, value] of Object.entries(properties)) if (typeof value === "boolean") result[key] = String(value);
|
|
21901
|
-
else if (typeof value === "number") result[key] = String(value);
|
|
21902
|
-
else if (typeof value === "object" && value !== null && !Array.isArray(value)) result[key] = this.stringifyProperties(value);
|
|
21903
|
-
else result[key] = value;
|
|
21904
|
-
return result;
|
|
22097
|
+
function stringifyProperties(properties, typedLeaves) {
|
|
22098
|
+
return serializeResourceProperties(properties, typedLeaves);
|
|
21905
22099
|
}
|
|
21906
22100
|
function sleep(ms) {
|
|
21907
22101
|
return customResourceRetryDelays.sleep(ms);
|
|
@@ -22067,8 +22261,8 @@ var CustomResourceProvider = class CustomResourceProvider {
|
|
|
22067
22261
|
cleanupResponseObject(responseKey) {
|
|
22068
22262
|
return cleanupResponseObject.call(this, responseKey);
|
|
22069
22263
|
}
|
|
22070
|
-
stringifyProperties(properties) {
|
|
22071
|
-
return stringifyProperties.call(this, properties);
|
|
22264
|
+
stringifyProperties(properties, typedLeaves) {
|
|
22265
|
+
return stringifyProperties.call(this, properties, typedLeaves);
|
|
22072
22266
|
}
|
|
22073
22267
|
sleep(ms) {
|
|
22074
22268
|
return sleep.call(this, ms);
|
|
@@ -23070,11 +23264,13 @@ const NESTED_REQUIRED = /* @__PURE__ */ new Map([
|
|
|
23070
23264
|
["AWS::Lambda::EventInvokeConfig", /* @__PURE__ */ new Map([["DestinationConfig.OnFailure", ["Destination"]], ["DestinationConfig.OnSuccess", ["Destination"]]])],
|
|
23071
23265
|
["AWS::Lambda::EventSourceMapping", /* @__PURE__ */ new Map([["Tags", ["Key"]]])],
|
|
23072
23266
|
["AWS::Lambda::Function", /* @__PURE__ */ new Map([
|
|
23267
|
+
["AcceleratorConfig", ["AcceleratorMemorySize"]],
|
|
23073
23268
|
["CapacityProviderConfig", ["LambdaManagedInstancesCapacityProviderConfig"]],
|
|
23074
23269
|
["CapacityProviderConfig.LambdaManagedInstancesCapacityProviderConfig", ["CapacityProviderArn"]],
|
|
23075
23270
|
["DurableConfig", ["ExecutionTimeout"]],
|
|
23076
23271
|
["EphemeralStorage", ["Size"]],
|
|
23077
23272
|
["FileSystemConfigs", ["Arn", "LocalMountPath"]],
|
|
23273
|
+
["RuntimeConfig", ["RuntimeAlias", "RuntimeArn"]],
|
|
23078
23274
|
["RuntimeManagementConfig", ["UpdateRuntimeOn"]],
|
|
23079
23275
|
["SnapStart", ["ApplyOn"]],
|
|
23080
23276
|
["Tags", ["Key"]],
|
|
@@ -23829,7 +24025,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
23829
24025
|
["AWS::KMS::Key", "{\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
23830
24026
|
["AWS::Lambda::EventInvokeConfig", "{\"DestinationConfig\":\"object\",\"DestinationConfig.OnFailure\":\"object\",\"DestinationConfig.OnSuccess\":\"object\"}"],
|
|
23831
24027
|
["AWS::Lambda::EventSourceMapping", "{\"AmazonManagedKafkaEventSourceConfig\":\"object\",\"AmazonManagedKafkaEventSourceConfig.SchemaRegistryConfig\":\"object\",\"AmazonManagedKafkaEventSourceConfig.SchemaRegistryConfig.AccessConfigs\":\"array\",\"AmazonManagedKafkaEventSourceConfig.SchemaRegistryConfig.AccessConfigs[]\":\"object\",\"AmazonManagedKafkaEventSourceConfig.SchemaRegistryConfig.SchemaValidationConfigs\":\"array\",\"AmazonManagedKafkaEventSourceConfig.SchemaRegistryConfig.SchemaValidationConfigs[]\":\"object\",\"DestinationConfig\":\"object\",\"DestinationConfig.OnFailure\":\"object\",\"DocumentDBEventSourceConfig\":\"object\",\"FilterCriteria\":\"object\",\"FilterCriteria.Filters\":\"array\",\"FilterCriteria.Filters[]\":\"object\",\"FunctionResponseTypes\":\"array\",\"LoggingConfig\":\"object\",\"MetricsConfig\":\"object\",\"MetricsConfig.Metrics\":\"array\",\"ProvisionedPollerConfig\":\"object\",\"Queues\":\"array\",\"ScalingConfig\":\"object\",\"SelfManagedEventSource\":\"object\",\"SelfManagedEventSource.Endpoints\":\"object\",\"SelfManagedEventSource.Endpoints.KafkaBootstrapServers\":\"array\",\"SelfManagedKafkaEventSourceConfig\":\"object\",\"SelfManagedKafkaEventSourceConfig.SchemaRegistryConfig\":\"object\",\"SelfManagedKafkaEventSourceConfig.SchemaRegistryConfig.AccessConfigs\":\"array\",\"SelfManagedKafkaEventSourceConfig.SchemaRegistryConfig.AccessConfigs[]\":\"object\",\"SelfManagedKafkaEventSourceConfig.SchemaRegistryConfig.SchemaValidationConfigs\":\"array\",\"SelfManagedKafkaEventSourceConfig.SchemaRegistryConfig.SchemaValidationConfigs[]\":\"object\",\"SourceAccessConfigurations\":\"array\",\"SourceAccessConfigurations[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"Topics\":\"array\"}"],
|
|
23832
|
-
["AWS::Lambda::Function", "{\"Architectures\":\"array\",\"CapacityProviderConfig\":\"object\",\"CapacityProviderConfig.LambdaManagedInstancesCapacityProviderConfig\":\"object\",\"Code\":\"object\",\"DeadLetterConfig\":\"object\",\"DurableConfig\":\"object\",\"Environment\":\"object\",\"Environment.Variables\":\"object\",\"EphemeralStorage\":\"object\",\"FileSystemConfigs\":\"array\",\"FileSystemConfigs[]\":\"object\",\"FileSystemConfigs[].S3FilesConfig\":\"object\",\"FunctionScalingConfig\":\"object\",\"ImageConfig\":\"object\",\"ImageConfig.Command\":\"array\",\"ImageConfig.EntryPoint\":\"array\",\"Layers\":\"array\",\"LoggingConfig\":\"object\",\"RuntimeManagementConfig\":\"object\",\"SnapStart\":\"object\",\"SnapStartResponse\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"TenancyConfig\":\"object\",\"TracingConfig\":\"object\",\"VpcConfig\":\"object\",\"VpcConfig.SecurityGroupIds\":\"array\",\"VpcConfig.SubnetIds\":\"array\"}"],
|
|
24028
|
+
["AWS::Lambda::Function", "{\"AcceleratorConfig\":\"object\",\"Architectures\":\"array\",\"CapacityProviderConfig\":\"object\",\"CapacityProviderConfig.LambdaManagedInstancesCapacityProviderConfig\":\"object\",\"Code\":\"object\",\"DeadLetterConfig\":\"object\",\"DurableConfig\":\"object\",\"Environment\":\"object\",\"Environment.Variables\":\"object\",\"EphemeralStorage\":\"object\",\"FileSystemConfigs\":\"array\",\"FileSystemConfigs[]\":\"object\",\"FileSystemConfigs[].S3FilesConfig\":\"object\",\"FunctionScalingConfig\":\"object\",\"ImageConfig\":\"object\",\"ImageConfig.Command\":\"array\",\"ImageConfig.EntryPoint\":\"array\",\"Layers\":\"array\",\"LoggingConfig\":\"object\",\"RuntimeConfig\":\"object\",\"RuntimeManagementConfig\":\"object\",\"SnapStart\":\"object\",\"SnapStartResponse\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"TenancyConfig\":\"object\",\"TracingConfig\":\"object\",\"VpcConfig\":\"object\",\"VpcConfig.SecurityGroupIds\":\"array\",\"VpcConfig.SubnetIds\":\"array\"}"],
|
|
23833
24029
|
["AWS::Lambda::LayerVersion", "{\"CompatibleArchitectures\":\"array\",\"CompatibleRuntimes\":\"array\",\"Content\":\"object\"}"],
|
|
23834
24030
|
["AWS::Lambda::MicrovmImage", "{\"AdditionalOsCapabilities\":\"array\",\"CodeArtifact\":\"object\",\"CpuConfigurations\":\"array\",\"CpuConfigurations[]\":\"object\",\"EgressNetworkConnectors\":\"array\",\"EnvironmentVariables\":\"array\",\"EnvironmentVariables[]\":\"object\",\"Hooks\":\"object\",\"Hooks.MicrovmHooks\":\"object\",\"Hooks.MicrovmImageHooks\":\"object\",\"Logging\":\"object\",\"Logging.CloudWatch\":\"object\",\"Resources\":\"array\",\"Resources[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
23835
24031
|
["AWS::Lambda::NetworkConnector", "{\"Configuration\":\"object\",\"Configuration.VpcEgressConfiguration\":\"object\",\"Configuration.VpcEgressConfiguration.AssociatedComputeResourceTypes\":\"array\",\"Configuration.VpcEgressConfiguration.SecurityGroupIds\":\"array\",\"Configuration.VpcEgressConfiguration.SubnetIds\":\"array\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
@@ -24303,6 +24499,217 @@ function isCustomResource(resourceType) {
|
|
|
24303
24499
|
return resourceType.startsWith("Custom::") || resourceType === "AWS::CloudFormation::CustomResource";
|
|
24304
24500
|
}
|
|
24305
24501
|
|
|
24502
|
+
// src/provisioning/iam-sibling-managed-policies.ts
|
|
24503
|
+
const ATTACHMENT_FIELD = {
|
|
24504
|
+
"AWS::IAM::Role": "Roles",
|
|
24505
|
+
"AWS::IAM::User": "Users",
|
|
24506
|
+
"AWS::IAM::Group": "Groups"
|
|
24507
|
+
};
|
|
24508
|
+
function managedPolicyAttachmentField(resourceType) {
|
|
24509
|
+
return ATTACHMENT_FIELD[resourceType];
|
|
24510
|
+
}
|
|
24511
|
+
function collectManagedPolicyArnsAttachedBySiblings(targetPhysicalId, context, attachmentField) {
|
|
24512
|
+
const result = /* @__PURE__ */ new Set();
|
|
24513
|
+
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
24514
|
+
if (sibling.resourceType !== "AWS::IAM::ManagedPolicy") continue;
|
|
24515
|
+
const arn = sibling.physicalId;
|
|
24516
|
+
if (typeof arn !== "string" || arn === "") continue;
|
|
24517
|
+
const attachments = sibling.properties[attachmentField];
|
|
24518
|
+
if (!Array.isArray(attachments)) continue;
|
|
24519
|
+
if (attachments.some((a) => a === targetPhysicalId)) result.add(arn);
|
|
24520
|
+
}
|
|
24521
|
+
return result;
|
|
24522
|
+
}
|
|
24523
|
+
function withoutSiblingAttachedArns(arns, siblingArns, properties) {
|
|
24524
|
+
return withoutSiblingOwned(arns, siblingArns, properties, "ManagedPolicyArns");
|
|
24525
|
+
}
|
|
24526
|
+
function withoutSiblingOwned(members, owned, properties, key, foldCase = false) {
|
|
24527
|
+
if (owned.size === 0) return [...members];
|
|
24528
|
+
const declared = properties?.[key];
|
|
24529
|
+
const own = new Set(Array.isArray(declared) ? declared : []);
|
|
24530
|
+
if (!foldCase) return members.filter((m) => !owned.has(m) || own.has(m));
|
|
24531
|
+
const fold = (v) => typeof v === "string" ? v.toLowerCase() : v;
|
|
24532
|
+
const ownedFolded = new Set([...owned].map(fold));
|
|
24533
|
+
const ownFolded = new Set([...own].map(fold));
|
|
24534
|
+
return members.filter((m) => !ownedFolded.has(fold(m)) || ownFolded.has(fold(m)));
|
|
24535
|
+
}
|
|
24536
|
+
function collectGroupsAddedBySiblings(userName, context) {
|
|
24537
|
+
const result = /* @__PURE__ */ new Set();
|
|
24538
|
+
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
24539
|
+
if (sibling.resourceType !== "AWS::IAM::UserToGroupAddition") continue;
|
|
24540
|
+
const group = sibling.properties["GroupName"];
|
|
24541
|
+
const users = sibling.properties["Users"];
|
|
24542
|
+
if (typeof group !== "string" || group === "" || !Array.isArray(users)) continue;
|
|
24543
|
+
const name = userName.toLowerCase();
|
|
24544
|
+
if (users.some((u) => typeof u === "string" && u.toLowerCase() === name)) result.add(group);
|
|
24545
|
+
}
|
|
24546
|
+
return result;
|
|
24547
|
+
}
|
|
24548
|
+
const PRINCIPAL_TYPE = {
|
|
24549
|
+
Roles: "AWS::IAM::Role",
|
|
24550
|
+
Users: "AWS::IAM::User",
|
|
24551
|
+
Groups: "AWS::IAM::Group"
|
|
24552
|
+
};
|
|
24553
|
+
function collectPrincipalsAttachingPolicy(policyArn, context, field) {
|
|
24554
|
+
const result = /* @__PURE__ */ new Set();
|
|
24555
|
+
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
24556
|
+
if (sibling.resourceType !== PRINCIPAL_TYPE[field]) continue;
|
|
24557
|
+
const name = sibling.physicalId;
|
|
24558
|
+
const arns = sibling.properties["ManagedPolicyArns"];
|
|
24559
|
+
if (typeof name !== "string" || name === "" || !Array.isArray(arns)) continue;
|
|
24560
|
+
if (arns.some((a) => a === policyArn)) result.add(name);
|
|
24561
|
+
}
|
|
24562
|
+
return result;
|
|
24563
|
+
}
|
|
24564
|
+
function stringsAt(bag, key) {
|
|
24565
|
+
const value = bag[key];
|
|
24566
|
+
return Array.isArray(value) && value.every((v) => typeof v === "string") ? value : void 0;
|
|
24567
|
+
}
|
|
24568
|
+
function siblingOwnedMembers(resourceType, physicalId, context) {
|
|
24569
|
+
const out = [];
|
|
24570
|
+
const field = managedPolicyAttachmentField(resourceType);
|
|
24571
|
+
if (field !== void 0) out.push([
|
|
24572
|
+
"ManagedPolicyArns",
|
|
24573
|
+
collectManagedPolicyArnsAttachedBySiblings(physicalId, context, field),
|
|
24574
|
+
false
|
|
24575
|
+
]);
|
|
24576
|
+
if (resourceType === "AWS::IAM::User") out.push([
|
|
24577
|
+
"Groups",
|
|
24578
|
+
collectGroupsAddedBySiblings(physicalId, context),
|
|
24579
|
+
true
|
|
24580
|
+
]);
|
|
24581
|
+
if (resourceType === "AWS::IAM::ManagedPolicy") for (const key of [
|
|
24582
|
+
"Roles",
|
|
24583
|
+
"Users",
|
|
24584
|
+
"Groups"
|
|
24585
|
+
]) out.push([
|
|
24586
|
+
key,
|
|
24587
|
+
collectPrincipalsAttachingPolicy(physicalId, context, key),
|
|
24588
|
+
false
|
|
24589
|
+
]);
|
|
24590
|
+
return out.filter(([, owned]) => owned.size > 0);
|
|
24591
|
+
}
|
|
24592
|
+
function stripSiblingOwnedMembers(resourceType, physicalId, baseline, aws, properties, context) {
|
|
24593
|
+
if (physicalId === void 0) return {
|
|
24594
|
+
baseline,
|
|
24595
|
+
aws
|
|
24596
|
+
};
|
|
24597
|
+
const owned = siblingOwnedMembers(resourceType, physicalId, context);
|
|
24598
|
+
if (owned.length === 0) return {
|
|
24599
|
+
baseline,
|
|
24600
|
+
aws
|
|
24601
|
+
};
|
|
24602
|
+
const strip = (bag) => {
|
|
24603
|
+
let out = bag;
|
|
24604
|
+
for (const [key, members, foldCase] of owned) {
|
|
24605
|
+
const list = stringsAt(bag, key);
|
|
24606
|
+
if (list === void 0) continue;
|
|
24607
|
+
const kept = withoutSiblingOwned(list, members, properties, key, foldCase);
|
|
24608
|
+
if (kept.length !== list.length) out = {
|
|
24609
|
+
...out,
|
|
24610
|
+
[key]: kept
|
|
24611
|
+
};
|
|
24612
|
+
}
|
|
24613
|
+
return out;
|
|
24614
|
+
};
|
|
24615
|
+
return {
|
|
24616
|
+
baseline: strip(baseline),
|
|
24617
|
+
aws: strip(aws)
|
|
24618
|
+
};
|
|
24619
|
+
}
|
|
24620
|
+
const RETAINS = /* @__PURE__ */ new Set(["Retain", "RetainExceptOnCreate"]);
|
|
24621
|
+
function previousMaySurvive(logicalId, record, next, oldMaySurvive, templatePolicies) {
|
|
24622
|
+
const policies = templatePolicies?.(logicalId);
|
|
24623
|
+
const now = next[logicalId];
|
|
24624
|
+
if (now === void 0) return RETAINS.has(record.deletionPolicy ?? policies?.deletionPolicy);
|
|
24625
|
+
if (now.physicalId === record.physicalId) return false;
|
|
24626
|
+
return RETAINS.has(record.updateReplacePolicy ?? policies?.updateReplacePolicy) || oldMaySurvive(logicalId);
|
|
24627
|
+
}
|
|
24628
|
+
function isStoredExpression(value) {
|
|
24629
|
+
return value.includes("{{resolve:") || value.includes("***");
|
|
24630
|
+
}
|
|
24631
|
+
function siblingWritesOf(record) {
|
|
24632
|
+
const out = [];
|
|
24633
|
+
const props = record.properties ?? {};
|
|
24634
|
+
const id = record.physicalId;
|
|
24635
|
+
if (record.resourceType === "AWS::IAM::ManagedPolicy" && typeof id === "string" && id !== "") for (const field of [
|
|
24636
|
+
"Roles",
|
|
24637
|
+
"Users",
|
|
24638
|
+
"Groups"
|
|
24639
|
+
]) for (const name of stringsAt(props, field) ?? []) out.push([
|
|
24640
|
+
PRINCIPAL_TYPE[field],
|
|
24641
|
+
name,
|
|
24642
|
+
"ManagedPolicyArns",
|
|
24643
|
+
id,
|
|
24644
|
+
false
|
|
24645
|
+
]);
|
|
24646
|
+
const field = managedPolicyAttachmentField(record.resourceType);
|
|
24647
|
+
if (field !== void 0 && typeof id === "string" && id !== "") for (const arn of stringsAt(props, "ManagedPolicyArns") ?? []) out.push([
|
|
24648
|
+
"AWS::IAM::ManagedPolicy",
|
|
24649
|
+
arn,
|
|
24650
|
+
field,
|
|
24651
|
+
id,
|
|
24652
|
+
false
|
|
24653
|
+
]);
|
|
24654
|
+
if (record.resourceType === "AWS::IAM::UserToGroupAddition") {
|
|
24655
|
+
const group = props["GroupName"];
|
|
24656
|
+
if (typeof group === "string" && group !== "") for (const user of stringsAt(props, "Users") ?? []) out.push([
|
|
24657
|
+
"AWS::IAM::User",
|
|
24658
|
+
user.toLowerCase(),
|
|
24659
|
+
"Groups",
|
|
24660
|
+
group.toLowerCase(),
|
|
24661
|
+
true
|
|
24662
|
+
]);
|
|
24663
|
+
}
|
|
24664
|
+
return out.filter(([, target, , member]) => !isStoredExpression(target) && !isStoredExpression(member));
|
|
24665
|
+
}
|
|
24666
|
+
function membersSiblingsStoppedWriting(previous, next, oldMaySurvive = () => false, templatePolicies) {
|
|
24667
|
+
const encode = (w) => injectiveKey(w[0], w[1], w[2], w[3], String(w[4]));
|
|
24668
|
+
const stillWritten = /* @__PURE__ */ new Set();
|
|
24669
|
+
for (const record of Object.values(next)) for (const w of siblingWritesOf(record)) stillWritten.add(encode(w));
|
|
24670
|
+
const stopped = /* @__PURE__ */ new Map();
|
|
24671
|
+
for (const [logicalId, record] of Object.entries(previous)) {
|
|
24672
|
+
const writes = siblingWritesOf(record);
|
|
24673
|
+
if (writes.length === 0 || previousMaySurvive(logicalId, record, next, oldMaySurvive, templatePolicies)) continue;
|
|
24674
|
+
for (const w of writes) {
|
|
24675
|
+
if (stillWritten.has(encode(w))) continue;
|
|
24676
|
+
const [targetType, targetId, key, member, foldCase] = w;
|
|
24677
|
+
const target = injectiveKey(targetType, String(foldCase), targetId);
|
|
24678
|
+
let byKey = stopped.get(target);
|
|
24679
|
+
if (byKey === void 0) stopped.set(target, byKey = /* @__PURE__ */ new Map());
|
|
24680
|
+
let entry = byKey.get(key);
|
|
24681
|
+
if (entry === void 0) byKey.set(key, entry = {
|
|
24682
|
+
key,
|
|
24683
|
+
members: /* @__PURE__ */ new Set(),
|
|
24684
|
+
foldCase
|
|
24685
|
+
});
|
|
24686
|
+
entry.members.add(member);
|
|
24687
|
+
}
|
|
24688
|
+
}
|
|
24689
|
+
const result = /* @__PURE__ */ new Map();
|
|
24690
|
+
if (stopped.size === 0) return result;
|
|
24691
|
+
for (const [logicalId, record] of Object.entries(next)) {
|
|
24692
|
+
const id = record.physicalId;
|
|
24693
|
+
if (typeof id !== "string" || id === "") continue;
|
|
24694
|
+
const entries = [...stopped.get(injectiveKey(record.resourceType, "false", id))?.values() ?? [], ...stopped.get(injectiveKey(record.resourceType, "true", id.toLowerCase()))?.values() ?? []];
|
|
24695
|
+
if (entries.length > 0) result.set(logicalId, entries);
|
|
24696
|
+
}
|
|
24697
|
+
return result;
|
|
24698
|
+
}
|
|
24699
|
+
function withoutStoppedSiblingMembers(bag, stopped, properties) {
|
|
24700
|
+
let out = bag;
|
|
24701
|
+
for (const { key, members, foldCase } of stopped) {
|
|
24702
|
+
const list = stringsAt(out, key);
|
|
24703
|
+
if (list === void 0) continue;
|
|
24704
|
+
const kept = withoutSiblingOwned(list, members, properties, key, foldCase);
|
|
24705
|
+
if (kept.length !== list.length) out = {
|
|
24706
|
+
...out,
|
|
24707
|
+
[key]: kept
|
|
24708
|
+
};
|
|
24709
|
+
}
|
|
24710
|
+
return out;
|
|
24711
|
+
}
|
|
24712
|
+
|
|
24306
24713
|
// src/deployment/deploy-engine/provenance-capture.ts
|
|
24307
24714
|
var ProvenanceCapture = class {
|
|
24308
24715
|
tasks = /* @__PURE__ */ new Map();
|
|
@@ -24906,7 +25313,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
24906
25313
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
24907
25314
|
if (region === void 0 || region === "") return false;
|
|
24908
25315
|
const mask = input.mask ?? ((text) => text);
|
|
24909
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
25316
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-4gbBDrpV.js").then((n) => n.l);
|
|
24910
25317
|
let reason;
|
|
24911
25318
|
try {
|
|
24912
25319
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -25050,10 +25457,11 @@ function recordRollbackDeleteGuards(result, logicalId, physicalId, scope) {
|
|
|
25050
25457
|
}
|
|
25051
25458
|
const SKIP_FINAL_SNAPSHOT_FLAG = "--skip-final-snapshot";
|
|
25052
25459
|
const REPLAYING_STATE_CREATE_CONTEXT = { replayingState: true };
|
|
25053
|
-
function replayingStateCreateContext(secrets) {
|
|
25460
|
+
function replayingStateCreateContext(secrets, typedPayloadLeaves) {
|
|
25054
25461
|
return {
|
|
25055
25462
|
...REPLAYING_STATE_CREATE_CONTEXT,
|
|
25056
|
-
maskSecrets: createSecretMasker(secrets)
|
|
25463
|
+
maskSecrets: createSecretMasker(secrets),
|
|
25464
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves }
|
|
25057
25465
|
};
|
|
25058
25466
|
}
|
|
25059
25467
|
function maskedRollbackEventError(error, mask) {
|
|
@@ -26579,6 +26987,7 @@ async function replaceDeleteFirstAndRecreate(run, deps, logicalId, resourceType,
|
|
|
26579
26987
|
recordedAttributes: currentResource.attributes,
|
|
26580
26988
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
26581
26989
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
26990
|
+
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
26582
26991
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
26583
26992
|
maskSecrets: deleteMask
|
|
26584
26993
|
}));
|
|
@@ -26872,6 +27281,7 @@ async function deleteSupersededEntry(entry, input) {
|
|
|
26872
27281
|
recordedAttributes: record.attributes,
|
|
26873
27282
|
recordedCreateOnlyDrops: record.acceptedCreateOnlyDrops,
|
|
26874
27283
|
recordedNoEchoLeaves: record.noEchoLeaves,
|
|
27284
|
+
recordedTypedPayloadLeaves: record.typedPayloadLeaves,
|
|
26875
27285
|
maskSecrets: input.maskSecrets
|
|
26876
27286
|
});
|
|
26877
27287
|
result = input.once === true ? await send() : await retryWhileInUse(send, input.stop);
|
|
@@ -27003,6 +27413,7 @@ async function deleteReplacedAfterCreate(run, deps, logicalId, oldResourceType,
|
|
|
27003
27413
|
recordedAttributes: currentResource.attributes,
|
|
27004
27414
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
27005
27415
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
27416
|
+
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
27006
27417
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
27007
27418
|
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
27008
27419
|
maskSecrets: createUnionSecretMasker([secrets, secretNameBagFor(deps.secretsRun(), logicalId)])
|
|
@@ -27087,7 +27498,10 @@ async function createFirstThenDeleteOld(run, deps, input) {
|
|
|
27087
27498
|
stackName: input.stackName,
|
|
27088
27499
|
createdVia: input.createdVia,
|
|
27089
27500
|
resolvedProps: input.resolvedProps
|
|
27090
|
-
}, () => deps.withRetry(() => withCurrentResourceSecrets(secrets, () => input.createProvider.create(logicalId, resourceType, input.createProps, {
|
|
27501
|
+
}, () => deps.withRetry(() => withCurrentResourceSecrets(secrets, () => input.createProvider.create(logicalId, resourceType, input.createProps, {
|
|
27502
|
+
maskSecrets: createSecretMasker(secrets),
|
|
27503
|
+
...input.typedPayloadLeaves !== void 0 && { typedPayloadLeaves: input.typedPayloadLeaves }
|
|
27504
|
+
})), logicalId, void 0, void 0, input.createProvider));
|
|
27091
27505
|
} catch (createError) {
|
|
27092
27506
|
if (!isNameCollisionErrorFrom(createError, logicalId)) throw createError;
|
|
27093
27507
|
const createFailure = describeAwsFailure(createError);
|
|
@@ -28561,6 +28975,7 @@ async function runMovedIdCleanups(queue, scope) {
|
|
|
28561
28975
|
recordedAttributes: sent.attributes,
|
|
28562
28976
|
recordedCreateOnlyDrops: sent.acceptedCreateOnlyDrops,
|
|
28563
28977
|
recordedNoEchoLeaves: sent.noEchoLeaves,
|
|
28978
|
+
recordedTypedPayloadLeaves: sent.typedPayloadLeaves,
|
|
28564
28979
|
maskSecrets: mask
|
|
28565
28980
|
}));
|
|
28566
28981
|
throwIfDeleteSkipped(outcome, logicalId, sent.physicalId, "while deleting the physical id the rollback moved off", {
|
|
@@ -29940,6 +30355,7 @@ async function replayDelete(s) {
|
|
|
29940
30355
|
recordedAttributes: stateResources[op.logicalId]?.attributes,
|
|
29941
30356
|
recordedCreateOnlyDrops: stateResources[op.logicalId]?.acceptedCreateOnlyDrops,
|
|
29942
30357
|
recordedNoEchoLeaves: stateResources[op.logicalId]?.noEchoLeaves,
|
|
30358
|
+
recordedTypedPayloadLeaves: stateResources[op.logicalId]?.typedPayloadLeaves,
|
|
29943
30359
|
maskSecrets: mask
|
|
29944
30360
|
}));
|
|
29945
30361
|
const createRollbackDelete = removeProtection ? await runDeleteAttempt(true, deleteCreated) : await deleteCreated();
|
|
@@ -30802,6 +31218,7 @@ async function replayReadopt(s, survivor) {
|
|
|
30802
31218
|
recordedAttributes: current.attributes,
|
|
30803
31219
|
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
30804
31220
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
31221
|
+
recordedTypedPayloadLeaves: current.typedPayloadLeaves,
|
|
30805
31222
|
maskSecrets: mask
|
|
30806
31223
|
}));
|
|
30807
31224
|
throwIfDeleteSkipped(readoptDelete, op.logicalId, current.physicalId, `while reversing its replacement (re-adopting the ${oldKind} old resource)`, {
|
|
@@ -30910,7 +31327,9 @@ async function replayRevert(s) {
|
|
|
30910
31327
|
recordedAttributes: current.attributes,
|
|
30911
31328
|
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
30912
31329
|
...revertClaimed && { inlinePolicyClaimed: revertClaimed },
|
|
30913
|
-
...unsettledContextOf(current, previousState)
|
|
31330
|
+
...unsettledContextOf(current, previousState),
|
|
31331
|
+
typedPayloadLeaves: previousState.typedPayloadLeaves,
|
|
31332
|
+
previousTypedPayloadLeaves: current.typedPayloadLeaves
|
|
30914
31333
|
}
|
|
30915
31334
|
], op.logicalId, logger, isInterrupted, secrets, mask));
|
|
30916
31335
|
if (revertResult) recordNoEchoAttributeValues(revertResult, secrets, desiredProps);
|
|
@@ -31013,6 +31432,7 @@ async function recreateOldResource(s, r) {
|
|
|
31013
31432
|
recordedAttributes: current.attributes,
|
|
31014
31433
|
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
31015
31434
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
31435
|
+
recordedTypedPayloadLeaves: current.typedPayloadLeaves,
|
|
31016
31436
|
maskSecrets: mask
|
|
31017
31437
|
}));
|
|
31018
31438
|
throwIfDeleteSkipped(deleteNewFirst, op.logicalId, current.physicalId, purpose, newDeleteGuardScope(deleteNewFirstRoute.provisionedBy));
|
|
@@ -31025,7 +31445,7 @@ async function recreateOldResource(s, r) {
|
|
|
31025
31445
|
};
|
|
31026
31446
|
const recreateAfterNewDeleted = async () => {
|
|
31027
31447
|
try {
|
|
31028
|
-
return await createWithRollbackRetry(createProvider, () => inOriginalPrefix(() => withCurrentResourceSecrets(secrets, () => createProvider.create(op.logicalId, oldType, replayCreateProps(), replayingStateCreateContext(secrets)))), op.logicalId, logger, isInterrupted, mask, {
|
|
31448
|
+
return await createWithRollbackRetry(createProvider, () => inOriginalPrefix(() => withCurrentResourceSecrets(secrets, () => createProvider.create(op.logicalId, oldType, replayCreateProps(), replayingStateCreateContext(secrets, prev.typedPayloadLeaves)))), op.logicalId, logger, isInterrupted, mask, {
|
|
31029
31449
|
isRetryable: isRecreateRetryableError,
|
|
31030
31450
|
interruptedMessage: "Rollback interrupted while waiting for the new resource to release its name or slot"
|
|
31031
31451
|
});
|
|
@@ -31044,7 +31464,7 @@ async function recreateOldResource(s, r) {
|
|
|
31044
31464
|
deletedNewFirst = true;
|
|
31045
31465
|
createResult = await recreateAfterNewDeleted();
|
|
31046
31466
|
} else try {
|
|
31047
|
-
createResult = await createWithRollbackRetry(createProvider, () => inOriginalPrefix(() => withCurrentResourceSecrets(secrets, () => createProvider.create(op.logicalId, oldType, replayCreateProps(), replayingStateCreateContext(secrets)))), op.logicalId, logger, isInterrupted, mask, {
|
|
31467
|
+
createResult = await createWithRollbackRetry(createProvider, () => inOriginalPrefix(() => withCurrentResourceSecrets(secrets, () => createProvider.create(op.logicalId, oldType, replayCreateProps(), replayingStateCreateContext(secrets, prev.typedPayloadLeaves)))), op.logicalId, logger, isInterrupted, mask, {
|
|
31048
31468
|
isRetryable: isNameCooldownError,
|
|
31049
31469
|
interruptedMessage: "Rollback interrupted while waiting out the name cooldown"
|
|
31050
31470
|
});
|
|
@@ -31171,6 +31591,7 @@ async function finishReverseReplacement(s, r, createResult, deletedNewFirst) {
|
|
|
31171
31591
|
recordedAttributes: current.attributes,
|
|
31172
31592
|
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
31173
31593
|
recordedNoEchoLeaves: current.noEchoLeaves,
|
|
31594
|
+
recordedTypedPayloadLeaves: current.typedPayloadLeaves,
|
|
31174
31595
|
maskSecrets: mask
|
|
31175
31596
|
}));
|
|
31176
31597
|
throwIfDeleteSkipped(deleteNewAfterRecreate, op.logicalId, current.physicalId, "while deleting the new resource after re-creating the old one", newDeleteGuardScope(deleteNewAfterRecreateRoute.provisionedBy));
|
|
@@ -31848,6 +32269,7 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
31848
32269
|
recordedAttributes: failedCreateRecord?.attributes,
|
|
31849
32270
|
recordedCreateOnlyDrops: failedCreateRecord?.acceptedCreateOnlyDrops,
|
|
31850
32271
|
recordedNoEchoLeaves: nonEmptyOrUndefined([...maskedLeafCoordinatesOf(op.attemptedProperties ?? {}), ...failedCreateRecord?.noEchoLeaves ?? []]),
|
|
32272
|
+
recordedTypedPayloadLeaves: failedCreateRecord?.typedPayloadLeaves,
|
|
31851
32273
|
...op.physicalIdRecoveredFromError === true && {
|
|
31852
32274
|
failedCreateOrphan: true,
|
|
31853
32275
|
resolveAttemptedProperties: () => resolveReplayProps(op.attemptedProperties, resolver, secrets, ctx, op.logicalId),
|
|
@@ -31965,7 +32387,8 @@ async function replayFailedOperationsUnbound(failedOps, stateResources, stackNam
|
|
|
31965
32387
|
recordedAttributes: current.attributes,
|
|
31966
32388
|
recordedCreateOnlyDrops: current.acceptedCreateOnlyDrops,
|
|
31967
32389
|
...revertFailedClaimed && { inlinePolicyClaimed: revertFailedClaimed },
|
|
31968
|
-
...revertUnsettled
|
|
32390
|
+
...revertUnsettled,
|
|
32391
|
+
typedPayloadLeaves: prev.typedPayloadLeaves
|
|
31969
32392
|
}
|
|
31970
32393
|
], op.logicalId, logger, options.isInterrupted, secrets, mask));
|
|
31971
32394
|
if (revertFailedResult) recordNoEchoAttributeValues(revertFailedResult, secrets, desiredProps);
|
|
@@ -32231,6 +32654,38 @@ var ObservedCapture = class {
|
|
|
32231
32654
|
this.observedCaptureTasks.set(logicalId, task);
|
|
32232
32655
|
}
|
|
32233
32656
|
};
|
|
32657
|
+
function pruneMembersSiblingsStoppedWriting(previous, next, replacementRun, template) {
|
|
32658
|
+
const oldMaySurvive = (logicalId) => replacementRun !== void 0 && (replacementRun.retainedOldOnReplacement.has(logicalId) || replacementRun.replacedOldMaySurvive.has(logicalId));
|
|
32659
|
+
let changed = 0;
|
|
32660
|
+
const templatePolicies = (logicalId) => {
|
|
32661
|
+
const def = template?.Resources?.[logicalId];
|
|
32662
|
+
return def === void 0 ? void 0 : {
|
|
32663
|
+
deletionPolicy: def.DeletionPolicy,
|
|
32664
|
+
updateReplacePolicy: def.UpdateReplacePolicy
|
|
32665
|
+
};
|
|
32666
|
+
};
|
|
32667
|
+
for (const [logicalId, stopped] of membersSiblingsStoppedWriting(previous, next, oldMaySurvive, templatePolicies)) {
|
|
32668
|
+
const record = next[logicalId];
|
|
32669
|
+
const observed = record?.observedProperties;
|
|
32670
|
+
if (record === void 0 || observed === void 0) continue;
|
|
32671
|
+
const pruned = withoutStoppedSiblingMembers(observed, stopped, record.properties);
|
|
32672
|
+
if (pruned === observed) continue;
|
|
32673
|
+
next[logicalId] = {
|
|
32674
|
+
...record,
|
|
32675
|
+
observedProperties: carryRedactionMarks(observed, pruned)
|
|
32676
|
+
};
|
|
32677
|
+
changed++;
|
|
32678
|
+
}
|
|
32679
|
+
return changed;
|
|
32680
|
+
}
|
|
32681
|
+
function pruneStoppedSiblingMembersBestEffort(logger, ...args) {
|
|
32682
|
+
try {
|
|
32683
|
+
pruneMembersSiblingsStoppedWriting(...args);
|
|
32684
|
+
} catch (err) {
|
|
32685
|
+
const cause = err instanceof Error ? err.name : typeof err;
|
|
32686
|
+
logger.debug(safeMsg`Sibling-written IAM members were not pruned from the observed baselines (${cause}); they stay until 'cdkd state refresh-observed'.`);
|
|
32687
|
+
}
|
|
32688
|
+
}
|
|
32234
32689
|
const STANDALONE_SIBLING = {
|
|
32235
32690
|
Roles: {
|
|
32236
32691
|
type: "AWS::IAM::RolePolicy",
|
|
@@ -32247,7 +32702,7 @@ const STANDALONE_SIBLING = {
|
|
|
32247
32702
|
};
|
|
32248
32703
|
async function buildObservedCaptureSiblings(deps, resourceType, capturedLogicalId, capturedPhysicalId, template, stateResources, stackName, parameterValues, conditions) {
|
|
32249
32704
|
if (deps.options.captureObservedState !== true) return void 0;
|
|
32250
|
-
const attachmentField = resourceType
|
|
32705
|
+
const attachmentField = managedPolicyAttachmentField(resourceType);
|
|
32251
32706
|
if (!attachmentField) return void 0;
|
|
32252
32707
|
const resources = template?.Resources;
|
|
32253
32708
|
if (!resources) return void 0;
|
|
@@ -32257,8 +32712,18 @@ async function buildObservedCaptureSiblings(deps, resourceType, capturedLogicalI
|
|
|
32257
32712
|
const standaloneType = STANDALONE_SIBLING[attachmentField];
|
|
32258
32713
|
for (const [lid, res] of Object.entries(resources)) {
|
|
32259
32714
|
if (lid === capturedLogicalId) continue;
|
|
32260
|
-
if (res.Type !== "AWS::IAM::Policy" && res.Type !== standaloneType.type) continue;
|
|
32261
32715
|
const props = res.Properties ?? {};
|
|
32716
|
+
if (res.Type === "AWS::IAM::ManagedPolicy") {
|
|
32717
|
+
const attachments = props[attachmentField];
|
|
32718
|
+
const arn = stateResources[lid]?.physicalId;
|
|
32719
|
+
if (Array.isArray(attachments) && typeof arn === "string" && arn !== "" && attachments.some((a) => isRefTo(a, capturedLogicalId) || a === capturedPhysicalId)) siblings[lid] = {
|
|
32720
|
+
resourceType: "AWS::IAM::ManagedPolicy",
|
|
32721
|
+
physicalId: arn,
|
|
32722
|
+
properties: { [attachmentField]: [capturedPhysicalId] }
|
|
32723
|
+
};
|
|
32724
|
+
continue;
|
|
32725
|
+
}
|
|
32726
|
+
if (res.Type !== "AWS::IAM::Policy" && res.Type !== standaloneType.type) continue;
|
|
32262
32727
|
const attachments = res.Type === "AWS::IAM::Policy" ? props[attachmentField] : [props[standaloneType.field]];
|
|
32263
32728
|
if (!Array.isArray(attachments)) continue;
|
|
32264
32729
|
if (!attachments.some((a) => isRefTo(a, capturedLogicalId) || a === capturedPhysicalId)) continue;
|
|
@@ -32285,6 +32750,19 @@ async function buildObservedCaptureSiblings(deps, resourceType, capturedLogicalI
|
|
|
32285
32750
|
}
|
|
32286
32751
|
};
|
|
32287
32752
|
}
|
|
32753
|
+
for (const [lid, rec] of Object.entries(stateResources)) {
|
|
32754
|
+
if (lid === capturedLogicalId || siblings[lid] !== void 0) continue;
|
|
32755
|
+
if (rec?.resourceType !== "AWS::IAM::ManagedPolicy") continue;
|
|
32756
|
+
const recorded = rec.properties?.[attachmentField];
|
|
32757
|
+
const arn = rec.physicalId;
|
|
32758
|
+
if (typeof arn !== "string" || arn === "" || !Array.isArray(recorded)) continue;
|
|
32759
|
+
if (!recorded.some((a) => a === capturedPhysicalId)) continue;
|
|
32760
|
+
siblings[lid] = {
|
|
32761
|
+
resourceType: "AWS::IAM::ManagedPolicy",
|
|
32762
|
+
physicalId: arn,
|
|
32763
|
+
properties: { [attachmentField]: [capturedPhysicalId] }
|
|
32764
|
+
};
|
|
32765
|
+
}
|
|
32288
32766
|
return Object.keys(siblings).length > 0 ? { siblings } : void 0;
|
|
32289
32767
|
}
|
|
32290
32768
|
function stampReasonlessParameterRefusals(logger, stateResources, template) {
|
|
@@ -36192,6 +36670,18 @@ var GeneratedNameGuard = class GeneratedNameGuard {
|
|
|
36192
36670
|
}
|
|
36193
36671
|
};
|
|
36194
36672
|
|
|
36673
|
+
// src/deployment/deploy-engine/custom-resource-payload-leaves.ts
|
|
36674
|
+
function customResourcePayloadLeaves(resourceType, templateProperties, resolvedProperties, template, conditions, stateResources) {
|
|
36675
|
+
if (!isCustomResourceType(resourceType) || templateProperties === void 0) return void 0;
|
|
36676
|
+
return typedPayloadLeavesOf(templateProperties, resolvedProperties, {
|
|
36677
|
+
conditions,
|
|
36678
|
+
resourceTypeOf: (id) => template?.Resources?.[id]?.Type ?? (Object.hasOwn(stateResources, id) ? stateResources[id]?.resourceType : void 0)
|
|
36679
|
+
}).map((coordinate) => [...coordinate]);
|
|
36680
|
+
}
|
|
36681
|
+
function customResourcePayloadLeavesField(leaves) {
|
|
36682
|
+
return leaves === void 0 ? {} : { typedPayloadLeaves: leaves };
|
|
36683
|
+
}
|
|
36684
|
+
|
|
36195
36685
|
// src/utils/resource-line.ts
|
|
36196
36686
|
function formatResourceLine(op, logicalId, resourceType, verbOverride) {
|
|
36197
36687
|
const body = `${bold(displaySafe(logicalId))} ${gray(`(${displaySafe(resourceType)})`)}`;
|
|
@@ -36503,6 +36993,7 @@ async function provisionCreate(engine, logicalId, change, stateResources, stackN
|
|
|
36503
36993
|
});
|
|
36504
36994
|
const createProvider = createDecision.provider;
|
|
36505
36995
|
const createProps = createDecision.provisionedBy === "cc-api" ? preparePropertiesForCcApi(engine.providerRegistry, resourceType, resolvedProps, logicalId) : resolvedProps;
|
|
36996
|
+
const typedPayloadLeaves = customResourcePayloadLeaves(resourceType, desiredProps, resolvedProps, template, conditions, stateResources);
|
|
36506
36997
|
const resumed = await resumeAbandonedCreate(engine, {
|
|
36507
36998
|
logicalId,
|
|
36508
36999
|
resourceType,
|
|
@@ -36537,7 +37028,10 @@ async function provisionCreate(engine, logicalId, change, stateResources, stackN
|
|
|
36537
37028
|
});
|
|
36538
37029
|
engine.generatedNameGuard?.noteSent(logicalId);
|
|
36539
37030
|
try {
|
|
36540
|
-
result = await engine.withRetry(() => withCurrentResourceSecrets(createSecrets, () => createProvider.create(logicalId, resourceType, createProps, {
|
|
37031
|
+
result = await engine.withRetry(() => withCurrentResourceSecrets(createSecrets, () => createProvider.create(logicalId, resourceType, createProps, {
|
|
37032
|
+
maskSecrets: createSecretMasker(createSecrets),
|
|
37033
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves }
|
|
37034
|
+
})), logicalId, void 0, void 0, createProvider);
|
|
36541
37035
|
} catch (error) {
|
|
36542
37036
|
engine.generatedNameGuard?.noteFailed(logicalId, error);
|
|
36543
37037
|
throw error;
|
|
@@ -36558,7 +37052,8 @@ async function provisionCreate(engine, logicalId, change, stateResources, stackN
|
|
|
36558
37052
|
...secretNamedAttributesField(result),
|
|
36559
37053
|
...dependencies && dependencies.length > 0 && { dependencies },
|
|
36560
37054
|
...templateAttrs,
|
|
36561
|
-
provisionedBy: createDecision.provisionedBy
|
|
37055
|
+
provisionedBy: createDecision.provisionedBy,
|
|
37056
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves }
|
|
36562
37057
|
};
|
|
36563
37058
|
clearCreatedReport();
|
|
36564
37059
|
engine.recordInlinePolicyWrite(logicalId, "create");
|
|
@@ -37163,6 +37658,7 @@ Drop the record with: ${dropCommand}`);
|
|
|
37163
37658
|
recordedAttributes: currentResource.attributes,
|
|
37164
37659
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
37165
37660
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
37661
|
+
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
37166
37662
|
maskSecrets: createUnionSecretMasker([secretNameBagFor(deps.secretsRun(), logicalId)])
|
|
37167
37663
|
}), logicalId, 3, 5e3, deleteProvider);
|
|
37168
37664
|
} catch (deleteError) {
|
|
@@ -45102,7 +45598,7 @@ function refuseUnsafeReplacement(engine, { change, currentProps, currentResource
|
|
|
45102
45598
|
}
|
|
45103
45599
|
|
|
45104
45600
|
// src/deployment/deploy-engine/update-replace/recreate.ts
|
|
45105
|
-
async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSameResource, logicalId, noEchoDeleteValues, oldDeleteProvider, oldDeleteRoute, oldResourceType, replaceDecision, replaceProps, replaceProvider, resolvedProps, resourceType, stackName, updateReplacePolicy, updateSecrets, recreateViaCcApi }) {
|
|
45601
|
+
async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSameResource, logicalId, noEchoDeleteValues, oldDeleteProvider, oldDeleteRoute, oldResourceType, replaceDecision, replaceProps, replaceProvider, resolvedProps, resourceType, stackName, updateReplacePolicy, updateSecrets, recreateViaCcApi, typedPayloadLeaves }) {
|
|
45106
45602
|
let createResult;
|
|
45107
45603
|
refuseRestoreFromItself(resourceType, replaceProps, currentResource.physicalId, logicalId, {
|
|
45108
45604
|
region: engine.stackRegion,
|
|
@@ -45137,6 +45633,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
|
|
|
45137
45633
|
recordedAttributes: currentResource.attributes,
|
|
45138
45634
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
45139
45635
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
45636
|
+
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
45140
45637
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
45141
45638
|
maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
|
|
45142
45639
|
}));
|
|
@@ -45169,7 +45666,10 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
|
|
|
45169
45666
|
stackName,
|
|
45170
45667
|
createdVia: replaceDecision.provisionedBy,
|
|
45171
45668
|
resolvedProps
|
|
45172
|
-
}, () => withRetry(() => engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => replaceProvider.create(logicalId, resourceType, replaceProps, {
|
|
45669
|
+
}, () => withRetry(() => engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => replaceProvider.create(logicalId, resourceType, replaceProps, {
|
|
45670
|
+
maskSecrets: createSecretMasker(updateSecrets),
|
|
45671
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves }
|
|
45672
|
+
})), logicalId, void 0, void 0, replaceProvider, true), logicalId, {
|
|
45173
45673
|
maxRetries: 8,
|
|
45174
45674
|
initialDelayMs: 2e3,
|
|
45175
45675
|
maxDelayMs: 1e4,
|
|
@@ -45183,7 +45683,7 @@ async function recreateDestroyThenCreate(engine, { currentResource, equalIdIsSam
|
|
|
45183
45683
|
}
|
|
45184
45684
|
|
|
45185
45685
|
// src/deployment/deploy-engine/update-replace/create-first.ts
|
|
45186
|
-
async function replaceCreateFirst(engine, { currentResource, equalIdIsSameResource, logicalId, noEchoDeleteValues, oldDeleteProvider, oldDeleteRoute, oldResourceType, replaceDecision, replaceProps, replaceProvider, resolvedProps, resourceType, stackName, updateReplacePolicy, updateSecrets, lostWithParent, nameChange }) {
|
|
45686
|
+
async function replaceCreateFirst(engine, { currentResource, equalIdIsSameResource, logicalId, noEchoDeleteValues, oldDeleteProvider, oldDeleteRoute, oldResourceType, replaceDecision, replaceProps, replaceProvider, resolvedProps, resourceType, stackName, updateReplacePolicy, updateSecrets, typedPayloadLeaves, lostWithParent, nameChange }) {
|
|
45187
45687
|
let createResult;
|
|
45188
45688
|
engine.logger.info(safeMsg` Creating new ${logicalId}...`);
|
|
45189
45689
|
let deletedOldFirst = lostWithParent !== void 0;
|
|
@@ -45199,7 +45699,10 @@ async function replaceCreateFirst(engine, { currentResource, equalIdIsSameResour
|
|
|
45199
45699
|
createdVia: replaceDecision.provisionedBy,
|
|
45200
45700
|
resolvedProps,
|
|
45201
45701
|
keepsName: lostWithParent !== void 0
|
|
45202
|
-
}, () => engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => replaceProvider.create(logicalId, resourceType, replaceProps, {
|
|
45702
|
+
}, () => engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => replaceProvider.create(logicalId, resourceType, replaceProps, {
|
|
45703
|
+
maskSecrets: createSecretMasker(updateSecrets),
|
|
45704
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves }
|
|
45705
|
+
})), logicalId, void 0, void 0, replaceProvider, lostWithParent !== void 0));
|
|
45203
45706
|
} catch (createError) {
|
|
45204
45707
|
const createFailure = describeAwsFailure(createError);
|
|
45205
45708
|
const createAwsMsg = displayAwsMessage(maskSecretsInText(createFailure.detail, updateSecrets));
|
|
@@ -45314,6 +45817,7 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
45314
45817
|
});
|
|
45315
45818
|
const replaceProvider = replaceDecision.provider;
|
|
45316
45819
|
const replaceProps = replaceDecision.provisionedBy === "cc-api" ? preparePropertiesForCcApi(engine.providerRegistry, resourceType, resolvedProps, logicalId) : resolvedProps;
|
|
45820
|
+
const typedPayloadLeaves = customResourcePayloadLeaves(resourceType, template?.Resources?.[logicalId]?.Properties, resolvedProps, template, engine.noEchoRun.noEchoConditions, stateResources);
|
|
45317
45821
|
const oldDeleteRoute = engine.providerRegistry.getProviderFor({
|
|
45318
45822
|
resourceType: oldResourceType,
|
|
45319
45823
|
provisionedBy: currentResource.provisionedBy
|
|
@@ -45363,6 +45867,7 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
45363
45867
|
deleteProvisionedBy: oldDeleteRoute.provisionedBy,
|
|
45364
45868
|
deleteProperties: currentResource.properties,
|
|
45365
45869
|
secrets: updateSecrets,
|
|
45870
|
+
typedPayloadLeaves,
|
|
45366
45871
|
change: nameChange,
|
|
45367
45872
|
equalIdIsSameResource,
|
|
45368
45873
|
snapshotPolicy: updateReplacePolicy,
|
|
@@ -45386,7 +45891,8 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
45386
45891
|
stackName,
|
|
45387
45892
|
updateReplacePolicy,
|
|
45388
45893
|
updateSecrets,
|
|
45389
|
-
recreateViaCcApi
|
|
45894
|
+
recreateViaCcApi,
|
|
45895
|
+
typedPayloadLeaves
|
|
45390
45896
|
});
|
|
45391
45897
|
else createResult = await replaceCreateFirst(engine, {
|
|
45392
45898
|
currentResource,
|
|
@@ -45405,6 +45911,7 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
45405
45911
|
updateReplacePolicy,
|
|
45406
45912
|
updateSecrets,
|
|
45407
45913
|
lostWithParent,
|
|
45914
|
+
typedPayloadLeaves,
|
|
45408
45915
|
nameChange
|
|
45409
45916
|
});
|
|
45410
45917
|
registerNoEchoAttributes(engine.secretsRun, engine.maskingDeps(), logicalId, createResult, updateSecrets, resolvedProps);
|
|
@@ -45420,7 +45927,8 @@ async function updateByReplacement(engine, { change, counts, currentProps, curre
|
|
|
45420
45927
|
...secretNamedAttributesField(createResult),
|
|
45421
45928
|
...dependencies && dependencies.length > 0 && { dependencies },
|
|
45422
45929
|
...extractTemplateAttributes(template, logicalId),
|
|
45423
|
-
provisionedBy: replaceDecision.provisionedBy
|
|
45930
|
+
provisionedBy: replaceDecision.provisionedBy,
|
|
45931
|
+
...customResourcePayloadLeavesField(typedPayloadLeaves)
|
|
45424
45932
|
};
|
|
45425
45933
|
clearCreatedReport();
|
|
45426
45934
|
engine.recordInlinePolicyWrite(logicalId, "create");
|
|
@@ -45454,6 +45962,36 @@ function ccAutoRouteUpdateFailureRemedy(logicalId, resourceType, autoRoutedPrope
|
|
|
45454
45962
|
return `\nThis update moved the resource from its SDK provider to Cloud Control API, because the SDK provider does not handle ${shown}. Cloud Control addresses it by the physical id the SDK provider recorded, and for some types that is not an identifier Cloud Control accepts. ` + (nestedChild ? `It is in a nested stack, which --recreate-via-cc-api cannot address: ${preferSdk}, or remove ${them} from the template.` : `Two ways through: re-create the resource on Cloud Control with --recreate-via-cc-api ${id} (destroys and re-creates it), or ${preferSdk}.`);
|
|
45455
45963
|
}
|
|
45456
45964
|
|
|
45965
|
+
// src/deployment/deploy-engine/update-in-place/unsettled-marks.ts
|
|
45966
|
+
function unsettledMarkSinks(engine, logicalId, resolvedProps, currentResource) {
|
|
45967
|
+
return {
|
|
45968
|
+
markUnsettled: (propertyName) => {
|
|
45969
|
+
if (typeof propertyName !== "string" || propertyName === "") return;
|
|
45970
|
+
if (!Object.hasOwn(resolvedProps, propertyName) && !Object.hasOwn(currentResource.properties ?? {}, propertyName)) {
|
|
45971
|
+
engine.logger.debug(safeMsg`${logicalId}: ignored an unsettled mark for ${propertyName}, which is not one of its properties`);
|
|
45972
|
+
return;
|
|
45973
|
+
}
|
|
45974
|
+
let marks = engine.unsettledMarks.get(logicalId);
|
|
45975
|
+
if (marks === void 0) {
|
|
45976
|
+
marks = /* @__PURE__ */ new Set();
|
|
45977
|
+
engine.unsettledMarks.set(logicalId, marks);
|
|
45978
|
+
}
|
|
45979
|
+
marks.add(propertyName);
|
|
45980
|
+
},
|
|
45981
|
+
markAttempted: (path, items) => {
|
|
45982
|
+
if (typeof path !== "string" || path === "") return;
|
|
45983
|
+
let byPath = engine.unsettledItemMarks.get(logicalId);
|
|
45984
|
+
if (byPath === void 0) {
|
|
45985
|
+
byPath = /* @__PURE__ */ new Map();
|
|
45986
|
+
engine.unsettledItemMarks.set(logicalId, byPath);
|
|
45987
|
+
}
|
|
45988
|
+
const names = byPath.get(path) ?? /* @__PURE__ */ new Set();
|
|
45989
|
+
for (const item of items) if (typeof item === "string" && item !== "") names.add(item);
|
|
45990
|
+
byPath.set(path, names);
|
|
45991
|
+
}
|
|
45992
|
+
};
|
|
45993
|
+
}
|
|
45994
|
+
|
|
45457
45995
|
// src/deployment/deploy-engine/replacement/cleanup-old-id.ts
|
|
45458
45996
|
async function deleteOldIdAfterDeploy(run, deps, input) {
|
|
45459
45997
|
const { logicalId, oldResource } = input;
|
|
@@ -45579,6 +46117,7 @@ async function replaceFallbackFor(engine, { currentProps, currentResource, logic
|
|
|
45579
46117
|
recordedAttributes: currentResource.attributes,
|
|
45580
46118
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
45581
46119
|
recordedNoEchoLeaves: currentResource.noEchoLeaves,
|
|
46120
|
+
recordedTypedPayloadLeaves: currentResource.typedPayloadLeaves,
|
|
45582
46121
|
...noEchoDeleteValues !== void 0 && { noEchoDeleteValues },
|
|
45583
46122
|
maskSecrets: createUnionSecretMasker([updateSecrets, secretNameBagFor(engine.secretsRun, logicalId)])
|
|
45584
46123
|
}));
|
|
@@ -45781,6 +46320,7 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
45781
46320
|
let captureProvider = updateProvider;
|
|
45782
46321
|
let replacedAtGeneration;
|
|
45783
46322
|
const inlinePolicyClaimed = engine.inlinePolicyClaimedFor(resourceType, logicalId, stateResources);
|
|
46323
|
+
const typedPayloadLeaves = customResourcePayloadLeaves(resourceType, template?.Resources?.[logicalId]?.Properties, resolvedProps, template, conditions, stateResources);
|
|
45784
46324
|
try {
|
|
45785
46325
|
result = await engine.withRetry(() => withCurrentResourceSecrets(updateSecrets, () => updateProvider.update(logicalId, currentResource.physicalId, resourceType, removal.properties, previousSettled, {
|
|
45786
46326
|
maskSecrets: createSecretMasker(updateSecrets),
|
|
@@ -45788,33 +46328,14 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
45788
46328
|
recordedAttributes: currentResource.attributes,
|
|
45789
46329
|
recordedCreateOnlyDrops: currentResource.acceptedCreateOnlyDrops,
|
|
45790
46330
|
...inlinePolicyClaimed && { inlinePolicyClaimed },
|
|
46331
|
+
...typedPayloadLeaves !== void 0 && {
|
|
46332
|
+
typedPayloadLeaves,
|
|
46333
|
+
previousTypedPayloadLeaves: recordedTypedPayloadLeavesOf(currentResource)
|
|
46334
|
+
},
|
|
45791
46335
|
...removal.context,
|
|
45792
46336
|
changedProperties: changedForProvider,
|
|
45793
46337
|
...noEchoUpdateContext(engine, logicalId, noEchoOnlyForProvider, changedForProvider),
|
|
45794
|
-
|
|
45795
|
-
if (typeof propertyName !== "string" || propertyName === "") return;
|
|
45796
|
-
if (!Object.hasOwn(resolvedProps, propertyName) && !Object.hasOwn(currentResource.properties ?? {}, propertyName)) {
|
|
45797
|
-
engine.logger.debug(safeMsg`${logicalId}: ignored an unsettled mark for ${propertyName}, which is not one of its properties`);
|
|
45798
|
-
return;
|
|
45799
|
-
}
|
|
45800
|
-
let marks = engine.unsettledMarks.get(logicalId);
|
|
45801
|
-
if (marks === void 0) {
|
|
45802
|
-
marks = /* @__PURE__ */ new Set();
|
|
45803
|
-
engine.unsettledMarks.set(logicalId, marks);
|
|
45804
|
-
}
|
|
45805
|
-
marks.add(propertyName);
|
|
45806
|
-
},
|
|
45807
|
-
markAttempted: (path, items) => {
|
|
45808
|
-
if (typeof path !== "string" || path === "") return;
|
|
45809
|
-
let byPath = engine.unsettledItemMarks.get(logicalId);
|
|
45810
|
-
if (byPath === void 0) {
|
|
45811
|
-
byPath = /* @__PURE__ */ new Map();
|
|
45812
|
-
engine.unsettledItemMarks.set(logicalId, byPath);
|
|
45813
|
-
}
|
|
45814
|
-
const names = byPath.get(path) ?? /* @__PURE__ */ new Set();
|
|
45815
|
-
for (const item of items) if (typeof item === "string" && item !== "") names.add(item);
|
|
45816
|
-
byPath.set(path, names);
|
|
45817
|
-
},
|
|
46338
|
+
...unsettledMarkSinks(engine, logicalId, resolvedProps, currentResource),
|
|
45818
46339
|
...unsettled.size > 0 && { unsettledProperties: unsettled },
|
|
45819
46340
|
...unsettledItems.size > 0 && { unsettledItems }
|
|
45820
46341
|
})), logicalId, void 0, void 0, updateProvider);
|
|
@@ -45940,6 +46461,7 @@ async function updateInPlace(engine, { changedProperties, noEchoOnlyChangedPrope
|
|
|
45940
46461
|
...dependencies && dependencies.length > 0 && { dependencies },
|
|
45941
46462
|
...extractTemplateAttributes(template, logicalId),
|
|
45942
46463
|
provisionedBy: resultProvisionedBy,
|
|
46464
|
+
...typedPayloadLeaves !== void 0 && { typedPayloadLeaves },
|
|
45943
46465
|
...stillUnsettled.length > 0 && {
|
|
45944
46466
|
unsettledProperties: stillUnsettled,
|
|
45945
46467
|
...unsettledItemsField(currentResource, stillUnsettled)
|
|
@@ -47327,6 +47849,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
47327
47849
|
warnUnretriedReplacedDeletes(engine.replacementRun, engine.replacementDeps(), engine.interruptCause === "user" ? "interrupted" : "failed");
|
|
47328
47850
|
const initialDeploy = currentEtag === void 0;
|
|
47329
47851
|
await settleFailedDeployRecords(run);
|
|
47852
|
+
pruneStoppedSiblingMembersBestEffort(engine.logger, currentState.resources, newResources, engine.replacementRun, template);
|
|
47330
47853
|
try {
|
|
47331
47854
|
const preRollbackState = {
|
|
47332
47855
|
version: 17,
|
|
@@ -47362,6 +47885,7 @@ async function executeDeployment(engine, template, currentState, changes, dag, e
|
|
|
47362
47885
|
outputs = redactOutputs(engine.maskingDeps(), outputs);
|
|
47363
47886
|
rememberRecoverableMaskedOutputs(engine.maskingDeps(), stackName, resolvedOutputsBeforeRedaction, outputs);
|
|
47364
47887
|
} catch (outputError) {
|
|
47888
|
+
pruneStoppedSiblingMembersBestEffort(engine.logger, currentState.resources, newResources, engine.replacementRun, template);
|
|
47365
47889
|
await persistStateAfterOutputFailure(engine, stackName, currentState, newResources, currentEtag, pendingMigration);
|
|
47366
47890
|
await writeRollbackJournalSegment(engine.rollbackDeps(), stackName, completedOperations, failedOperations, "no-rollback-failure", currentEtag === void 0);
|
|
47367
47891
|
throw outputError;
|
|
@@ -49151,6 +49675,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
49151
49675
|
engine.stateBackend.warmConnections(stackName, engine.stackRegion, TAIL_WARM_CONNECTIONS);
|
|
49152
49676
|
} catch {}
|
|
49153
49677
|
await engine.observedCapture.drainObservedCaptures(newState.resources);
|
|
49678
|
+
pruneStoppedSiblingMembersBestEffort(engine.logger, currentState.resources, newState.resources, engine.replacementRun, effectiveTemplate);
|
|
49154
49679
|
clock.lap("observed-state drain");
|
|
49155
49680
|
if (marksNestedCheck && await forcedChildrenChecked({
|
|
49156
49681
|
forcedRows: nestedCheck?.forcedRows ?? /* @__PURE__ */ new Set(),
|
|
@@ -49444,5 +49969,5 @@ var DeployEngine = class {
|
|
|
49444
49969
|
}
|
|
49445
49970
|
};
|
|
49446
49971
|
|
|
49447
|
-
export { isTtlAlreadyDisabled as $, refuseUnreadableCdkCrossAccountRefs as $a, isAccessDenied$1 as $c, ccRoutedFinalSnapshotError as $i, resolveAssemblyPath as $l, replayFailedOperations as $n, isPlainReferenceTo as $o, secretBearing as $r, UNREADABLE_ORPHANS_CONTAINER_ROW as $s, lookupEachName as $t, refusePendingMovesOut as A, CloudControlProvider as Aa, displayLogicalId as Ac, green as Ai, resolveFileAssetSourcePath as Al, noEchoMacBinding as An, extractGetAttRefs as Ao, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ar, unreadableOrphanRecords as As, maskedLogger as At, readProtection as B, isWaitAbandonedError as Ba, NO_CC_HANDLERS_REASON as Bc, journaledOrphanPrintingBag as Bi, rememberSynthesizedStacks as Bl, rollbackOrphanIds as Bn, isImpossibleEmptyStoredAttribute as Bo, retiredAfterRollback as Br, refuseMalformedResourceEntriesForImport as Bs, readRefactorMarkerOnce as Bt, isAbsoluteAssetPath as C, customResourcesFailedWithoutApp as Ca, refuseMalformedState as Cc, supersededHeldByOtherTypeWarning as Ci, validateAssetBucketName as Cl, makeForeignHolderScan as Cn, AWS_NO_VALUE as Co, recordUnderIdIsNotOwn as Cr, malformedOrphanRowsKeptWarning as Cs, deleteBudgetKey as Ct, hasPendingMovesOut as D, setLocalCustomResourceRuntimeEnabled as Da, withheldAccountClause as Dc, bold as Di, getDockerImageBySourceHash as Dl, DeploymentEventsStore as Dn, lacksRecordedRefArn as Do, resolveReplacementOldType as Dr, refuseMalformedOrphansForOrphan as Ds, INDEX_SETTLE_POLL_INTERVAL_MS as Dt, templateIdentity as E, localCustomResourceRuntimeActive as Ea, accountArgs as Ec, withoutSuperseded as Ei, AssetManifestLoader as El, DeploymentEventsReader as En, refStateLookupFromResource as Eo, computeImplicitDeleteEdges as Er, refuseMalformedOrphanRecordsForDestroy as Es, DELETE_INDEX_WAIT_PROCEED_NOTE as Et, recordedProtectionEvidence as F, UNSPECIFIED_SKIP_REASON as Fa, findSdkUnwiredProperties as Fc, noEchoExactEchoLeavesOf as Fi, isListParameterType as Fl, findDestructiveChanges as Fn, recordedProvenanceOf as Fo, removeProtectionTypeList as Fr, malformedScrubResourceEntriesRefusalMessage as Fs, hasCdkAutoDeleteTag as Ft, declaredStreamTagsMember as G, stackIdTailOf as Ga, isKnownTokenFreeState as Gc, secretNamePrintingBags as Gi, nullPrototypeRecord as Gl, differingRemedy as Gn, withSharedDrainBudget as Go, inheritProducerRegions as Gr, malformedDriftResourcePropertiesWarning as Gs, updateRefactorMarker as Gt, STREAM_POLICY_KEY as H, isSelectOutOfBounds as Ha, TemplateParser as Hc, namingSecretsWithRecordedNoEcho as Hi, defineOwnKey as Hl, changedReferenceInDiff as Hn, isNamelessDynamicReferenceError as Ho, retiredNameGenerationsLeaving as Hr, refuseMalformedResourceEntriesForOrphan as Hs, refactorMarkerRefusalMessage as Ht, recordedProtectionNote as I, deleteIndeterminateGuards as Ia, unwrittenCreateOnlyReplacement as Ic, noEchoParameterNamesOf as Ii, ssmResolvedValueType as Il, formatDestructiveChange as In, recordedReferenceRegions as Io, orphanNeedsIdentity as Ir, refuseMalformedResourceAttributesForOrphan as Is, isTruthyCfnBoolean as It, streamDeclaresPolicy as J, maskedSecretSegment as Ja, rebuildClientForBucketRegion as Jc, stateSecretNameNeedles as Ji, assemblyPathEscape as Jl, mappingPairs as Jn, containsIntrinsic as Jo, reachableDivergentParameters as Jr, refuseMalformedResourcePropertiesForDestroy as Js, getPriorAttempts as Jt, planStreamMemberOps as K, isSettledInstanceState as Ka, hasReasonlessBaselineRefusal as Kc, secretNamedAttributeNamesOf as Ki, ownValue as Kl, isPairableType as Kn, namesRecreatedParent as Ko, computeParameterTaint as Kr, malformedResourcePropertiesWarning as Ks, macWriteOnlyKeys as Kt, PROTECTION_PROPERTY_BY_TYPE as L, deleteLeftInPlace as La, withoutAcceptedSdkUnwiredProperties as Lc, withAttemptedItemsMasked as Li, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ll, findRefactorHints as Ln, referenceProvenanceOf as Lo, nameGenerationCarriedFrom as Lr, refuseMalformedResourceEntries as Ls, keptForRetainedRecord as Lt, findServiceTokenRefusals as M, resolvedResourceTimeoutMs as Ma, hasReadableResources as Mc, yellow as Mi, warnWholeAssemblyAsSource as Ml, noEchoMacVerdict as Mn, keepHeldTokenProvenance as Mo, redactedDeleteAddressFields as Mr, malformedLocalResourceEntriesWarning as Ms, waitForIndexesSettled as Mt, serviceTokenBlockingReason as N, setResolvedResourceTimeouts as Na, findActionableSdkUnwired as Nc, noEchoAttributeNamesOf as Ni, missingStateBucketRemedy as Nl, noEchoValueMacsOf as Nn, outputReferenceProvenanceOf as No, redactedDeleteAddressSkip as Nr, malformedLocalResourcesWarning as Ns, ECR_AUTO_DELETE_IMAGES_TAG as Nt, pendingMovesOutOf as O, withCustomResourceStack as Oa, STATE_RESOURCES_MALFORMED as Oc, cyan as Oi, isCfnTemplateAssetPath as Ol, NOECHO_MAC_KEY_ALIAS as On, lacksRecordedTableArn as Oo, withPreviousPolicies as Or, repairMalformedOrphanRecordsForReadOnly as Os, TABLE_INDEX_NOUN as Ot, diffSecurity as P, RollbackInlinePolicyWriters as Pa, findHandledUnwrittenCreateOnly as Pc, noEchoComparisonForTemplate as Pi, SSM_PARAMETER_VALUE_PREFIX as Pl, constructPathOf as Pn, recordedOutputReferenceRegions as Po, segmentCleanupOptions as Pr, malformedResourceEntriesWarning as Ps, S3_AUTO_DELETE_OBJECTS_TAG as Pt, streamTagsMatchDeclared as Q, producerLookupOver as Qa, crossPrefixDeniedWarning as Qc, PRE_DELETE_SNAPSHOT_TYPES as Qi, renderAssemblyPathEscape as Ql, referencedLogicalIds as Qn, findReplacedReadersOfRecreateTargets as Qo, exportAliasCollisionScrubWarning as Qr, repairMalformedResourcePropertiesForReadOnly as Qs, isAccessDeniedError as Qt, isProtectionValueActive as R, deleteSkipReason as Ra, withoutSdkUnwiredProperties as Rc, createReadOnlyAttributeHealerFactory as Ri, purgeNoncurrentKeyVersions as Rl, hintSidesOf as Rn, referenceTokensIn as Ro, nameGenerationHighWaterOf as Rr, refuseMalformedResourceEntriesForDeploy as Rs, recordRetainedForReadoption as Rt, findNestedTemplateTreeDefect as S, customResourceStackName as Sa, refuseMalformedResourcesForExport as Sc, supersededAfterRollback as Si, readBootstrapMarkerBody as Sl, sameJournaledOrphans as Sn, parameterTypeMayLoseSecretIdentity as So, recheckFailedPlan as Sr, malformedOrphanRecordsWarning as Ss, compensateRemovedDeletionProtection as St, renderNestedTemplateTreeDefect as T, localCustomResourceCommand as Ta, JSON_LISTING_HOLE_VALUE as Tc, supersededResourcesOf as Ti, BOOTSTRAP_MARKER_PREFIX as Tl, planOrphanAdoption as Tn, isStalePlaceholderArnAttribute as To, IMPLICIT_DELETE_DEPENDENCIES as Tr, refuseMalformedOrphanRecords as Ts, resolveDynamoDbDeleteBudgetMs as Tt, STREAM_TAGS_KEY as U, isAlwaysLiveAttribute as Ua, S3StateBackend as Uc, orphanRecordsPrintingBag as Ui, hasOwnKey as Ul, changedReferencePath as Un, carriesDynamicReference as Uo, withNameGenerationReached as Ur, repairMalformedResourceEntriesForReadOnly as Us, refuseRefactorMarker as Ut, DynamoDBGlobalTableProvider as V, IntrinsicFunctionResolver as Va, hasNoCloudControlHandlers as Vc, maskEventTextWithBoundBags as Vi, synthesizedStacks as Vl, withMovedTo as Vn, carriesFetchableDynamicReference as Vo, retiredNameGenerationsAfter as Vr, refuseMalformedResourceEntriesForImportSave as Vs, refactorMarkerMovesOf as Vt, declaredStreamPolicyMember as W, poisonRenderedSpellingsCollidingIn as Wa, splitImportedOps as Wc, secretNamePrintingBag as Wi, hasPlainPrototype as Wl, changedReferenceReason as Wn, keepsSecretReferenceToken as Wo, getCurrentProducerRegions as Wr, unreadableResourceEntries as Ws, sameMove as Wt, streamMemberRefusals as X, withSecretPhysicalIdsMaskedInState as Xa, CrossPrefixScanCache as Xc, extractDeploymentEventError as Xi, displayAssemblyPath as Xl, propertiesChangedReason as Xn, replacementSidesForLog as Xo, WITHHELD_NAME_DISPLAY as Xr, refuseMalformedResourcePropertiesForExport as Xs, formatResourceLine as Xt, streamDeclaresTags as Y, secretSegmentsOfState as Ya, CrossPrefixReadError as Yc, storedSecretNameNeedles as Yi, describeFileReadFailure as Yl, parseMappingFile as Yn, markNewValueKnownAfterDeploy as Yo, resourcesNamingDeclaredParameter as Yr, refuseMalformedResourcePropertiesForDrift as Ys, markRefusedBeforeApplying as Yt, streamPolicyMatchesDeclared as Z, resolveDynamicReferences as Za, applyCrossPrefixScan as Zc, ATOMIC_FINAL_SNAPSHOT_TYPES as Zi, namesTheSameDirectory as Zl, proposeRenames as Zn, siblingsOf as Zo, displayTextOrWithheld as Zr, refuseMalformedResourcePropertiesForOrphan as Zs, chunks as Zt, conditionFingerprint as _, readsNoEchoDeleteValues as _a, malformedRenderedContainersWarning as _c, withStackRecords as _i, buildDenyExternalAccessPolicy as _l, dropFailedCommands as _n, s3BucketDualStackDomainName as _o, seedsDeleteFirstGuard as _r, declaresNoEcho as _s, stripIndexContributorInsights as _t, scanActiveConsumers as a, createPreDeleteFinalSnapshot as aa, repairMalformedOrphansForReadOnly as ac, isWholeDynamicReferenceValue as ai, stringifyValue as al, displacedPhysicalIdShown as an, parseIamRoleArn as ao, calculateResourceDrift as ar, WARM_THROUGHPUT_MEMBERS as as, readbackVectorIndexes as at, readRecordedConditionVerdicts as b, withPrintingSecrets as ba, refuseMalformedResourcesForDeploy as bc, holdsSupersededResources as bi, getBootstrapMarkerKey as bl, journaledOrphanLines as bn, coerceParameterTypedValue as bo, isReplacementOrphan as br, isReadableOrphanRecord as bs, DYNAMODB_DELETE_POLL_COST_MS as bt, nestedSsmNameDeferredNote as c, ProviderRegistry as ca, malformedLocalOutputsWarning as cc, collectPublishedOutputNames as ci, flattenAssetPlaceholders as cl, nestedChildStackName as cn, applyCallerIdentityCredentials as co, undeclaredEmptyObservedKeys as cr, toCfnInteger as cs, vectorIndexesShapeDetail as ct, slashedSsmNameHealAdoptedNote as d, wouldReturnToSdkProvider as da, refuseMalformedNestedChildOutputs as dc, DEFAULT_RESOURCE_TIMEOUT_MS as di, loadPublishableAssetManifest as dl, revertedNestedRowIds as dn, classifyRecordedSecretRegion as do, earliestDefined as dr, inputFingerprinter as ds, indexDeclaresContributorInsights as dt, ccRoutedInstanceTakesNoSnapshot as ea, hasReadableOrphans as ec, secretBearingStateKeyWarning as ei, isNotImplemented as el, withApiLimit as en, applyRoleArnIfSet as eo, replayRollback as er, shownType as es, isTtlRateLimited as et, clearBucketRegionCache as eu, slashedSsmNameHealNote as f, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as fa, refuseMalformedOutputs as fc, DEFAULT_RESOURCE_WARN_AFTER_MS as fi, redirectDockerAsset as fl, withNestedRevertRun as fn, classifyReplaySecretRegion as fo, ledgerForStack as fr, maskedPropertyFingerprintsOf as fs, planContributorInsightsOp as ft, makeCanonicalizePropertiesFn as g, TemplateNoEchoReresolver as ga, refuseDivergentRecordRegionForDestroy as gc, getStackRecords as gi, ensureAssetStorage as gl, deleteJournaledOrphans as gn, s3BucketDomainName as go, planRollback as gr, passedParameterClassesOf as gs, reverseMapTableContributorInsights as gt, inheritedProvenanceForChildDiff as h, responsePresignClient as ha, STATE_REGION_DIVERGED as hc, destroyStackRecordsView as hi, AssetModeResolver as hl, withNestedStackContext as hn, s3BucketArn as ho, acquireIdempotencyToken as hr, maskedInputProof as hs, reverseMapIndexContributorInsights as ht, mergeNoChangeOutputs as i, unsupportedFinalSnapshotError as ia, refuseMalformedOrphansForDestroy as ic, exportNameSecretExposure as ii, isSensitiveAttributeName as il, displacedOpClause as in, isIamRoleArn as io, withUnprovenUnsettled as ir, renderStatefulReason as is, planVectorIndexUpdates as it, deferredServiceTokenWarning as j, waitForGoneAfterDelete as ja, hasReadableOutputs as jc, red as ji, warnAbsoluteAssetPath as jl, noEchoMacParametersOf as jn, promoteInPlaceAttributeDependents as jo, isRedactedRecordedValue as jr, isReadableResourceEntry as js, relayedIndexBusyDelete as jt, pendingMovesRefusalMessage as k, waitForLambdaFunctionActive as ka, UNREADABLE_RESOURCES_MAP_ROW as kc, gray as ki, parseAssetManifestBody as kl, createNoEchoValueMacs as kn, parseWebACLArn as ko, findNestedStackTypeChanges as kr, unpreviewableOrphanRecords as ks, deleteTableWithIndexBusyRetry as kt, nestedSsmNameRowNote as l, ccBrokenReason as la, malformedOutputsRefusalMessage as lc, isExportAliasCollision as li, isDefaultBootstrapBucketName as ll, recordDisplacedSkips as ln, callerEnvCredentials as lo, updatePartialMessage as lr, toFiniteNumber as ls, CONTRIBUTOR_INSIGHTS_KEY as lt, crossStackOutputProvenanceSource as m, customResourceResponseExpirationWarning as ma, repairMalformedOutputsForReadOnly as mc, awaitInFlightSibling as mi, rewriteTemplateAssetReferences as ml, getCurrentNestedStackContext as mn, regionLessSecretName as mo, withCreateTokenLedger as mr, parameterInputsFor as ms, readContributorInsightsSpec as mt, isSecretBearingReferenceString as n, isFinalSnapshotError as na, malformedOrphansWarning as nc, carriedExportAliasExposure as ni, withStackInstanceIdWithheld as nl, resolvePendingCloudControlRequests as nn, assertSendableRoleArn as no, recordAfterRollbackUpdate as nr, isStatefulRecreateTargetForReplace as ns, readTtlSpec as nt, inRunStackKey as o, buildFinalSnapshotIdentifier as oa, malformedExportNamesWarning as oc, noEchoParameterValueSeed as oi, buildAssetRedirectMap as ol, dropSettledNestedJournals as on, sendableAssumeRoleCommand as oo, equalModuloMarkedMask as or, coerceWarmThroughput as os, vectorIndexesForCreate as ot, slashedSsmNameHealPendingNote as p, applyCustomResourceResponseExpiration as pa, refuseMalformedOutputsForDestroy as pc, maskingRetryLogger as pi, redirectFileAsset as pl, collectNestedChildUnaddressed as pn, producerRegionsFromState as po, reserveStackCreateToken as pr, movedMaskedProperties as ps, planIndexContributorInsightsOps as pt, reverseMapStreamPolicy as q, APPSYNC_APIKEY_ARN_RESOURCE_PATH as qa, hasUnverifiableParameterRefusal as qc, secretNamedRecordNeedles as qi, absoluteAssemblyPathEscape as ql, looselyEqual as qn, INTRINSIC_KEYS as qo, namesAnyDeclaredParameter as qr, refuseMalformedResourceProperties as qs, readsOnlyNoEchoParameters as qt, keptWholeReasonText as r, refusesFinalSnapshot as ra, refuseMalformedOrphans as rc, exportNameNoEchoParameters as ri, isSecretValuedAttribute as rl, NESTED_PENDING_PARENT_REASON as rn, explicitRoleArnOrThrow as ro, settleUnsettledPrevious as rr, isStatefulRecreateTargetSync as rs, sendTtlWaitingOutRateLimit as rt, checkNestedSsmNames as s, CC_BROKEN_REASON as sa, malformedExportSourceWarning as sc, collectDeclaredOutputNames as si, createAssetRedirectResolver as sl, getNestedRevertRun as sn, AWS_CREDENTIAL_ENV_KEYS as so, equalModuloMask as sr, isWarmThroughputDecrease as ss, vectorIndexesSettled as st, DeployEngine as t, effectiveDeletionPolicy as ta, malformedOrphansRefusalMessage as tc, secretSafeKeyDisplay as ti, stackInstanceIdOf as tl, pendingRequestCount as tn, assertFlagRoleArn as to, DELETED_RESOURCE_REMEDY as tr, MULTI_REGION_RECREATE_BLOCKED_TYPES as ts, planTimeToLive as tt, resolveBucketRegion as tu, healSlashedSsmParameterNames as u, isCustomResource as ua, malformedOutputsWarning as uc, bindingSkippedOutputs as ui, isDefaultBootstrapRepoName as ul, revertNestedChildFromJournal as un, envCredentialsAreAssumedRole as uo, updatePartialReason as ur, tryGetTopLevelWriteOnlyProperties as us, contributorInsightsRefusals as ut, conditionInputsFrom as v, isCustomResourceType as va, malformedResourcesWarning as vc, replacedDeleteFailureVerdict as vi, assertAssetBucketRegion as vl, dropFailedHint as vn, s3BucketRegionalDomainName as vo, demoteSupersededOrphans as vr, maskedPropertyFingerprint as vs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as vt, listNestedTemplateRows as w, customResourcesRunWithoutApp as wa, repairMalformedResourcesForReadOnly as wc, supersededHolderOf as wi, validateContainerRepoName as wl, makeSiblingClaimReader as wn, cfnRefValueFromPhysicalId as wo, replacementNeverSwapped as wr, previewableOrphanRecords as ws, resolveDynamoDbDeleteBudgetClock as wt, childTemplateLoader as x, NO_LOCAL_CUSTOM_RESOURCES_FLAG as xa, refuseMalformedResourcesForDestroy as xc, isSupersededResourceRecord as xi, parseBootstrapMarker as xl, loadJournaledOrphans as xn, isUnboundTemplateParameter as xo, planFailedOps as xr, malformedOrphanRecordsRefusalMessage as xs, beginDeleteWait as xt, parentSuppliedValues as y, getCurrentResourceSecrets as ya, malformedStateRefusalMessage as yc, deleteSupersededEntry as yi, isCrossRegionRedirect as yl, isHandledOrphan as yn, s3BucketWebsiteUrl as yo, isJournaledOrphan as yr, deployRefusesOrphanRowsReason as ys, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as yt, perType as z, withIndeterminateGuard as za, withoutUnwrittenSdkUnwiredProperties as zc, completedReplayEntries as zi, decodeListingKey as zl, movedToHint as zn, getAccountInfo as zo, nameScopeOf as zr, refuseMalformedResourceEntriesForDestroy as zs, readRefactorMarker as zt };
|
|
49448
|
-
//# sourceMappingURL=deploy-engine-
|
|
49972
|
+
export { isTtlAlreadyDisabled as $, APPSYNC_APIKEY_ARN_RESOURCE_PATH as $a, hasReasonlessBaselineRefusal as $c, ccRoutedFinalSnapshotError as $i, ownValue as $l, replayFailedOperations as $n, namesRecreatedParent as $o, secretBearing as $r, malformedResourcePropertiesWarning as $s, lookupEachName as $t, refusePendingMovesOut as A, customResourcesRunWithoutApp as Aa, refuseMalformedState as Ac, green as Ai, validateAssetBucketName as Al, noEchoMacBinding as An, AWS_NO_VALUE as Ao, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ar, malformedOrphanRowsKeptWarning as As, maskedLogger as At, readProtection as B, RollbackInlinePolicyWriters as Ba, findActionableSdkUnwired as Bc, journaledOrphanPrintingBag as Bi, missingStateBucketRemedy as Bl, rollbackOrphanIds as Bn, outputReferenceProvenanceOf as Bo, retiredAfterRollback as Br, malformedLocalResourcesWarning as Bs, readRefactorMarkerOnce as Bt, isAbsoluteAssetPath as C, readsNoEchoDeleteValues as Ca, refuseDivergentRecordRegionForDestroy as Cc, supersededHeldByOtherTypeWarning as Ci, ensureAssetStorage as Cl, makeForeignHolderScan as Cn, s3BucketDomainName as Co, recordUnderIdIsNotOwn as Cr, passedParameterClassesOf as Cs, deleteBudgetKey as Ct, hasPendingMovesOut as D, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Da, refuseMalformedResourcesForDeploy as Dc, bold as Di, getBootstrapMarkerKey as Dl, DeploymentEventsStore as Dn, coerceParameterTypedValue as Do, resolveReplacementOldType as Dr, isReadableOrphanRecord as Ds, INDEX_SETTLE_POLL_INTERVAL_MS as Dt, templateIdentity as E, withPrintingSecrets as Ea, malformedStateRefusalMessage as Ec, withoutSuperseded as Ei, isCrossRegionRedirect as El, DeploymentEventsReader as En, s3BucketWebsiteUrl as Eo, computeImplicitDeleteEdges as Er, deployRefusesOrphanRowsReason as Es, DELETE_INDEX_WAIT_PROCEED_NOTE as Et, recordedProtectionEvidence as F, waitForLambdaFunctionActive as Fa, STATE_RESOURCES_MALFORMED as Fc, noEchoExactEchoLeavesOf as Fi, isCfnTemplateAssetPath as Fl, findDestructiveChanges as Fn, lacksRecordedTableArn as Fo, removeProtectionTypeList as Fr, repairMalformedOrphanRecordsForReadOnly as Fs, hasCdkAutoDeleteTag as Ft, declaredStreamTagsMember as G, withIndeterminateGuard as Ga, withoutSdkUnwiredProperties as Gc, secretNamePrintingBags as Gi, purgeNoncurrentKeyVersions as Gl, differingRemedy as Gn, referenceTokensIn as Go, inheritProducerRegions as Gr, refuseMalformedResourceEntriesForDeploy as Gs, updateRefactorMarker as Gt, STREAM_POLICY_KEY as H, deleteIndeterminateGuards as Ha, findSdkUnwiredProperties as Hc, namingSecretsWithRecordedNoEcho as Hi, isListParameterType as Hl, changedReferenceInDiff as Hn, recordedProvenanceOf as Ho, retiredNameGenerationsLeaving as Hr, malformedScrubResourceEntriesRefusalMessage as Hs, refactorMarkerRefusalMessage as Ht, recordedProtectionNote as I, CloudControlProvider as Ia, UNREADABLE_RESOURCES_MAP_ROW as Ic, noEchoParameterNamesOf as Ii, parseAssetManifestBody as Il, formatDestructiveChange as In, parseWebACLArn as Io, orphanNeedsIdentity as Ir, unpreviewableOrphanRecords as Is, isTruthyCfnBoolean as It, streamDeclaresPolicy as J, isSelectOutOfBounds as Ja, hasNoCloudControlHandlers as Jc, stateSecretNameNeedles as Ji, synthesizedStacks as Jl, mappingPairs as Jn, carriesFetchableDynamicReference as Jo, reachableDivergentParameters as Jr, refuseMalformedResourceEntriesForImportSave as Js, getPriorAttempts as Jt, planStreamMemberOps as K, isWaitAbandonedError as Ka, withoutUnwrittenSdkUnwiredProperties as Kc, secretNamedAttributeNamesOf as Ki, decodeListingKey as Kl, isPairableType as Kn, getAccountInfo as Ko, computeParameterTaint as Kr, refuseMalformedResourceEntriesForDestroy as Ks, macWriteOnlyKeys as Kt, PROTECTION_PROPERTY_BY_TYPE as L, waitForGoneAfterDelete as La, displayLogicalId as Lc, withAttemptedItemsMasked as Li, resolveFileAssetSourcePath as Ll, findRefactorHints as Ln, extractGetAttRefs as Lo, nameGenerationCarriedFrom as Lr, unreadableOrphanRecords as Ls, keptForRetainedRecord as Lt, findServiceTokenRefusals as M, localCustomResourceRuntimeActive as Ma, JSON_LISTING_HOLE_VALUE as Mc, yellow as Mi, BOOTSTRAP_MARKER_PREFIX as Ml, noEchoMacVerdict as Mn, isStalePlaceholderArnAttribute as Mo, redactedDeleteAddressFields as Mr, refuseMalformedOrphanRecords as Ms, waitForIndexesSettled as Mt, serviceTokenBlockingReason as N, setLocalCustomResourceRuntimeEnabled as Na, accountArgs as Nc, noEchoAttributeNamesOf as Ni, AssetManifestLoader as Nl, noEchoValueMacsOf as Nn, refStateLookupFromResource as No, redactedDeleteAddressSkip as Nr, refuseMalformedOrphanRecordsForDestroy as Ns, ECR_AUTO_DELETE_IMAGES_TAG as Nt, pendingMovesOutOf as O, customResourceStackName as Oa, refuseMalformedResourcesForDestroy as Oc, cyan as Oi, parseBootstrapMarker as Ol, NOECHO_MAC_KEY_ALIAS as On, isUnboundTemplateParameter as Oo, withPreviousPolicies as Or, malformedOrphanRecordsRefusalMessage as Os, TABLE_INDEX_NOUN as Ot, diffSecurity as P, withCustomResourceStack as Pa, withheldAccountClause as Pc, noEchoComparisonForTemplate as Pi, getDockerImageBySourceHash as Pl, constructPathOf as Pn, lacksRecordedRefArn as Po, segmentCleanupOptions as Pr, refuseMalformedOrphansForOrphan as Ps, S3_AUTO_DELETE_OBJECTS_TAG as Pt, streamTagsMatchDeclared as Q, isSettledInstanceState as Qa, isKnownTokenFreeState as Qc, PRE_DELETE_SNAPSHOT_TYPES as Qi, nullPrototypeRecord as Ql, referencedLogicalIds as Qn, withSharedDrainBudget as Qo, exportAliasCollisionScrubWarning as Qr, malformedDriftResourcePropertiesWarning as Qs, isAccessDeniedError as Qt, isProtectionValueActive as R, resolvedResourceTimeoutMs as Ra, hasReadableOutputs as Rc, createReadOnlyAttributeHealerFactory as Ri, warnAbsoluteAssetPath as Rl, hintSidesOf as Rn, promoteInPlaceAttributeDependents as Ro, nameGenerationHighWaterOf as Rr, isReadableResourceEntry as Rs, recordRetainedForReadoption as Rt, findNestedTemplateTreeDefect as S, TemplateNoEchoReresolver as Sa, STATE_REGION_DIVERGED as Sc, supersededAfterRollback as Si, AssetModeResolver as Sl, sameJournaledOrphans as Sn, s3BucketArn as So, recheckFailedPlan as Sr, maskedInputProof as Ss, compensateRemovedDeletionProtection as St, renderNestedTemplateTreeDefect as T, getCurrentResourceSecrets as Ta, malformedResourcesWarning as Tc, supersededResourcesOf as Ti, assertAssetBucketRegion as Tl, planOrphanAdoption as Tn, s3BucketRegionalDomainName as To, IMPLICIT_DELETE_DEPENDENCIES as Tr, maskedPropertyFingerprint as Ts, resolveDynamoDbDeleteBudgetMs as Tt, STREAM_TAGS_KEY as U, deleteLeftInPlace as Ua, unwrittenCreateOnlyReplacement as Uc, orphanRecordsPrintingBag as Ui, ssmResolvedValueType as Ul, changedReferencePath as Un, recordedReferenceRegions as Uo, withNameGenerationReached as Ur, refuseMalformedResourceAttributesForOrphan as Us, refuseRefactorMarker as Ut, DynamoDBGlobalTableProvider as V, UNSPECIFIED_SKIP_REASON as Va, findHandledUnwrittenCreateOnly as Vc, maskEventTextWithBoundBags as Vi, SSM_PARAMETER_VALUE_PREFIX as Vl, withMovedTo as Vn, recordedOutputReferenceRegions as Vo, retiredNameGenerationsAfter as Vr, malformedResourceEntriesWarning as Vs, refactorMarkerMovesOf as Vt, declaredStreamPolicyMember as W, deleteSkipReason as Wa, withoutAcceptedSdkUnwiredProperties as Wc, secretNamePrintingBag as Wi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Wl, changedReferenceReason as Wn, referenceProvenanceOf as Wo, getCurrentProducerRegions as Wr, refuseMalformedResourceEntries as Ws, sameMove as Wt, streamMemberRefusals as X, poisonRenderedSpellingsCollidingIn as Xa, S3StateBackend as Xc, extractDeploymentEventError as Xi, hasOwnKey as Xl, propertiesChangedReason as Xn, carriesDynamicReference as Xo, WITHHELD_NAME_DISPLAY as Xr, repairMalformedResourceEntriesForReadOnly as Xs, formatResourceLine as Xt, streamDeclaresTags as Y, isAlwaysLiveAttribute as Ya, TemplateParser as Yc, storedSecretNameNeedles as Yi, defineOwnKey as Yl, parseMappingFile as Yn, isNamelessDynamicReferenceError as Yo, resourcesNamingDeclaredParameter as Yr, refuseMalformedResourceEntriesForOrphan as Ys, markRefusedBeforeApplying as Yt, streamPolicyMatchesDeclared as Z, stackIdTailOf as Za, splitImportedOps as Zc, ATOMIC_FINAL_SNAPSHOT_TYPES as Zi, hasPlainPrototype as Zl, proposeRenames as Zn, keepsSecretReferenceToken as Zo, displayTextOrWithheld as Zr, unreadableResourceEntries as Zs, chunks as Zt, conditionFingerprint as _, wouldReturnToSdkProvider as _a, malformedOutputsWarning as _c, withStackRecords as _i, isDefaultBootstrapRepoName as _l, dropFailedCommands as _n, envCredentialsAreAssumedRole as _o, seedsDeleteFirstGuard as _r, tryGetTopLevelWriteOnlyProperties as _s, stripIndexContributorInsights as _t, scanActiveConsumers as a, createPreDeleteFinalSnapshot as aa, repairMalformedResourcePropertiesForReadOnly as ac, isWholeDynamicReferenceValue as ai, crossPrefixDeniedWarning as al, displacedPhysicalIdShown as an, producerLookupOver as ao, calculateResourceDrift as ar, findReplacedReadersOfRecreateTargets as as, readbackVectorIndexes as at, renderAssemblyPathEscape as au, readRecordedConditionVerdicts as b, customResourceResponseExpirationWarning as ba, refuseMalformedOutputsForDestroy as bc, holdsSupersededResources as bi, redirectFileAsset as bl, journaledOrphanLines as bn, producerRegionsFromState as bo, isReplacementOrphan as br, movedMaskedProperties as bs, DYNAMODB_DELETE_POLL_COST_MS as bt, nestedSsmNameDeferredNote as c, collectManagedPolicyArnsAttachedBySiblings as ca, malformedOrphansRefusalMessage as cc, collectPublishedOutputNames as ci, stackInstanceIdOf as cl, nestedChildStackName as cn, assertFlagRoleArn as co, undeclaredEmptyObservedKeys as cr, MULTI_REGION_RECREATE_BLOCKED_TYPES as cs, vectorIndexesShapeDetail as ct, resolveBucketRegion as cu, slashedSsmNameHealAdoptedNote as d, withoutSiblingAttachedArns as da, refuseMalformedOrphansForDestroy as dc, DEFAULT_RESOURCE_TIMEOUT_MS as di, isSensitiveAttributeName as dl, revertedNestedRowIds as dn, isIamRoleArn as do, earliestDefined as dr, renderStatefulReason as ds, indexDeclaresContributorInsights as dt, ccRoutedInstanceTakesNoSnapshot as ea, refuseMalformedResourceProperties as ec, secretBearingStateKeyWarning as ei, hasUnverifiableParameterRefusal as el, withApiLimit as en, maskedSecretSegment as eo, replayRollback as er, INTRINSIC_KEYS as es, isTtlRateLimited as et, absoluteAssemblyPathEscape as eu, slashedSsmNameHealNote as f, withoutSiblingOwned as fa, repairMalformedOrphansForReadOnly as fc, DEFAULT_RESOURCE_WARN_AFTER_MS as fi, stringifyValue as fl, withNestedRevertRun as fn, parseIamRoleArn as fo, ledgerForStack as fr, WARM_THROUGHPUT_MEMBERS as fs, planContributorInsightsOp as ft, makeCanonicalizePropertiesFn as g, isCustomResource as ga, malformedOutputsRefusalMessage as gc, getStackRecords as gi, isDefaultBootstrapBucketName as gl, deleteJournaledOrphans as gn, callerEnvCredentials as go, planRollback as gr, toFiniteNumber as gs, reverseMapTableContributorInsights as gt, inheritedProvenanceForChildDiff as h, ccBrokenReason as ha, malformedLocalOutputsWarning as hc, destroyStackRecordsView as hi, flattenAssetPlaceholders as hl, withNestedStackContext as hn, applyCallerIdentityCredentials as ho, acquireIdempotencyToken as hr, toCfnInteger as hs, reverseMapIndexContributorInsights as ht, mergeNoChangeOutputs as i, unsupportedFinalSnapshotError as ia, refuseMalformedResourcePropertiesForOrphan as ic, exportNameSecretExposure as ii, applyCrossPrefixScan as il, displacedOpClause as in, resolveDynamicReferences as io, withUnprovenUnsettled as ir, siblingsOf as is, planVectorIndexUpdates as it, namesTheSameDirectory as iu, deferredServiceTokenWarning as j, localCustomResourceCommand as ja, repairMalformedResourcesForReadOnly as jc, red as ji, validateContainerRepoName as jl, noEchoMacParametersOf as jn, cfnRefValueFromPhysicalId as jo, isRedactedRecordedValue as jr, previewableOrphanRecords as js, relayedIndexBusyDelete as jt, pendingMovesRefusalMessage as k, customResourcesFailedWithoutApp as ka, refuseMalformedResourcesForExport as kc, gray as ki, readBootstrapMarkerBody as kl, createNoEchoValueMacs as kn, parameterTypeMayLoseSecretIdentity as ko, findNestedStackTypeChanges as kr, malformedOrphanRecordsWarning as ks, deleteTableWithIndexBusyRetry as kt, nestedSsmNameRowNote as l, collectPrincipalsAttachingPolicy as la, malformedOrphansWarning as lc, isExportAliasCollision as li, withStackInstanceIdWithheld as ll, recordDisplacedSkips as ln, assertSendableRoleArn as lo, updatePartialMessage as lr, isStatefulRecreateTargetForReplace as ls, CONTRIBUTOR_INSIGHTS_KEY as lt, crossStackOutputProvenanceSource as m, ProviderRegistry as ma, malformedExportSourceWarning as mc, awaitInFlightSibling as mi, createAssetRedirectResolver as ml, getCurrentNestedStackContext as mn, AWS_CREDENTIAL_ENV_KEYS as mo, withCreateTokenLedger as mr, isWarmThroughputDecrease as ms, readContributorInsightsSpec as mt, isSecretBearingReferenceString as n, isFinalSnapshotError as na, refuseMalformedResourcePropertiesForDrift as nc, carriedExportAliasExposure as ni, CrossPrefixReadError as nl, resolvePendingCloudControlRequests as nn, secretSegmentsOfState as no, recordAfterRollbackUpdate as nr, markNewValueKnownAfterDeploy as ns, readTtlSpec as nt, describeFileReadFailure as nu, inRunStackKey as o, buildFinalSnapshotIdentifier as oa, UNREADABLE_ORPHANS_CONTAINER_ROW as oc, noEchoParameterValueSeed as oi, isAccessDenied$1 as ol, dropSettledNestedJournals as on, refuseUnreadableCdkCrossAccountRefs as oo, equalModuloMarkedMask as or, isPlainReferenceTo as os, vectorIndexesForCreate as ot, resolveAssemblyPath as ou, slashedSsmNameHealPendingNote as p, CC_BROKEN_REASON as pa, malformedExportNamesWarning as pc, maskingRetryLogger as pi, buildAssetRedirectMap as pl, collectNestedChildUnaddressed as pn, sendableAssumeRoleCommand as po, reserveStackCreateToken as pr, coerceWarmThroughput as ps, planIndexContributorInsightsOps as pt, reverseMapStreamPolicy as q, IntrinsicFunctionResolver as qa, NO_CC_HANDLERS_REASON as qc, secretNamedRecordNeedles as qi, rememberSynthesizedStacks as ql, looselyEqual as qn, isImpossibleEmptyStoredAttribute as qo, namesAnyDeclaredParameter as qr, refuseMalformedResourceEntriesForImport as qs, readsOnlyNoEchoParameters as qt, keptWholeReasonText as r, refusesFinalSnapshot as ra, refuseMalformedResourcePropertiesForExport as rc, exportNameNoEchoParameters as ri, CrossPrefixScanCache as rl, NESTED_PENDING_PARENT_REASON as rn, withSecretPhysicalIdsMaskedInState as ro, settleUnsettledPrevious as rr, replacementSidesForLog as rs, sendTtlWaitingOutRateLimit as rt, displayAssemblyPath as ru, checkNestedSsmNames as s, collectGroupsAddedBySiblings as sa, hasReadableOrphans as sc, collectDeclaredOutputNames as si, isNotImplemented as sl, getNestedRevertRun as sn, applyRoleArnIfSet as so, equalModuloMask as sr, shownType as ss, vectorIndexesSettled as st, clearBucketRegionCache as su, DeployEngine as t, effectiveDeletionPolicy as ta, refuseMalformedResourcePropertiesForDestroy as tc, secretSafeKeyDisplay as ti, rebuildClientForBucketRegion as tl, pendingRequestCount as tn, secretPhysicalIdSegment as to, DELETED_RESOURCE_REMEDY as tr, containsIntrinsic as ts, planTimeToLive as tt, assemblyPathEscape as tu, healSlashedSsmParameterNames as u, stripSiblingOwnedMembers as ua, refuseMalformedOrphans as uc, bindingSkippedOutputs as ui, isSecretValuedAttribute as ul, revertNestedChildFromJournal as un, explicitRoleArnOrThrow as uo, updatePartialReason as ur, isStatefulRecreateTargetSync as us, contributorInsightsRefusals as ut, conditionInputsFrom as v, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as va, refuseMalformedNestedChildOutputs as vc, replacedDeleteFailureVerdict as vi, loadPublishableAssetManifest as vl, dropFailedHint as vn, classifyRecordedSecretRegion as vo, demoteSupersededOrphans as vr, inputFingerprinter as vs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as vt, listNestedTemplateRows as w, isCustomResourceType as wa, malformedRenderedContainersWarning as wc, supersededHolderOf as wi, buildDenyExternalAccessPolicy as wl, makeSiblingClaimReader as wn, s3BucketDualStackDomainName as wo, replacementNeverSwapped as wr, declaresNoEcho as ws, resolveDynamoDbDeleteBudgetClock as wt, childTemplateLoader as x, responsePresignClient as xa, repairMalformedOutputsForReadOnly as xc, isSupersededResourceRecord as xi, rewriteTemplateAssetReferences as xl, loadJournaledOrphans as xn, regionLessSecretName as xo, planFailedOps as xr, parameterInputsFor as xs, beginDeleteWait as xt, parentSuppliedValues as y, applyCustomResourceResponseExpiration as ya, refuseMalformedOutputs as yc, deleteSupersededEntry as yi, redirectDockerAsset as yl, isHandledOrphan as yn, classifyReplaySecretRegion as yo, isJournaledOrphan as yr, maskedPropertyFingerprintsOf as ys, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as yt, perType as z, setResolvedResourceTimeouts as za, hasReadableResources as zc, completedReplayEntries as zi, warnWholeAssemblyAsSource as zl, movedToHint as zn, keepHeldTokenProvenance as zo, nameScopeOf as zr, malformedLocalResourceEntriesWarning as zs, readRefactorMarker as zt };
|
|
49973
|
+
//# sourceMappingURL=deploy-engine-Crq1_YaU.js.map
|