@cdkd/cli 0.358.3 → 0.358.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ambient-client-defaults-BN4tRwp9.js → ambient-client-defaults-CcCQuSZx.js} +3 -3
- package/dist/{ambient-client-defaults-BN4tRwp9.js.map → ambient-client-defaults-CcCQuSZx.js.map} +1 -1
- package/dist/{asg-provider-DHkF4o0Q.js → asg-provider-BYsZoqmF.js} +6 -6
- package/dist/{asg-provider-DHkF4o0Q.js.map → asg-provider-BYsZoqmF.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-KEMII41H.js → custom-resource-runtime-vUQQgT6M.js} +6 -6
- package/dist/{custom-resource-runtime-KEMII41H.js.map → custom-resource-runtime-vUQQgT6M.js.map} +1 -1
- package/dist/{db-associated-roles-0r3NPm7U.js → db-associated-roles-D1kkpP0k.js} +2 -2
- package/dist/{db-associated-roles-0r3NPm7U.js.map → db-associated-roles-D1kkpP0k.js.map} +1 -1
- package/dist/{delete-started-xsYgmgVh.js → delete-started-joCwegKq.js} +4 -4
- package/dist/{delete-started-xsYgmgVh.js.map → delete-started-joCwegKq.js.map} +1 -1
- package/dist/{deploy-engine-2R2hbP5Y.js → deploy-engine-CilA7v8d.js} +921 -58
- package/dist/deploy-engine-CilA7v8d.js.map +1 -0
- package/dist/{diff-calculator-CIuzHmBn.js → diff-calculator-Bjr0sh-h.js} +12 -12
- package/dist/{diff-calculator-CIuzHmBn.js.map → diff-calculator-Bjr0sh-h.js.map} +1 -1
- package/dist/{ec2-termination-protection-DIdBlUyw.js → ec2-termination-protection-Gdl3Djvt.js} +6 -6
- package/dist/{ec2-termination-protection-DIdBlUyw.js.map → ec2-termination-protection-Gdl3Djvt.js.map} +1 -1
- package/dist/{ecr-uri-DD3r4tU6.js → ecr-uri-BhoeLkz2.js} +2 -2
- package/dist/{ecr-uri-DD3r4tU6.js.map → ecr-uri-BhoeLkz2.js.map} +1 -1
- package/dist/{expected-bucket-owner-Cm4q0WEG.js → expected-bucket-owner-CIiqUDil.js} +2 -2
- package/dist/{expected-bucket-owner-Cm4q0WEG.js.map → expected-bucket-owner-CIiqUDil.js.map} +1 -1
- package/dist/{iam-role-provider-DiB7B6vR.js → iam-role-provider-gS0g_h2H.js} +8 -8
- package/dist/{iam-role-provider-DiB7B6vR.js.map → iam-role-provider-gS0g_h2H.js.map} +1 -1
- package/dist/{image-plan-VU9zHTjW.js → image-plan-hSzmMXmK.js} +8 -8
- package/dist/{image-plan-VU9zHTjW.js.map → image-plan-hSzmMXmK.js.map} +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-C4kIC51Z.js → logger-ZjhMP0A2.js} +2 -2
- package/dist/{logger-C4kIC51Z.js.map → logger-ZjhMP0A2.js.map} +1 -1
- package/dist/{neptune-provider-CVtiI39K.js → neptune-provider-D3O8Y0lx.js} +7 -7
- package/dist/{neptune-provider-CVtiI39K.js.map → neptune-provider-D3O8Y0lx.js.map} +1 -1
- package/dist/{program-BOR4WbUs.js → program-MndcrrWf.js} +391 -31
- package/dist/program-MndcrrWf.js.map +1 -0
- package/dist/{provider-classes-CwFJ4uJU.js → provider-classes-KrOpD8Sp.js} +760 -721
- package/dist/provider-classes-KrOpD8Sp.js.map +1 -0
- package/dist/{rds-provider-CYCp7gwi.js → rds-provider-Q_PZr6mn.js} +10 -10
- package/dist/{rds-provider-CYCp7gwi.js.map → rds-provider-Q_PZr6mn.js.map} +1 -1
- package/dist/{read-replica-DBLr287T.js → read-replica-DyQpEv77.js} +3 -3
- package/dist/{read-replica-DBLr287T.js.map → read-replica-DyQpEv77.js.map} +1 -1
- package/dist/{replacement-rules-DLJ-yZz-.js → replacement-rules-BdvFwhmu.js} +3 -3
- package/dist/{replacement-rules-DLJ-yZz-.js.map → replacement-rules-BdvFwhmu.js.map} +1 -1
- package/dist/{resource-deadline-j2gItrpv.js → resource-deadline-CKaftDB_.js} +8 -5
- package/dist/{resource-deadline-j2gItrpv.js.map → resource-deadline-CKaftDB_.js.map} +1 -1
- package/dist/{restore-source-guard-BZ5CE9r9.js → restore-source-guard-eOILAZqS.js} +4 -4
- package/dist/{restore-source-guard-BZ5CE9r9.js.map → restore-source-guard-eOILAZqS.js.map} +1 -1
- package/dist/{run-cli-CWVdMkku.js → run-cli-PZtAEtYO.js} +2 -2
- package/dist/{run-cli-CWVdMkku.js.map → run-cli-PZtAEtYO.js.map} +1 -1
- package/dist/{version-D4vZ_aE6.js → version-DiwszmmI.js} +2 -2
- package/dist/{version-D4vZ_aE6.js.map → version-DiwszmmI.js.map} +1 -1
- package/package.json +1 -1
- package/dist/deploy-engine-2R2hbP5Y.js.map +0 -1
- package/dist/program-BOR4WbUs.js.map +0 -1
- package/dist/provider-classes-CwFJ4uJU.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, R as isRetryableTransientError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
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-DiwszmmI.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-ZjhMP0A2.js";
|
|
3
|
+
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, R as isRetryableTransientError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-CcCQuSZx.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 withRetry, B as phaseTimingsEnabled, C as templateResourceTypes, D as isAwsEmulatorRegistryMiss, E as hasNoRegistrySchema, F as ignoresUnmodifiedGroupSize, G as describeJsonParseFailure, I as rollingUpdatePolicy, J as parseJsonNamingNoBody, K as jsonParseFailureStandIn, L as willReplaceGroup, M as INSTANCE_REFRESH_TRIGGER_PROPERTIES, N as REPLACEMENT_TRIGGER_PROPERTIES, O as reportAwsEmulatorRegistryMiss, R as PhaseClock, S as prefetchCreateOnlyPropertyPaths, T as describeTypeWithThrottleRetry, U as timePhase, V as recordPhase, W as timePhaseSync, Y as utf8ByteLength, _ as unchangedBehindSecretReference, a as reDisableInstanceApiTermination, b as getCreateOnlyPropertyPaths, d as markRefusedBeforeApplying, f as priorAttemptLookup, h as withPriorAttempts, i as observeThenDisableInstanceApiTermination, j as CREATE_ONLY_PATHS_SNAPSHOT, k as IAM_PROPAGATION_MAX_DELAY_MS, m as provenOrphanIdsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptsInJournal, q as parseFailureDebugDetail, r as isTerminationProtectionPropagationError, s as resolvedResourceTimeoutMs, u as isRefusedBeforeApplying, v as cachedCreateOnlyPropertyPaths, w as parseCreateOnlyPropertyPointers, x as isIntrinsicShaped, z as phaseScopeForStack } from "./ec2-termination-protection-
|
|
6
|
+
import { A as withRetry, B as phaseTimingsEnabled, C as templateResourceTypes, D as isAwsEmulatorRegistryMiss, E as hasNoRegistrySchema, F as ignoresUnmodifiedGroupSize, G as describeJsonParseFailure, I as rollingUpdatePolicy, J as parseJsonNamingNoBody, K as jsonParseFailureStandIn, L as willReplaceGroup, M as INSTANCE_REFRESH_TRIGGER_PROPERTIES, N as REPLACEMENT_TRIGGER_PROPERTIES, O as reportAwsEmulatorRegistryMiss, R as PhaseClock, S as prefetchCreateOnlyPropertyPaths, T as describeTypeWithThrottleRetry, U as timePhase, V as recordPhase, W as timePhaseSync, Y as utf8ByteLength, _ as unchangedBehindSecretReference, a as reDisableInstanceApiTermination, b as getCreateOnlyPropertyPaths, d as markRefusedBeforeApplying, f as priorAttemptLookup, h as withPriorAttempts, i as observeThenDisableInstanceApiTermination, j as CREATE_ONLY_PATHS_SNAPSHOT, k as IAM_PROPAGATION_MAX_DELAY_MS, m as provenOrphanIdsInJournal, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as priorAttemptsInJournal, q as parseFailureDebugDetail, r as isTerminationProtectionPropagationError, s as resolvedResourceTimeoutMs, u as isRefusedBeforeApplying, v as cachedCreateOnlyPropertyPaths, w as parseCreateOnlyPropertyPointers, x as isIntrinsicShaped, z as phaseScopeForStack } from "./ec2-termination-protection-Gdl3Djvt.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { $t as
|
|
9
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
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$
|
|
12
|
-
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-
|
|
8
|
+
import { $ as deleteWithProtectionCompensation, $t as markAuxiliaryFailure, At as canonicalizeRoute53QueryName, Bt as createMaskedRetryLogger, Ct as protectedReplacementAdvice, Gt as RETRY_AUXILIARY_OWNER, H as normalizeAwsTagsToCfn, Ht as maskDeep, I as withoutServerErrorRetries, It as resourceTypeShown, J as RESOURCE_NOT_FOUND, Jt as createdBeforeFailure, K as resolveExplicitPhysicalId, Lt as segmentAfterAnchor, Mt as compositeIdSeparatorRefusal, Ot as isInterruptedWaitError, Pt as logicalIdShown, Q as compensateProtectionFlip, Qt as isAuxiliaryMarkOf, Rt as stateOrphanRecordRemedy, St as pasteableAwsCommand, T as withUnchangedSecretPrincipalLists, U as quotedRemedyLogicalId, Ut as maskerOrIdentity, V as isQuotableImportValue, Vt as isSecretDerivedValue, W as refusalTypeShown, Wt as withDerivedNameMasks, X as isMarkedNotGone, Y as assertRegionMatch, Yt as createdResourceIdentityBeforeFailure, Z as markNotGone, Zt as isAuxiliaryFailure, _n as injectiveKey, _t as monotonicNowMs, bn as producerRecordKey, d as CreatedResourceSink, dn as sanitizeRecoveryValue, dt as ProtectionFlipRegistry, en as markCreatedBeforeFailure, f as clearCreatedReport, fn as CUSTOM_RESOURCE_RESPONSE_PREFIX, ft as isTerminalDeleteFailure, g as retractCreatedResource, gn as withPasteableAwsProfile, gt as ElapsedBudgetRegistry, ht as ElapsedBudget, i as withResourceDeadline, kt as startInterruptWatch, m as reportCreatedResource, mt as runDeleteAttempt, n as enclosingDeadlineRemainingMs, o as prepareRemovalForUpdate, p as collectCreatedResources, pn as DEFAULT_STATE_PREFIX, pt as protectionFlipKey, r as whileEnclosingDeadlinesPaused, s as removalWarning, t as enclosingDeadlineExpired, tt as observeThenDisableProtection, u as withoutInjectedRemovals, un as recoveryCommandFlags, vt as DELETION_PROTECTION_DOC_POINTER, zt as createMaskedLogSinks } from "./resource-deadline-CKaftDB_.js";
|
|
9
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-CIiqUDil.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-joCwegKq.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$6, dn as crossStackSourceKey, dt as shareLogOnlyValues, en as redactInheritedParameterValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as recordCrossStackExpression, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as contradictProvenPublicExpression, gt as maskSecretsInError, h as maskWholeValue, hn as carryFreshNoEchoMark, ht as maskRecordedSecretsInText, in as freshNoEchoLeafPositions, it as hasMaskableValues, jn as recordNoEchoParameterFreshValue, jt as spanNamesResolvableService, k as valueAtCoordinate, kt as withPhysicalNameCopies, ln as recordPhysicalNameCopy, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as carriesSecretMask, mt as errorCauseChain, nn as carriesFreshNoEchoValue, nt as createUnionSecretMasker, on as recoverMaskedOutput, ot as logOnlyValueCount, p as maskAtCoordinates, pn as splitGetAttStringForm, pt as createSecretMasker, q as recordSecretResolution, qt as recordInheritedPseudoParameters, rn as embedsFreshNoEchoValue, rt as hasLogOnlyValues, sn as physicalNameCopiesOf, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as withdrawRenderedParameterSpelling, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordNestedStackParameterExpressions, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isMaskOnlyPlaintext, vt as differingStringLeaves, w as readbackPathFor, wn as pinScopedSecretVerdict, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as isSecretExpressionByVerdictOrSpelling, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isNoEchoParameterPlaintext, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as arrayPairsWhateverDrops } from "./replacement-rules-BdvFwhmu.js";
|
|
12
|
+
import { C as withUnsettledItems, S as unsettledPropertiesOf, T as withoutUnsettledProperties, _ as isUsableAttemptedName, b as unsettledItemsOf, c as planTagDiff, f as tagPlanWarning, h as definedAttributes, i as refuseRestoreFromItself, l as readTagList, u as refuseMalformedDesiredTags, v as unsettledContextOf, w as withUnsettledProperties, x as unsettledItemsTopKey, y as unsettledItemsField } from "./restore-source-guard-eOILAZqS.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -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-CIiqUDil.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -8877,12 +8877,12 @@ function malformedOrphansForOrphanRefusalMessage(rawStackName, rawRegion, logica
|
|
|
8877
8877
|
|
|
8878
8878
|
// src/deployment/masked-property-fingerprints/core.ts
|
|
8879
8879
|
const FINGERPRINT_LAYOUT$1 = 1;
|
|
8880
|
-
function canonicalJson$
|
|
8880
|
+
function canonicalJson$5(value) {
|
|
8881
8881
|
if (value === void 0) return "null";
|
|
8882
|
-
if (Array.isArray(value)) return `[${value.map(canonicalJson$
|
|
8882
|
+
if (Array.isArray(value)) return `[${value.map(canonicalJson$5).join(",")}]`;
|
|
8883
8883
|
if (value !== null && typeof value === "object") {
|
|
8884
8884
|
const record = value;
|
|
8885
|
-
return `{${Object.keys(record).filter((key) => record[key] !== void 0).sort().map((key) => `${JSON.stringify(key)}:${canonicalJson$
|
|
8885
|
+
return `{${Object.keys(record).filter((key) => record[key] !== void 0).sort().map((key) => `${JSON.stringify(key)}:${canonicalJson$5(record[key])}`).join(",")}}`;
|
|
8886
8886
|
}
|
|
8887
8887
|
return JSON.stringify(value) ?? "null";
|
|
8888
8888
|
}
|
|
@@ -8903,7 +8903,7 @@ function splitInputFingerprint(entry) {
|
|
|
8903
8903
|
};
|
|
8904
8904
|
}
|
|
8905
8905
|
function templateCarriesNeedle(templateValue, secrets) {
|
|
8906
|
-
const text = canonicalJson$
|
|
8906
|
+
const text = canonicalJson$5(templateValue);
|
|
8907
8907
|
for (const needle of printingCorpusOf(secrets).keys()) {
|
|
8908
8908
|
if (needle.length < 4) continue;
|
|
8909
8909
|
if (text.includes(needle) || text.includes(JSON.stringify(needle).slice(1, -1))) return true;
|
|
@@ -8911,7 +8911,7 @@ function templateCarriesNeedle(templateValue, secrets) {
|
|
|
8911
8911
|
return false;
|
|
8912
8912
|
}
|
|
8913
8913
|
function maskedPropertyFingerprint(templateValue) {
|
|
8914
|
-
const digest = createHash("sha256").update(canonicalJson$
|
|
8914
|
+
const digest = createHash("sha256").update(canonicalJson$5({
|
|
8915
8915
|
layout: FINGERPRINT_LAYOUT$1,
|
|
8916
8916
|
value: templateValue
|
|
8917
8917
|
})).digest("hex");
|
|
@@ -9169,7 +9169,7 @@ async function maskedInputWalk(templateValue, sources, covered) {
|
|
|
9169
9169
|
};
|
|
9170
9170
|
}
|
|
9171
9171
|
function inputFingerprintOf(form, templateValue) {
|
|
9172
|
-
const digest = createHash("sha256").update(canonicalJson$
|
|
9172
|
+
const digest = createHash("sha256").update(canonicalJson$5({
|
|
9173
9173
|
layout: 2,
|
|
9174
9174
|
value: form
|
|
9175
9175
|
})).digest("hex");
|
|
@@ -9220,7 +9220,7 @@ const NESTED_STACK_TYPE$4 = "AWS::CloudFormation::Stack";
|
|
|
9220
9220
|
const NESTED_OUTPUT_PREFIX = "Outputs.";
|
|
9221
9221
|
function carriesSecretValue(value, corpora) {
|
|
9222
9222
|
if (carriesSecretMask(value)) return true;
|
|
9223
|
-
const text = canonicalJson$
|
|
9223
|
+
const text = canonicalJson$5(value);
|
|
9224
9224
|
if (text.includes("{{resolve:")) return true;
|
|
9225
9225
|
for (const corpus of corpora) {
|
|
9226
9226
|
if (corpus === void 0) continue;
|
|
@@ -9269,7 +9269,7 @@ function parameterInputsFor(args) {
|
|
|
9269
9269
|
};
|
|
9270
9270
|
}
|
|
9271
9271
|
function carriesReference(operand) {
|
|
9272
|
-
return canonicalJson$
|
|
9272
|
+
return canonicalJson$5(operand).includes(DYNAMIC_REFERENCE_OPEN);
|
|
9273
9273
|
}
|
|
9274
9274
|
function proof(walk, proven) {
|
|
9275
9275
|
return walk.covered === void 0 ? {} : { proven: proven() };
|
|
@@ -9691,7 +9691,7 @@ function possiblyMaskedKeys(resolvedProps, corpora) {
|
|
|
9691
9691
|
return Object.keys(resolvedProps).filter((key) => {
|
|
9692
9692
|
const value = resolvedProps[key];
|
|
9693
9693
|
if (carriesSecretMask(value) || wholeShortLeaf(value)) return true;
|
|
9694
|
-
const text = canonicalJson$
|
|
9694
|
+
const text = canonicalJson$5(value);
|
|
9695
9695
|
return long.some((needle) => text.includes(needle) || text.includes(JSON.stringify(needle).slice(1, -1)));
|
|
9696
9696
|
});
|
|
9697
9697
|
}
|
|
@@ -12290,6 +12290,51 @@ function vpcGatewayAttachmentRefFromPhysicalId(physicalId) {
|
|
|
12290
12290
|
if (gatewayId.startsWith("vgw-")) return `VGW${"|"}${vpcId}`;
|
|
12291
12291
|
return physicalId;
|
|
12292
12292
|
}
|
|
12293
|
+
function tgwRouteTablePropagationRefFromPhysicalId(physicalId) {
|
|
12294
|
+
const parts = physicalId.split("|");
|
|
12295
|
+
if (parts.length !== 2) return physicalId;
|
|
12296
|
+
const [routeTableId, attachmentId] = parts;
|
|
12297
|
+
if (!routeTableId.startsWith("tgw-rtb-") || !attachmentId.startsWith("tgw-attach-")) return physicalId;
|
|
12298
|
+
return `${attachmentId}_${routeTableId}`;
|
|
12299
|
+
}
|
|
12300
|
+
function glueConnectionRefFromPhysicalId(physicalId) {
|
|
12301
|
+
const match = /^\d{12}\|(.+)$/s.exec(physicalId);
|
|
12302
|
+
return match ? match[1] : physicalId;
|
|
12303
|
+
}
|
|
12304
|
+
function scheduledActionRefFromPhysicalId(physicalId, stateLookup) {
|
|
12305
|
+
const firstPipe = physicalId.indexOf("|");
|
|
12306
|
+
if (firstPipe < 0) return physicalId;
|
|
12307
|
+
if (physicalId.includes("|", firstPipe + 1)) {
|
|
12308
|
+
const group = stateLookup?.(["AutoScalingGroupName"]);
|
|
12309
|
+
if (group !== void 0 && carriesSecretMask(group)) return group;
|
|
12310
|
+
const suffix = `${"|"}${group ?? ""}`;
|
|
12311
|
+
if (suffix.length > 1 && physicalId.length > suffix.length && physicalId.endsWith(suffix)) return physicalId.slice(0, physicalId.length - suffix.length);
|
|
12312
|
+
}
|
|
12313
|
+
return physicalId.slice(0, firstPipe);
|
|
12314
|
+
}
|
|
12315
|
+
function scalingPolicyRefFromPhysicalId(physicalId) {
|
|
12316
|
+
const lastPipe = physicalId.lastIndexOf("|");
|
|
12317
|
+
return lastPipe < 0 ? physicalId : physicalId.slice(0, lastPipe);
|
|
12318
|
+
}
|
|
12319
|
+
function elasticBeanstalkChildRefFromPhysicalId(physicalId, stateLookup) {
|
|
12320
|
+
const firstPipe = physicalId.indexOf("|");
|
|
12321
|
+
if (firstPipe < 0) return physicalId;
|
|
12322
|
+
if (physicalId.includes("|", firstPipe + 1)) {
|
|
12323
|
+
const application = stateLookup?.(["ApplicationName"]);
|
|
12324
|
+
if (application !== void 0 && carriesSecretMask(application)) return application;
|
|
12325
|
+
const anchored = segmentAfterAnchor(physicalId, application);
|
|
12326
|
+
if (anchored !== void 0) return anchored;
|
|
12327
|
+
}
|
|
12328
|
+
return physicalId.slice(firstPipe + 1);
|
|
12329
|
+
}
|
|
12330
|
+
const REF_FROM_PHYSICAL_ID_HELPERS = /* @__PURE__ */ new Map([
|
|
12331
|
+
["AWS::EC2::TransitGatewayRouteTablePropagation", tgwRouteTablePropagationRefFromPhysicalId],
|
|
12332
|
+
["AWS::Glue::Connection", glueConnectionRefFromPhysicalId],
|
|
12333
|
+
["AWS::AutoScaling::ScheduledAction", scheduledActionRefFromPhysicalId],
|
|
12334
|
+
["AWS::ApplicationAutoScaling::ScalingPolicy", scalingPolicyRefFromPhysicalId],
|
|
12335
|
+
["AWS::ElasticBeanstalk::ConfigurationTemplate", elasticBeanstalkChildRefFromPhysicalId],
|
|
12336
|
+
["AWS::ElasticBeanstalk::ApplicationVersion", elasticBeanstalkChildRefFromPhysicalId]
|
|
12337
|
+
]);
|
|
12293
12338
|
const REF_ARN_ATTRIBUTE_HEALED = /* @__PURE__ */ new Map([["AWS::AppSync::GraphQLApi", "Arn"], ["AWS::S3Vectors::VectorBucket", "VectorBucketArn"]]);
|
|
12294
12339
|
function lacksRecordedRefArn(resource) {
|
|
12295
12340
|
const attribute = REF_ARN_ATTRIBUTE_HEALED.get(resource.resourceType);
|
|
@@ -12333,7 +12378,13 @@ const REF_RETURNS_SEGMENT_AFTER_PIPE = /* @__PURE__ */ new Set([
|
|
|
12333
12378
|
"AWS::AppConfig::Deployment",
|
|
12334
12379
|
"AWS::SSM::MaintenanceWindowTarget",
|
|
12335
12380
|
"AWS::SSM::MaintenanceWindowTask",
|
|
12336
|
-
"AWS::CodeDeploy::DeploymentGroup"
|
|
12381
|
+
"AWS::CodeDeploy::DeploymentGroup",
|
|
12382
|
+
"AWS::GuardDuty::Filter",
|
|
12383
|
+
"AWS::AutoScaling::LifecycleHook",
|
|
12384
|
+
"AWS::ServiceDiscovery::Instance",
|
|
12385
|
+
"AWS::GuardDuty::Master",
|
|
12386
|
+
"AWS::GuardDuty::Member",
|
|
12387
|
+
"AWS::EMR::InstanceFleetConfig"
|
|
12337
12388
|
]);
|
|
12338
12389
|
const REF_RETURNS_SEGMENT_BEFORE_FIRST_PIPE = /* @__PURE__ */ new Set([
|
|
12339
12390
|
"AWS::EC2::EIP",
|
|
@@ -12342,7 +12393,11 @@ const REF_RETURNS_SEGMENT_BEFORE_FIRST_PIPE = /* @__PURE__ */ new Set([
|
|
|
12342
12393
|
"AWS::ApiGatewayV2::Authorizer",
|
|
12343
12394
|
"AWS::ApiGatewayV2::ApiMapping",
|
|
12344
12395
|
"AWS::ECS::Service",
|
|
12345
|
-
"AWS::EC2::VPCCidrBlock"
|
|
12396
|
+
"AWS::EC2::VPCCidrBlock",
|
|
12397
|
+
"AWS::SES::ReceiptRule",
|
|
12398
|
+
"AWS::GuardDuty::IPSet",
|
|
12399
|
+
"AWS::GuardDuty::ThreatIntelSet",
|
|
12400
|
+
"AWS::EMR::InstanceGroupConfig"
|
|
12346
12401
|
]);
|
|
12347
12402
|
const REF_RETURNS_NAME_FROM_ARN = /* @__PURE__ */ new Map([["AWS::Events::Rule", ":rule/"], ["AWS::CloudTrail::Trail", ":trail/"]]);
|
|
12348
12403
|
const REF_RETURNS_SEGMENT_AT_INDEX = /* @__PURE__ */ new Map([["AWS::Route53::RecordSet", {
|
|
@@ -12428,6 +12483,8 @@ function cfnRefValueFromPhysicalId(resourceType, physicalId, stateLookup) {
|
|
|
12428
12483
|
if (resourceType === "AWS::S3Tables::Namespace") return s3TablesNamespaceRefFromPhysicalId(physicalId);
|
|
12429
12484
|
if (resourceType === "AWS::EC2::VPCGatewayAttachment") return vpcGatewayAttachmentRefFromPhysicalId(physicalId);
|
|
12430
12485
|
if (resourceType === "AWS::AppSync::GraphQLSchema") return graphQLSchemaCfnId(physicalId);
|
|
12486
|
+
const typeRef = REF_FROM_PHYSICAL_ID_HELPERS.get(resourceType);
|
|
12487
|
+
if (typeRef) return typeRef(physicalId, stateLookup);
|
|
12431
12488
|
if (resourceType === "AWS::Glue::Table") {
|
|
12432
12489
|
const tableName = glueTableRefFromPhysicalId(physicalId, stateLookup);
|
|
12433
12490
|
if (tableName !== void 0) return tableName;
|
|
@@ -19884,7 +19941,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
19884
19941
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
19885
19942
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
19886
19943
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
19887
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
19944
|
+
const { ASGProvider } = await import("./asg-provider-BYsZoqmF.js");
|
|
19888
19945
|
const delegateRegion = ambientRegion();
|
|
19889
19946
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
19890
19947
|
if (asgProvider === void 0) {
|
|
@@ -20038,7 +20095,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
20038
20095
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
20039
20096
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
20040
20097
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
20041
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
20098
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-Q_PZr6mn.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-D3O8Y0lx.js"))).NeptuneProvider({ region: ccRegion });
|
|
20042
20099
|
this.sdkDeleteDelegates.set(family, {
|
|
20043
20100
|
region: ccRegion,
|
|
20044
20101
|
provider
|
|
@@ -21743,11 +21800,11 @@ function applyNoEchoDeleteValues(properties, recordedLeaves, values) {
|
|
|
21743
21800
|
payload: properties,
|
|
21744
21801
|
unresolved: []
|
|
21745
21802
|
};
|
|
21746
|
-
const byKey = new Map((values?.leaves ?? []).map((leaf) => [canonicalJson$
|
|
21803
|
+
const byKey = new Map((values?.leaves ?? []).map((leaf) => [canonicalJson$6(leaf.coordinate), leaf]));
|
|
21747
21804
|
const entries = [];
|
|
21748
21805
|
const unresolved = [];
|
|
21749
21806
|
for (const coordinate of masked) {
|
|
21750
|
-
const leaf = byKey.get(canonicalJson$
|
|
21807
|
+
const leaf = byKey.get(canonicalJson$6(coordinate));
|
|
21751
21808
|
if (leaf === void 0) unresolved.push(coordinate);
|
|
21752
21809
|
else entries.push({
|
|
21753
21810
|
coordinate,
|
|
@@ -21798,7 +21855,7 @@ async function noEchoDeleteValuesFromResolved(options) {
|
|
|
21798
21855
|
const fingerprinter = options.inputSources === void 0 ? void 0 : inputFingerprinter(templateProps, options.inputSources);
|
|
21799
21856
|
const leaves = [];
|
|
21800
21857
|
for (const coordinate of masked) {
|
|
21801
|
-
if (!nodes.has(canonicalJson$
|
|
21858
|
+
if (!nodes.has(canonicalJson$6(coordinate))) continue;
|
|
21802
21859
|
if (!await fingerprintsUnchanged(record, templateProps, coordinate, fingerprinter)) continue;
|
|
21803
21860
|
const value = valueAtCoordinate(resolvedProperties, coordinate);
|
|
21804
21861
|
if (value === void 0 || carriesSecretMask(value)) continue;
|
|
@@ -21977,7 +22034,7 @@ var TemplateNoEchoReresolver = class TemplateNoEchoReresolver {
|
|
|
21977
22034
|
const bag = await this.noEchoNeedles();
|
|
21978
22035
|
const leaves = [];
|
|
21979
22036
|
for (const coordinate of masked) {
|
|
21980
|
-
const key = canonicalJson$
|
|
22037
|
+
const key = canonicalJson$6(coordinate);
|
|
21981
22038
|
if (!nodes.has(key)) continue;
|
|
21982
22039
|
const node = nodes.get(key)?.node;
|
|
21983
22040
|
if (!readsParametersOnly(node, declared, refused)) continue;
|
|
@@ -22679,7 +22736,7 @@ async function publishToSns(topicArn, request) {
|
|
|
22679
22736
|
}
|
|
22680
22737
|
async function invokeLambda(serviceToken, request) {
|
|
22681
22738
|
if (localCustomResourceRuntimeActive()) {
|
|
22682
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
22739
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-vUQQgT6M.js");
|
|
22683
22740
|
const local = await invokeCustomResourceFunctionLocally({
|
|
22684
22741
|
lambda: this.lambdaClient,
|
|
22685
22742
|
s3: this.s3Client
|
|
@@ -26670,7 +26727,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
26670
26727
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
26671
26728
|
if (region === void 0 || region === "") return false;
|
|
26672
26729
|
const mask = input.mask ?? ((text) => text);
|
|
26673
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
26730
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-DyQpEv77.js").then((n) => n.l);
|
|
26674
26731
|
let reason;
|
|
26675
26732
|
try {
|
|
26676
26733
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -29217,7 +29274,7 @@ function handleOutputResolutionFailure(deps, error, outputKey, outputs, secrets,
|
|
|
29217
29274
|
}
|
|
29218
29275
|
|
|
29219
29276
|
// src/analyzer/skipped-outputs.ts
|
|
29220
|
-
function canonicalJson$
|
|
29277
|
+
function canonicalJson$4(value) {
|
|
29221
29278
|
return JSON.stringify(value, (_key, v) => {
|
|
29222
29279
|
if (v !== null && typeof v === "object" && !Array.isArray(v)) {
|
|
29223
29280
|
const sorted = Object.create(null);
|
|
@@ -29247,7 +29304,7 @@ function skippedOutputDigest(template, outputKey) {
|
|
|
29247
29304
|
sections[section] = section === "Parameters" ? withNoEchoDefaultsMasked(body) : body;
|
|
29248
29305
|
}
|
|
29249
29306
|
const entry = template.Outputs?.[outputKey];
|
|
29250
|
-
return createHash("sha256").update(canonicalJson$
|
|
29307
|
+
return createHash("sha256").update(canonicalJson$4({
|
|
29251
29308
|
output: entry,
|
|
29252
29309
|
template: sections
|
|
29253
29310
|
})).digest("hex");
|
|
@@ -30103,7 +30160,7 @@ function keepPersistedPlainLeaves(redacted, raw, persisted) {
|
|
|
30103
30160
|
}
|
|
30104
30161
|
return out ?? redacted;
|
|
30105
30162
|
}
|
|
30106
|
-
if (!isPlainRecord$
|
|
30163
|
+
if (!isPlainRecord$5(raw) || !isPlainRecord$5(persisted) || !isPlainRecord$5(redacted)) return redacted;
|
|
30107
30164
|
let out;
|
|
30108
30165
|
for (const key of Object.keys(redacted)) {
|
|
30109
30166
|
if (!hasOwnKey(raw, key) || !hasOwnKey(persisted, key)) continue;
|
|
@@ -30114,7 +30171,7 @@ function keepPersistedPlainLeaves(redacted, raw, persisted) {
|
|
|
30114
30171
|
}
|
|
30115
30172
|
return out ?? redacted;
|
|
30116
30173
|
}
|
|
30117
|
-
function isPlainRecord$
|
|
30174
|
+
function isPlainRecord$5(value) {
|
|
30118
30175
|
return typeof value === "object" && value !== null && !Array.isArray(value) && hasPlainPrototype(value);
|
|
30119
30176
|
}
|
|
30120
30177
|
|
|
@@ -32305,7 +32362,7 @@ function maskRestoredNoEchoRecord(record, baseline, substituted = []) {
|
|
|
32305
32362
|
const marked = noEchoLeavesOf(baseline) ?? [];
|
|
32306
32363
|
const names = declaredNoEchoAttributeNames(baseline);
|
|
32307
32364
|
if (marked.length === 0 && names.length === 0 && substituted.length === 0) return record;
|
|
32308
|
-
const echoes = (name, value) => value !== record.physicalId && substituted.some((leaf) => leaf.coordinate[0] === name && canonicalJson$
|
|
32365
|
+
const echoes = (name, value) => value !== record.physicalId && substituted.some((leaf) => leaf.coordinate[0] === name && canonicalJson$6(leaf.value) === canonicalJson$6(value));
|
|
32309
32366
|
let attributes = record.attributes;
|
|
32310
32367
|
if (attributes !== void 0 && attributes !== null && typeof attributes === "object") for (const [name, value] of Object.entries(attributes)) {
|
|
32311
32368
|
if (!names.includes(name) && !echoes(name, value)) continue;
|
|
@@ -32316,7 +32373,7 @@ function maskRestoredNoEchoRecord(record, baseline, substituted = []) {
|
|
|
32316
32373
|
const list = coordinate.findIndex((segment) => typeof segment === "number");
|
|
32317
32374
|
if (list < 0) return false;
|
|
32318
32375
|
const path = coordinate.slice(0, list);
|
|
32319
|
-
return canonicalJson$
|
|
32376
|
+
return canonicalJson$6(valueAtCoordinate(byIndex, path)) !== canonicalJson$6(valueAtCoordinate(baseline.properties, path));
|
|
32320
32377
|
});
|
|
32321
32378
|
const properties = reshaped.length === 0 ? byIndex : maskReadbackAtCoordinates(byIndex, baseline.properties, reshaped);
|
|
32322
32379
|
const widened = reshaped.map((coordinate) => readbackPathFor(byIndex, baseline.properties, coordinate)).filter((path, i) => path !== void 0 && path.length < reshaped[i].length);
|
|
@@ -32488,11 +32545,11 @@ function canonicalizeUnorderedArraysAtPaths(v, paths) {
|
|
|
32488
32545
|
if (paths.length === 0) return v;
|
|
32489
32546
|
return walkUnordered(v, "", paths);
|
|
32490
32547
|
}
|
|
32491
|
-
function canonicalJson$
|
|
32492
|
-
if (Array.isArray(v)) return `[${v.map(canonicalJson$
|
|
32548
|
+
function canonicalJson$3(v) {
|
|
32549
|
+
if (Array.isArray(v)) return `[${v.map(canonicalJson$3).join(",")}]`;
|
|
32493
32550
|
if (v && typeof v === "object") {
|
|
32494
32551
|
const bag = v;
|
|
32495
|
-
return `{${Object.keys(bag).filter((k) => bag[k] !== void 0).sort().map((k) => `${JSON.stringify(k)}:${canonicalJson$
|
|
32552
|
+
return `{${Object.keys(bag).filter((k) => bag[k] !== void 0).sort().map((k) => `${JSON.stringify(k)}:${canonicalJson$3(bag[k])}`).join(",")}}`;
|
|
32496
32553
|
}
|
|
32497
32554
|
return JSON.stringify(v) ?? "null";
|
|
32498
32555
|
}
|
|
@@ -32505,7 +32562,7 @@ function walkUnordered(v, path, paths) {
|
|
|
32505
32562
|
if (mapped.every(isPlainObjectElement)) {
|
|
32506
32563
|
const keyed = mapped.map((el) => ({
|
|
32507
32564
|
el,
|
|
32508
|
-
key: canonicalJson$
|
|
32565
|
+
key: canonicalJson$3(el)
|
|
32509
32566
|
}));
|
|
32510
32567
|
keyed.sort((a, b) => a.key < b.key ? -1 : a.key > b.key ? 1 : 0);
|
|
32511
32568
|
return keyed.map((k) => k.el);
|
|
@@ -32528,11 +32585,12 @@ function calculateResourceDrift(stateProperties, awsProperties, options) {
|
|
|
32528
32585
|
const ignore = options?.ignorePaths ?? [];
|
|
32529
32586
|
const union = options?.unionWalkObjects ?? false;
|
|
32530
32587
|
const unordered = options?.unorderedPaths ?? [];
|
|
32588
|
+
const unionPaths = options?.unionWalkPaths ?? [];
|
|
32531
32589
|
stateProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(stateProperties)), unordered);
|
|
32532
32590
|
awsProperties = canonicalizeUnorderedArraysAtPaths(canonicalizeIdArraysDeep(canonicalizeTagListsDeep(awsProperties)), unordered);
|
|
32533
32591
|
for (const key of Object.keys(stateProperties)) {
|
|
32534
32592
|
if (isIgnoredPath(key, ignore)) continue;
|
|
32535
|
-
diffAt(key, stateProperties[key], awsProperties[key], drifts, ignore, union);
|
|
32593
|
+
diffAt(key, stateProperties[key], awsProperties[key], drifts, ignore, union, unionPaths);
|
|
32536
32594
|
}
|
|
32537
32595
|
return drifts;
|
|
32538
32596
|
}
|
|
@@ -32548,17 +32606,17 @@ function undeclaredEmptyObservedKeys(observed, declared) {
|
|
|
32548
32606
|
function isIgnoredPath(path, ignorePaths) {
|
|
32549
32607
|
return matchesPathPrefix(path, ignorePaths);
|
|
32550
32608
|
}
|
|
32551
|
-
function diffAt(path, stateValue, awsValue, out, ignorePaths, unionWalkObjects) {
|
|
32609
|
+
function diffAt(path, stateValue, awsValue, out, ignorePaths, unionWalkObjects, unionWalkPaths) {
|
|
32552
32610
|
const stateForm = jsonForm(stateValue);
|
|
32553
32611
|
const awsForm = jsonForm(awsValue);
|
|
32554
32612
|
if (deepEqual$1(stateForm, awsForm)) return;
|
|
32555
32613
|
if (typeof stateValue === "string" && stateValue.includes("{{resolve:")) return;
|
|
32556
32614
|
if (isPlainObject$5(stateForm) && isPlainObject$5(awsForm) && !Array.isArray(stateForm) && !Array.isArray(awsForm)) {
|
|
32557
|
-
const keys = unionWalkObjects ? /* @__PURE__ */ new Set([...Object.keys(stateForm), ...Object.keys(awsForm)]) : Object.keys(stateForm);
|
|
32615
|
+
const keys = unionWalkObjects || matchesPathPrefix(path, unionWalkPaths) ? /* @__PURE__ */ new Set([...Object.keys(stateForm), ...Object.keys(awsForm)]) : Object.keys(stateForm);
|
|
32558
32616
|
for (const key of keys) {
|
|
32559
32617
|
const childPath = `${path}.${key}`;
|
|
32560
32618
|
if (isIgnoredPath(childPath, ignorePaths)) continue;
|
|
32561
|
-
diffAt(childPath, stateForm[key], awsForm[key], out, ignorePaths, unionWalkObjects);
|
|
32619
|
+
diffAt(childPath, stateForm[key], awsForm[key], out, ignorePaths, unionWalkObjects, unionWalkPaths);
|
|
32562
32620
|
}
|
|
32563
32621
|
return;
|
|
32564
32622
|
}
|
|
@@ -32964,11 +33022,16 @@ function buildReadCurrentStateContext(state, excludedLogicalId) {
|
|
|
32964
33022
|
};
|
|
32965
33023
|
}
|
|
32966
33024
|
const own = (state.resources ?? {})[excludedLogicalId];
|
|
32967
|
-
const
|
|
32968
|
-
|
|
33025
|
+
const ownRecord = (key) => {
|
|
33026
|
+
const value = isReadableResourceEntry(own) ? own[key] : void 0;
|
|
33027
|
+
return typeof value === "object" && value !== null && !Array.isArray(value) ? value : void 0;
|
|
33028
|
+
};
|
|
33029
|
+
const ownAttributes = ownRecord("attributes");
|
|
33030
|
+
const ownObserved = ownRecord("observedProperties");
|
|
32969
33031
|
return {
|
|
32970
33032
|
siblings,
|
|
32971
|
-
...ownAttributes && { attributes: ownAttributes }
|
|
33033
|
+
...ownAttributes && { attributes: ownAttributes },
|
|
33034
|
+
...ownObserved && { driftBaseline: ownObserved }
|
|
32972
33035
|
};
|
|
32973
33036
|
}
|
|
32974
33037
|
|
|
@@ -34405,12 +34468,12 @@ const IDENTITY_KEYS$1 = [
|
|
|
34405
34468
|
"DestinationSecurityGroupId",
|
|
34406
34469
|
"DestinationPrefixListId"
|
|
34407
34470
|
];
|
|
34408
|
-
function isPlainRecord$
|
|
34471
|
+
function isPlainRecord$4(value) {
|
|
34409
34472
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
34410
34473
|
}
|
|
34411
34474
|
function namesGroup(groupId, logicalId, physicalId) {
|
|
34412
34475
|
if (groupId === physicalId) return true;
|
|
34413
|
-
if (!isPlainRecord$
|
|
34476
|
+
if (!isPlainRecord$4(groupId)) return false;
|
|
34414
34477
|
if (groupId["Ref"] === logicalId) return true;
|
|
34415
34478
|
const getAtt = groupId["Fn::GetAtt"];
|
|
34416
34479
|
return Array.isArray(getAtt) && getAtt[0] === logicalId && getAtt[1] === "GroupId";
|
|
@@ -34419,7 +34482,7 @@ async function buildSgRuleCaptureSiblings(deps, capturedLogicalId, capturedPhysi
|
|
|
34419
34482
|
const siblings = {};
|
|
34420
34483
|
for (const [lid, rec] of Object.entries(stateResources)) {
|
|
34421
34484
|
if (lid === capturedLogicalId || !RULE_TYPES.has(rec?.resourceType)) continue;
|
|
34422
|
-
if (!isPlainRecord$
|
|
34485
|
+
if (!isPlainRecord$4(rec.properties) || rec.properties["GroupId"] !== capturedPhysicalId) continue;
|
|
34423
34486
|
siblings[lid] = {
|
|
34424
34487
|
resourceType: rec.resourceType,
|
|
34425
34488
|
properties: rec.properties
|
|
@@ -34430,7 +34493,7 @@ async function buildSgRuleCaptureSiblings(deps, capturedLogicalId, capturedPhysi
|
|
|
34430
34493
|
if (lid === capturedLogicalId || !RULE_TYPES.has(res.Type)) continue;
|
|
34431
34494
|
if (conditions !== void 0 && res.Condition !== void 0 && conditions[res.Condition] === false) continue;
|
|
34432
34495
|
const props = res.Properties;
|
|
34433
|
-
if (!isPlainRecord$
|
|
34496
|
+
if (!isPlainRecord$4(props) || !namesGroup(props["GroupId"], capturedLogicalId, capturedPhysicalId)) continue;
|
|
34434
34497
|
resolverContext ??= deps.buildResolverContext({
|
|
34435
34498
|
template,
|
|
34436
34499
|
resources: stateResources,
|
|
@@ -34444,7 +34507,7 @@ async function buildSgRuleCaptureSiblings(deps, capturedLogicalId, capturedPhysi
|
|
|
34444
34507
|
} catch {
|
|
34445
34508
|
continue;
|
|
34446
34509
|
}
|
|
34447
|
-
if (!isPlainRecord$
|
|
34510
|
+
if (!isPlainRecord$4(resolved)) continue;
|
|
34448
34511
|
const key = siblings[lid] === void 0 ? lid : `${lid}#template`;
|
|
34449
34512
|
siblings[key] = {
|
|
34450
34513
|
resourceType: res.Type,
|
|
@@ -34517,11 +34580,11 @@ const PEER_KEYS = {
|
|
|
34517
34580
|
"DestinationPrefixListId"
|
|
34518
34581
|
]
|
|
34519
34582
|
};
|
|
34520
|
-
function isPlainRecord$
|
|
34583
|
+
function isPlainRecord$3(value) {
|
|
34521
34584
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
34522
34585
|
}
|
|
34523
34586
|
function sgRuleOwnershipIdentity(rule, direction) {
|
|
34524
|
-
if (!isPlainRecord$
|
|
34587
|
+
if (!isPlainRecord$3(rule)) return void 0;
|
|
34525
34588
|
if ([
|
|
34526
34589
|
"IpProtocol",
|
|
34527
34590
|
"FromPort",
|
|
@@ -34544,7 +34607,7 @@ function siblingOwnedSgRuleIdentities(groupId, direction, properties, context) {
|
|
|
34544
34607
|
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
34545
34608
|
if (sibling.resourceType !== RULE_TYPE[direction]) continue;
|
|
34546
34609
|
const props = sibling.properties;
|
|
34547
|
-
if (!isPlainRecord$
|
|
34610
|
+
if (!isPlainRecord$3(props) || props["GroupId"] !== groupId) continue;
|
|
34548
34611
|
const identity = sgRuleOwnershipIdentity(props, direction);
|
|
34549
34612
|
if (identity !== void 0) owned.add(identity);
|
|
34550
34613
|
}
|
|
@@ -34595,7 +34658,7 @@ function stripSiblingOwnedSgRules(resourceType, physicalId, baseline, aws, prope
|
|
|
34595
34658
|
function ruleWriteOf(record) {
|
|
34596
34659
|
const direction = record.resourceType === RULE_TYPE.ingress ? "ingress" : record.resourceType === RULE_TYPE.egress ? "egress" : void 0;
|
|
34597
34660
|
const props = record.properties;
|
|
34598
|
-
if (direction === void 0 || !isPlainRecord$
|
|
34661
|
+
if (direction === void 0 || !isPlainRecord$3(props)) return void 0;
|
|
34599
34662
|
const group = props["GroupId"];
|
|
34600
34663
|
if (typeof group !== "string" || group === "" || isRedactedRecordedValue(group)) return void 0;
|
|
34601
34664
|
const identity = sgRuleOwnershipIdentity(props, direction);
|
|
@@ -34660,6 +34723,794 @@ function withoutStoppedSiblingSgRules(bag, stopped, properties) {
|
|
|
34660
34723
|
return out;
|
|
34661
34724
|
}
|
|
34662
34725
|
|
|
34726
|
+
// src/provisioning/sibling-owned-members/rows.ts
|
|
34727
|
+
function isPlainRecord$2(value) {
|
|
34728
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
34729
|
+
}
|
|
34730
|
+
function plainString(value) {
|
|
34731
|
+
return typeof value === "string" && value !== "" && !isRedactedRecordedValue(value) ? value : void 0;
|
|
34732
|
+
}
|
|
34733
|
+
function clusterWrites(properties) {
|
|
34734
|
+
const cluster = plainString(properties["Cluster"]);
|
|
34735
|
+
if (cluster === void 0) return [];
|
|
34736
|
+
const arn = /^arn:[^:]+:ecs:[^:]*:[^:]*:cluster\/(.+)$/.exec(cluster);
|
|
34737
|
+
return [{ parent: arn ? arn[1] : cluster }];
|
|
34738
|
+
}
|
|
34739
|
+
function snsSubscriptionIdentity(element) {
|
|
34740
|
+
if (!isPlainRecord$2(element)) return void 0;
|
|
34741
|
+
const protocol = plainString(element["Protocol"]);
|
|
34742
|
+
const endpoint = plainString(element["Endpoint"]);
|
|
34743
|
+
return protocol === void 0 || endpoint === void 0 ? void 0 : JSON.stringify([protocol, endpoint]);
|
|
34744
|
+
}
|
|
34745
|
+
function snsSubscriptionWrites(properties) {
|
|
34746
|
+
const topic = plainString(properties["TopicArn"]);
|
|
34747
|
+
const member = snsSubscriptionIdentity(properties);
|
|
34748
|
+
return topic === void 0 || member === void 0 ? [] : [{
|
|
34749
|
+
parent: topic,
|
|
34750
|
+
member
|
|
34751
|
+
}];
|
|
34752
|
+
}
|
|
34753
|
+
function canonicalJson$2(value) {
|
|
34754
|
+
let doc = value;
|
|
34755
|
+
if (typeof doc === "string") try {
|
|
34756
|
+
doc = JSON.parse(doc);
|
|
34757
|
+
} catch {
|
|
34758
|
+
return;
|
|
34759
|
+
}
|
|
34760
|
+
if (doc === void 0 || isRedactedRecordedValue(doc)) return void 0;
|
|
34761
|
+
const sort = (v) => Array.isArray(v) ? v.map(sort) : isPlainRecord$2(v) ? Object.fromEntries(Object.keys(v).sort().map((k) => [k, sort(v[k])])) : v;
|
|
34762
|
+
return JSON.stringify(sort(doc));
|
|
34763
|
+
}
|
|
34764
|
+
function inlinePolicyName(element) {
|
|
34765
|
+
return isPlainRecord$2(element) ? plainString(element["PolicyName"]) : void 0;
|
|
34766
|
+
}
|
|
34767
|
+
function inlinePolicyMemberName(member) {
|
|
34768
|
+
try {
|
|
34769
|
+
const name = JSON.parse(member)[0];
|
|
34770
|
+
return typeof name === "string" ? name : void 0;
|
|
34771
|
+
} catch {
|
|
34772
|
+
return;
|
|
34773
|
+
}
|
|
34774
|
+
}
|
|
34775
|
+
function inlinePolicyIdentity(element) {
|
|
34776
|
+
if (!isPlainRecord$2(element)) return void 0;
|
|
34777
|
+
const name = plainString(element["PolicyName"]);
|
|
34778
|
+
const doc = canonicalJson$2(element["PolicyDocument"]);
|
|
34779
|
+
return name === void 0 || doc === void 0 ? void 0 : JSON.stringify([name, doc]);
|
|
34780
|
+
}
|
|
34781
|
+
function iamPolicyWrites(field) {
|
|
34782
|
+
return (properties) => {
|
|
34783
|
+
const member = inlinePolicyIdentity(properties);
|
|
34784
|
+
const names = properties[field];
|
|
34785
|
+
if (member === void 0 || !Array.isArray(names)) return [];
|
|
34786
|
+
return names.flatMap((n) => {
|
|
34787
|
+
const parent = plainString(n);
|
|
34788
|
+
return parent === void 0 ? [] : [{
|
|
34789
|
+
parent,
|
|
34790
|
+
member
|
|
34791
|
+
}];
|
|
34792
|
+
});
|
|
34793
|
+
};
|
|
34794
|
+
}
|
|
34795
|
+
function standalonePolicyWrites(field) {
|
|
34796
|
+
return (properties) => {
|
|
34797
|
+
const member = inlinePolicyIdentity(properties);
|
|
34798
|
+
const parent = plainString(properties[field]);
|
|
34799
|
+
return member === void 0 || parent === void 0 ? [] : [{
|
|
34800
|
+
parent,
|
|
34801
|
+
member
|
|
34802
|
+
}];
|
|
34803
|
+
};
|
|
34804
|
+
}
|
|
34805
|
+
function eipAssociationWrites(properties) {
|
|
34806
|
+
const parent = plainString(properties["AllocationId"]) ?? plainString(properties["EIP"]);
|
|
34807
|
+
return parent === void 0 ? [] : [{ parent }];
|
|
34808
|
+
}
|
|
34809
|
+
function lifecycleHookWrites(properties, physicalId) {
|
|
34810
|
+
const group = plainString(properties["AutoScalingGroupName"]);
|
|
34811
|
+
const fromId = typeof physicalId === "string" ? physicalId.split("|") : [];
|
|
34812
|
+
const name = plainString(properties["LifecycleHookName"]) ?? (fromId.length === 2 && fromId[0] === group ? plainString(fromId[1]) : void 0);
|
|
34813
|
+
return group === void 0 || name === void 0 ? [] : [{
|
|
34814
|
+
parent: group,
|
|
34815
|
+
member: name
|
|
34816
|
+
}];
|
|
34817
|
+
}
|
|
34818
|
+
function lifecycleHookIdentity(element) {
|
|
34819
|
+
return isPlainRecord$2(element) ? plainString(element["LifecycleHookName"]) : void 0;
|
|
34820
|
+
}
|
|
34821
|
+
function emrGroupIdentity(element) {
|
|
34822
|
+
if (!isPlainRecord$2(element)) return void 0;
|
|
34823
|
+
const name = plainString(element["Name"]);
|
|
34824
|
+
const type = plainString(element["InstanceType"]);
|
|
34825
|
+
return name === void 0 || type === void 0 ? void 0 : JSON.stringify([name, type]);
|
|
34826
|
+
}
|
|
34827
|
+
function emrGroupWrites(properties) {
|
|
34828
|
+
const cluster = plainString(properties["JobFlowId"]);
|
|
34829
|
+
const member = properties["InstanceRole"] === "TASK" ? emrGroupIdentity(properties) : void 0;
|
|
34830
|
+
return cluster === void 0 || member === void 0 ? [] : [{
|
|
34831
|
+
parent: cluster,
|
|
34832
|
+
member
|
|
34833
|
+
}];
|
|
34834
|
+
}
|
|
34835
|
+
function emrFleetIdentity(element) {
|
|
34836
|
+
return isPlainRecord$2(element) ? plainString(element["Name"]) : void 0;
|
|
34837
|
+
}
|
|
34838
|
+
function emrFleetWrites(properties) {
|
|
34839
|
+
const cluster = plainString(properties["ClusterId"]);
|
|
34840
|
+
const member = properties["InstanceFleetType"] === "TASK" ? emrFleetIdentity(properties) : void 0;
|
|
34841
|
+
return cluster === void 0 || member === void 0 ? [] : [{
|
|
34842
|
+
parent: cluster,
|
|
34843
|
+
member
|
|
34844
|
+
}];
|
|
34845
|
+
}
|
|
34846
|
+
function instanceAttachmentWrites(idField) {
|
|
34847
|
+
return (properties) => {
|
|
34848
|
+
const instance = plainString(properties["InstanceId"]);
|
|
34849
|
+
const member = plainString(properties[idField]);
|
|
34850
|
+
return instance === void 0 || member === void 0 ? [] : [{
|
|
34851
|
+
parent: instance,
|
|
34852
|
+
member
|
|
34853
|
+
}];
|
|
34854
|
+
};
|
|
34855
|
+
}
|
|
34856
|
+
function instanceAttachmentIdentity(idField) {
|
|
34857
|
+
return (element) => isPlainRecord$2(element) ? plainString(element[idField]) : void 0;
|
|
34858
|
+
}
|
|
34859
|
+
const PRINCIPALS = [
|
|
34860
|
+
[
|
|
34861
|
+
"AWS::IAM::Role",
|
|
34862
|
+
"Roles",
|
|
34863
|
+
"AWS::IAM::RolePolicy",
|
|
34864
|
+
"RoleName"
|
|
34865
|
+
],
|
|
34866
|
+
[
|
|
34867
|
+
"AWS::IAM::User",
|
|
34868
|
+
"Users",
|
|
34869
|
+
"AWS::IAM::UserPolicy",
|
|
34870
|
+
"UserName"
|
|
34871
|
+
],
|
|
34872
|
+
[
|
|
34873
|
+
"AWS::IAM::Group",
|
|
34874
|
+
"Groups",
|
|
34875
|
+
"AWS::IAM::GroupPolicy",
|
|
34876
|
+
"GroupName"
|
|
34877
|
+
]
|
|
34878
|
+
];
|
|
34879
|
+
const SIBLING_OWNED_ROWS = [
|
|
34880
|
+
{
|
|
34881
|
+
child: "AWS::ECS::ClusterCapacityProviderAssociations",
|
|
34882
|
+
parent: "AWS::ECS::Cluster",
|
|
34883
|
+
key: "CapacityProviders",
|
|
34884
|
+
writes: clusterWrites
|
|
34885
|
+
},
|
|
34886
|
+
{
|
|
34887
|
+
child: "AWS::ECS::ClusterCapacityProviderAssociations",
|
|
34888
|
+
parent: "AWS::ECS::Cluster",
|
|
34889
|
+
key: "DefaultCapacityProviderStrategy",
|
|
34890
|
+
writes: clusterWrites
|
|
34891
|
+
},
|
|
34892
|
+
{
|
|
34893
|
+
child: "AWS::SNS::Subscription",
|
|
34894
|
+
parent: "AWS::SNS::Topic",
|
|
34895
|
+
key: "Subscription",
|
|
34896
|
+
writes: snsSubscriptionWrites,
|
|
34897
|
+
identity: snsSubscriptionIdentity
|
|
34898
|
+
},
|
|
34899
|
+
{
|
|
34900
|
+
child: "AWS::AutoScaling::LifecycleHook",
|
|
34901
|
+
parent: "AWS::AutoScaling::AutoScalingGroup",
|
|
34902
|
+
key: "LifecycleHookSpecificationList",
|
|
34903
|
+
writes: lifecycleHookWrites,
|
|
34904
|
+
identity: lifecycleHookIdentity
|
|
34905
|
+
},
|
|
34906
|
+
{
|
|
34907
|
+
child: "AWS::EMR::InstanceGroupConfig",
|
|
34908
|
+
parent: "AWS::EMR::Cluster",
|
|
34909
|
+
key: "Instances.TaskInstanceGroups",
|
|
34910
|
+
writes: emrGroupWrites,
|
|
34911
|
+
identity: emrGroupIdentity,
|
|
34912
|
+
emptyMeansAbsent: true
|
|
34913
|
+
},
|
|
34914
|
+
{
|
|
34915
|
+
child: "AWS::EMR::InstanceFleetConfig",
|
|
34916
|
+
parent: "AWS::EMR::Cluster",
|
|
34917
|
+
key: "Instances.TaskInstanceFleets",
|
|
34918
|
+
writes: emrFleetWrites,
|
|
34919
|
+
identity: emrFleetIdentity,
|
|
34920
|
+
emptyMeansAbsent: true
|
|
34921
|
+
},
|
|
34922
|
+
{
|
|
34923
|
+
child: "AWS::EC2::VolumeAttachment",
|
|
34924
|
+
parent: "AWS::EC2::Instance",
|
|
34925
|
+
key: "Volumes",
|
|
34926
|
+
writes: instanceAttachmentWrites("VolumeId"),
|
|
34927
|
+
identity: instanceAttachmentIdentity("VolumeId")
|
|
34928
|
+
},
|
|
34929
|
+
{
|
|
34930
|
+
child: "AWS::EC2::NetworkInterfaceAttachment",
|
|
34931
|
+
parent: "AWS::EC2::Instance",
|
|
34932
|
+
key: "NetworkInterfaces",
|
|
34933
|
+
writes: instanceAttachmentWrites("NetworkInterfaceId"),
|
|
34934
|
+
identity: instanceAttachmentIdentity("NetworkInterfaceId")
|
|
34935
|
+
},
|
|
34936
|
+
{
|
|
34937
|
+
child: "AWS::EC2::EIPAssociation",
|
|
34938
|
+
parent: "AWS::EC2::EIP",
|
|
34939
|
+
key: "InstanceId",
|
|
34940
|
+
writes: eipAssociationWrites,
|
|
34941
|
+
parentIds: (physicalId) => physicalId.split("|").filter((part) => part !== "")
|
|
34942
|
+
},
|
|
34943
|
+
...PRINCIPALS.flatMap(([parent, field, standalone, nameField]) => [{
|
|
34944
|
+
child: "AWS::IAM::Policy",
|
|
34945
|
+
parent,
|
|
34946
|
+
key: "Policies",
|
|
34947
|
+
writes: iamPolicyWrites(field),
|
|
34948
|
+
identity: inlinePolicyIdentity,
|
|
34949
|
+
nameOf: inlinePolicyName,
|
|
34950
|
+
memberName: inlinePolicyMemberName
|
|
34951
|
+
}, {
|
|
34952
|
+
child: standalone,
|
|
34953
|
+
parent,
|
|
34954
|
+
key: "Policies",
|
|
34955
|
+
writes: standalonePolicyWrites(nameField),
|
|
34956
|
+
identity: inlinePolicyIdentity,
|
|
34957
|
+
nameOf: inlinePolicyName,
|
|
34958
|
+
memberName: inlinePolicyMemberName
|
|
34959
|
+
}])
|
|
34960
|
+
];
|
|
34961
|
+
|
|
34962
|
+
// src/provisioning/sibling-owned-members/helper-readd.ts
|
|
34963
|
+
const asString = (m) => typeof m === "string" ? m : void 0;
|
|
34964
|
+
const folded = (m) => typeof m === "string" ? m.toLowerCase() : void 0;
|
|
34965
|
+
function helperOwnedLists(resourceType, physicalId, properties, context) {
|
|
34966
|
+
const declared = (key, keyOf) => {
|
|
34967
|
+
const list = properties?.[key];
|
|
34968
|
+
const out = /* @__PURE__ */ new Set();
|
|
34969
|
+
if (Array.isArray(list)) for (const m of list) {
|
|
34970
|
+
const k = keyOf(m);
|
|
34971
|
+
if (k !== void 0) out.add(k);
|
|
34972
|
+
}
|
|
34973
|
+
return out;
|
|
34974
|
+
};
|
|
34975
|
+
const list = (key, keyOf, members) => {
|
|
34976
|
+
const own = declared(key, keyOf);
|
|
34977
|
+
const owned = /* @__PURE__ */ new Set();
|
|
34978
|
+
for (const m of members) {
|
|
34979
|
+
const k = keyOf(m);
|
|
34980
|
+
if (k !== void 0 && !own.has(k)) owned.add(k);
|
|
34981
|
+
}
|
|
34982
|
+
return {
|
|
34983
|
+
key,
|
|
34984
|
+
keyOf,
|
|
34985
|
+
owned
|
|
34986
|
+
};
|
|
34987
|
+
};
|
|
34988
|
+
const out = [];
|
|
34989
|
+
const field = managedPolicyAttachmentField(resourceType);
|
|
34990
|
+
if (field !== void 0) out.push(list("ManagedPolicyArns", asString, collectManagedPolicyArnsAttachedBySiblings(physicalId, context, field)));
|
|
34991
|
+
if (resourceType === "AWS::IAM::User") out.push(list("Groups", folded, collectGroupsAddedBySiblings(physicalId, context)));
|
|
34992
|
+
if (resourceType === "AWS::IAM::ManagedPolicy") for (const key of [
|
|
34993
|
+
"Roles",
|
|
34994
|
+
"Users",
|
|
34995
|
+
"Groups"
|
|
34996
|
+
]) out.push(list(key, asString, collectPrincipalsAttachingPolicy(physicalId, context, key)));
|
|
34997
|
+
if (resourceType === "AWS::EC2::SecurityGroup") for (const [key, direction] of [["SecurityGroupIngress", "ingress"], ["SecurityGroupEgress", "egress"]]) out.push({
|
|
34998
|
+
key,
|
|
34999
|
+
keyOf: (m) => sgRuleOwnershipIdentity(m, direction),
|
|
35000
|
+
owned: siblingOwnedSgRuleIdentities(physicalId, direction, properties, context)
|
|
35001
|
+
});
|
|
35002
|
+
return out.filter((l) => l.owned.size > 0);
|
|
35003
|
+
}
|
|
35004
|
+
function withLiveHelperOwnedMembers(resourceType, physicalId, desired, aws, properties, context) {
|
|
35005
|
+
if (typeof physicalId !== "string" || physicalId === "") return desired;
|
|
35006
|
+
let out = desired;
|
|
35007
|
+
for (const { key, keyOf, owned } of helperOwnedLists(resourceType, physicalId, properties, context)) {
|
|
35008
|
+
const kept = out[key];
|
|
35009
|
+
const live = aws[key];
|
|
35010
|
+
if (!Array.isArray(kept) || !Array.isArray(live)) continue;
|
|
35011
|
+
const anyKey = (m) => keyOf(m) ?? JSON.stringify(m) ?? "";
|
|
35012
|
+
const present = new Set(kept.map(anyKey));
|
|
35013
|
+
const result = [...kept];
|
|
35014
|
+
live.forEach((m, index) => {
|
|
35015
|
+
const k = keyOf(m);
|
|
35016
|
+
if (k === void 0 || !owned.has(k) || present.has(k)) return;
|
|
35017
|
+
let at = 0;
|
|
35018
|
+
for (let j = index - 1; j >= 0; j--) {
|
|
35019
|
+
const pos = result.findIndex((r) => anyKey(r) === anyKey(live[j]));
|
|
35020
|
+
if (pos >= 0) {
|
|
35021
|
+
at = pos + 1;
|
|
35022
|
+
break;
|
|
35023
|
+
}
|
|
35024
|
+
}
|
|
35025
|
+
result.splice(at, 0, m);
|
|
35026
|
+
present.add(k);
|
|
35027
|
+
});
|
|
35028
|
+
if (result.length !== kept.length) out = {
|
|
35029
|
+
...out,
|
|
35030
|
+
[key]: result
|
|
35031
|
+
};
|
|
35032
|
+
}
|
|
35033
|
+
return out;
|
|
35034
|
+
}
|
|
35035
|
+
|
|
35036
|
+
// src/provisioning/sibling-owned-members/pairs.ts
|
|
35037
|
+
const SIBLING_WRITE_PAIRS = [
|
|
35038
|
+
...SIBLING_OWNED_ROWS.map((row) => ({
|
|
35039
|
+
child: row.child,
|
|
35040
|
+
parent: row.parent,
|
|
35041
|
+
key: row.key,
|
|
35042
|
+
verdict: "table",
|
|
35043
|
+
evidence: "SIBLING_OWNED_ROWS"
|
|
35044
|
+
})),
|
|
35045
|
+
...[
|
|
35046
|
+
"AWS::IAM::Role",
|
|
35047
|
+
"AWS::IAM::User",
|
|
35048
|
+
"AWS::IAM::Group"
|
|
35049
|
+
].map((parent) => ({
|
|
35050
|
+
child: "AWS::IAM::ManagedPolicy",
|
|
35051
|
+
parent,
|
|
35052
|
+
key: "ManagedPolicyArns",
|
|
35053
|
+
verdict: "helper",
|
|
35054
|
+
evidence: "iam-sibling-managed-policies.ts (#6324)"
|
|
35055
|
+
})),
|
|
35056
|
+
...[
|
|
35057
|
+
"Roles",
|
|
35058
|
+
"Users",
|
|
35059
|
+
"Groups"
|
|
35060
|
+
].map((key) => ({
|
|
35061
|
+
child: "AWS::IAM::Role / User / Group",
|
|
35062
|
+
parent: "AWS::IAM::ManagedPolicy",
|
|
35063
|
+
key,
|
|
35064
|
+
verdict: "helper",
|
|
35065
|
+
evidence: "iam-sibling-managed-policies.ts (#6328)"
|
|
35066
|
+
})),
|
|
35067
|
+
{
|
|
35068
|
+
child: "AWS::IAM::UserToGroupAddition",
|
|
35069
|
+
parent: "AWS::IAM::User",
|
|
35070
|
+
key: "Groups",
|
|
35071
|
+
verdict: "helper",
|
|
35072
|
+
evidence: "iam-sibling-managed-policies.ts (#6328)"
|
|
35073
|
+
},
|
|
35074
|
+
...["SecurityGroupIngress", "SecurityGroupEgress"].map((key) => ({
|
|
35075
|
+
child: `AWS::EC2::${key}`,
|
|
35076
|
+
parent: "AWS::EC2::SecurityGroup",
|
|
35077
|
+
key,
|
|
35078
|
+
verdict: "helper",
|
|
35079
|
+
evidence: "sg-sibling-rules.ts (#6418)"
|
|
35080
|
+
})),
|
|
35081
|
+
{
|
|
35082
|
+
child: "Custom::S3BucketNotifications",
|
|
35083
|
+
parent: "AWS::S3::Bucket",
|
|
35084
|
+
key: "NotificationConfiguration",
|
|
35085
|
+
verdict: "helper",
|
|
35086
|
+
evidence: "undeclaredUncomparedDriftKeys (#5736): any writer, any stack"
|
|
35087
|
+
},
|
|
35088
|
+
{
|
|
35089
|
+
child: "AWS::Events::EventBusPolicy",
|
|
35090
|
+
parent: "AWS::Events::EventBus",
|
|
35091
|
+
key: "Policy",
|
|
35092
|
+
verdict: "helper",
|
|
35093
|
+
evidence: "undeclaredUncomparedDriftKeys (#6323): any writer, any stack"
|
|
35094
|
+
},
|
|
35095
|
+
{
|
|
35096
|
+
child: "AWS::EC2::VolumeAttachment",
|
|
35097
|
+
parent: "AWS::EC2::Instance",
|
|
35098
|
+
key: "BlockDeviceMappings",
|
|
35099
|
+
verdict: "helper",
|
|
35100
|
+
evidence: "undeclaredUncomparedDriftKeys + declared-devices readback (#6384)"
|
|
35101
|
+
},
|
|
35102
|
+
...[
|
|
35103
|
+
[
|
|
35104
|
+
"AWS::IAM::UserToGroupAddition",
|
|
35105
|
+
"AWS::IAM::Group",
|
|
35106
|
+
"members",
|
|
35107
|
+
"the group read has no member list; Cloud Control: the Group schema has no member list"
|
|
35108
|
+
],
|
|
35109
|
+
[
|
|
35110
|
+
"AWS::Lambda::Permission",
|
|
35111
|
+
"AWS::Lambda::Function",
|
|
35112
|
+
"policy",
|
|
35113
|
+
"lambda-function read-state emits no Policy; Cloud Control: the Function schema has no Policy"
|
|
35114
|
+
],
|
|
35115
|
+
[
|
|
35116
|
+
"AWS::Lambda::EventSourceMapping / EventInvokeConfig / Url",
|
|
35117
|
+
"AWS::Lambda::Function",
|
|
35118
|
+
"-",
|
|
35119
|
+
"lambda-function read-state emits none of their keys; Cloud Control: the Function schema has none of their keys"
|
|
35120
|
+
],
|
|
35121
|
+
[
|
|
35122
|
+
"AWS::S3::BucketPolicy",
|
|
35123
|
+
"AWS::S3::Bucket",
|
|
35124
|
+
"policy",
|
|
35125
|
+
"s3-bucket read-state emits no Policy; Cloud Control: the Bucket schema has no Policy"
|
|
35126
|
+
],
|
|
35127
|
+
[
|
|
35128
|
+
"AWS::SNS::TopicPolicy",
|
|
35129
|
+
"AWS::SNS::Topic",
|
|
35130
|
+
"policy",
|
|
35131
|
+
"sns-topic read-state emits no Policy; Cloud Control: the Topic schema has no Policy"
|
|
35132
|
+
],
|
|
35133
|
+
[
|
|
35134
|
+
"AWS::SQS::QueuePolicy",
|
|
35135
|
+
"AWS::SQS::Queue",
|
|
35136
|
+
"policy",
|
|
35137
|
+
"the SQS queue read emits no Policy; Cloud Control: the Queue schema has no Policy"
|
|
35138
|
+
],
|
|
35139
|
+
[
|
|
35140
|
+
"AWS::SNS::TopicInlinePolicy",
|
|
35141
|
+
"AWS::SNS::Topic",
|
|
35142
|
+
"policy",
|
|
35143
|
+
"sns-topic read-state emits no Policy; Cloud Control: the Topic schema has no Policy"
|
|
35144
|
+
],
|
|
35145
|
+
[
|
|
35146
|
+
"AWS::SQS::QueueInlinePolicy",
|
|
35147
|
+
"AWS::SQS::Queue",
|
|
35148
|
+
"policy",
|
|
35149
|
+
"the SQS queue read emits no Policy; Cloud Control: the Queue schema has no Policy"
|
|
35150
|
+
],
|
|
35151
|
+
[
|
|
35152
|
+
"AWS::Logs::SubscriptionFilter",
|
|
35153
|
+
"AWS::Logs::LogGroup",
|
|
35154
|
+
"filters",
|
|
35155
|
+
"logs-loggroup read-state emits no filter key; Cloud Control: the LogGroup schema has no filter property"
|
|
35156
|
+
],
|
|
35157
|
+
[
|
|
35158
|
+
"AWS::ElasticLoadBalancingV2::ListenerRule",
|
|
35159
|
+
"AWS::ElasticLoadBalancingV2::Listener",
|
|
35160
|
+
"rules",
|
|
35161
|
+
"the listener read has no rule list; DefaultActions is the listener's own; Cloud Control: the Listener schema has no rule list"
|
|
35162
|
+
],
|
|
35163
|
+
[
|
|
35164
|
+
"AWS::ElasticLoadBalancingV2::ListenerCertificate",
|
|
35165
|
+
"AWS::ElasticLoadBalancingV2::Listener",
|
|
35166
|
+
"Certificates",
|
|
35167
|
+
"DescribeListeners returns the default certificate only; Cloud Control: the Listener model is read from DescribeListeners too"
|
|
35168
|
+
],
|
|
35169
|
+
[
|
|
35170
|
+
"AWS::EC2::NetworkAclEntry",
|
|
35171
|
+
"AWS::EC2::NetworkAcl",
|
|
35172
|
+
"entries",
|
|
35173
|
+
"the network ACL read emits VpcId only; Cloud Control: the NetworkAcl schema holds Id, Tags and VpcId only"
|
|
35174
|
+
],
|
|
35175
|
+
[
|
|
35176
|
+
"AWS::EC2::Route",
|
|
35177
|
+
"AWS::EC2::RouteTable",
|
|
35178
|
+
"routes",
|
|
35179
|
+
"the route table read emits VpcId only; Cloud Control: the RouteTable schema holds RouteTableId, Tags and VpcId only"
|
|
35180
|
+
],
|
|
35181
|
+
[
|
|
35182
|
+
"AWS::EC2::SubnetRouteTableAssociation / SubnetNetworkAclAssociation",
|
|
35183
|
+
"AWS::EC2::Subnet / RouteTable / NetworkAcl",
|
|
35184
|
+
"associations",
|
|
35185
|
+
"none of the three reads emits an association; Cloud Control: the Subnet's NetworkAclAssociationId is read-only (#6485); the other two schemas have no association"
|
|
35186
|
+
],
|
|
35187
|
+
[
|
|
35188
|
+
"AWS::EC2::VPCGatewayAttachment",
|
|
35189
|
+
"AWS::EC2::VPC / InternetGateway",
|
|
35190
|
+
"attachments",
|
|
35191
|
+
"neither read emits an attachment; Cloud Control: neither schema has an attachment property"
|
|
35192
|
+
],
|
|
35193
|
+
[
|
|
35194
|
+
"AWS::EC2::VPCCidrBlock",
|
|
35195
|
+
"AWS::EC2::VPC",
|
|
35196
|
+
"CidrBlockAssociations",
|
|
35197
|
+
"the VPC read emits the primary CidrBlock only; Cloud Control: the list is read-only (#6485)"
|
|
35198
|
+
],
|
|
35199
|
+
[
|
|
35200
|
+
"AWS::KMS::Alias",
|
|
35201
|
+
"AWS::KMS::Key",
|
|
35202
|
+
"aliases",
|
|
35203
|
+
"the key read emits no alias; Cloud Control: the Key schema has no alias"
|
|
35204
|
+
],
|
|
35205
|
+
[
|
|
35206
|
+
"AWS::SecretsManager::ResourcePolicy / RotationSchedule",
|
|
35207
|
+
"AWS::SecretsManager::Secret",
|
|
35208
|
+
"-",
|
|
35209
|
+
"the secret read emits neither; Cloud Control: the Secret schema has neither"
|
|
35210
|
+
],
|
|
35211
|
+
[
|
|
35212
|
+
"AWS::Cognito::UserPoolClient / UserPoolDomain",
|
|
35213
|
+
"AWS::Cognito::UserPool",
|
|
35214
|
+
"-",
|
|
35215
|
+
"the user pool read emits neither; Cloud Control: the UserPool schema has neither"
|
|
35216
|
+
],
|
|
35217
|
+
[
|
|
35218
|
+
"AWS::Route53::RecordSet",
|
|
35219
|
+
"AWS::Route53::HostedZone",
|
|
35220
|
+
"records",
|
|
35221
|
+
"the hosted zone read emits no records; Cloud Control: the HostedZone schema has no record list"
|
|
35222
|
+
],
|
|
35223
|
+
[
|
|
35224
|
+
"AWS::ApiGateway::Method / Resource",
|
|
35225
|
+
"AWS::ApiGateway::Resource / RestApi",
|
|
35226
|
+
"-",
|
|
35227
|
+
"the resource read emits ParentId and PathPart only; Cloud Control: neither schema lists methods or child resources"
|
|
35228
|
+
]
|
|
35229
|
+
].map(([child, parent, key, evidence]) => ({
|
|
35230
|
+
child,
|
|
35231
|
+
parent,
|
|
35232
|
+
key,
|
|
35233
|
+
verdict: "none",
|
|
35234
|
+
evidence
|
|
35235
|
+
}))
|
|
35236
|
+
];
|
|
35237
|
+
|
|
35238
|
+
// src/provisioning/sibling-owned-members.ts
|
|
35239
|
+
const REMOVE = Symbol("remove");
|
|
35240
|
+
function getAt(bag, path) {
|
|
35241
|
+
let node = bag;
|
|
35242
|
+
for (const segment of path) {
|
|
35243
|
+
if (!isPlainRecord$2(node) || !hasOwnKey(node, segment)) return void 0;
|
|
35244
|
+
node = node[segment];
|
|
35245
|
+
}
|
|
35246
|
+
return node;
|
|
35247
|
+
}
|
|
35248
|
+
function hasAt(bag, path) {
|
|
35249
|
+
let node = bag;
|
|
35250
|
+
for (const segment of path) {
|
|
35251
|
+
if (!isPlainRecord$2(node) || !hasOwnKey(node, segment)) return false;
|
|
35252
|
+
node = node[segment];
|
|
35253
|
+
}
|
|
35254
|
+
return true;
|
|
35255
|
+
}
|
|
35256
|
+
function setAt(bag, path, value) {
|
|
35257
|
+
const [head, ...rest] = path;
|
|
35258
|
+
if (head === void 0) return bag;
|
|
35259
|
+
if (rest.length === 0) {
|
|
35260
|
+
if (value !== REMOVE) return {
|
|
35261
|
+
...bag,
|
|
35262
|
+
[head]: value
|
|
35263
|
+
};
|
|
35264
|
+
const { [head]: _removed, ...kept } = bag;
|
|
35265
|
+
return kept;
|
|
35266
|
+
}
|
|
35267
|
+
const child = bag[head];
|
|
35268
|
+
return isPlainRecord$2(child) ? {
|
|
35269
|
+
...bag,
|
|
35270
|
+
[head]: setAt(child, rest, value)
|
|
35271
|
+
} : bag;
|
|
35272
|
+
}
|
|
35273
|
+
const pathOf = (row) => row.key.split(".");
|
|
35274
|
+
function parentIdsOf(row, physicalId) {
|
|
35275
|
+
return row.parentIds ? row.parentIds(physicalId) : [physicalId];
|
|
35276
|
+
}
|
|
35277
|
+
function ownedByRow(resourceType, physicalId, context) {
|
|
35278
|
+
if (typeof physicalId !== "string" || physicalId === "") return [];
|
|
35279
|
+
const out = [];
|
|
35280
|
+
for (const row of SIBLING_OWNED_ROWS) {
|
|
35281
|
+
if (row.parent !== resourceType) continue;
|
|
35282
|
+
const ids = new Set(parentIdsOf(row, physicalId));
|
|
35283
|
+
const members = /* @__PURE__ */ new Map();
|
|
35284
|
+
let any = false;
|
|
35285
|
+
for (const sibling of Object.values(context?.siblings ?? {})) {
|
|
35286
|
+
if (sibling.resourceType !== row.child || !isPlainRecord$2(sibling.properties)) continue;
|
|
35287
|
+
for (const w of row.writes(sibling.properties, sibling.physicalId)) {
|
|
35288
|
+
if (!ids.has(w.parent)) continue;
|
|
35289
|
+
any = true;
|
|
35290
|
+
if (w.member !== void 0) members.set(w.member, (members.get(w.member) ?? 0) + 1);
|
|
35291
|
+
}
|
|
35292
|
+
}
|
|
35293
|
+
if (any) out.push([row, row.identity ? members : void 0]);
|
|
35294
|
+
}
|
|
35295
|
+
return out;
|
|
35296
|
+
}
|
|
35297
|
+
function effectiveDrop(row, owned, properties) {
|
|
35298
|
+
const drop = new Map(owned ?? []);
|
|
35299
|
+
const identity = row.identity;
|
|
35300
|
+
const own = getAt(properties, pathOf(row));
|
|
35301
|
+
if (identity === void 0 || drop.size === 0 || !Array.isArray(own)) return drop;
|
|
35302
|
+
for (const entry of own) {
|
|
35303
|
+
const id = identity(entry);
|
|
35304
|
+
const n = id === void 0 ? void 0 : drop.get(id);
|
|
35305
|
+
if (n === void 0) continue;
|
|
35306
|
+
if (n <= 1) drop.delete(id);
|
|
35307
|
+
else drop.set(id, n - 1);
|
|
35308
|
+
}
|
|
35309
|
+
return drop;
|
|
35310
|
+
}
|
|
35311
|
+
function namesDroppedFromBaseline(row, drop, properties, readback) {
|
|
35312
|
+
const { nameOf, memberName } = row;
|
|
35313
|
+
if (nameOf === void 0 || memberName === void 0 || readback === void 0) return /* @__PURE__ */ new Set();
|
|
35314
|
+
const liveList = getAt(readback, pathOf(row));
|
|
35315
|
+
const live = new Set(Array.isArray(liveList) ? liveList.map((m) => nameOf(m)) : []);
|
|
35316
|
+
const own = getAt(properties, pathOf(row));
|
|
35317
|
+
const declared = new Set(Array.isArray(own) ? own.map((m) => nameOf(m)) : []);
|
|
35318
|
+
const names = /* @__PURE__ */ new Set();
|
|
35319
|
+
for (const id of drop.keys()) {
|
|
35320
|
+
const name = memberName(id);
|
|
35321
|
+
if (name !== void 0 && !live.has(name) && !declared.has(name)) names.add(name);
|
|
35322
|
+
}
|
|
35323
|
+
return names;
|
|
35324
|
+
}
|
|
35325
|
+
function namesChangedInReadback(row, drop, readback) {
|
|
35326
|
+
const { nameOf, identity } = row;
|
|
35327
|
+
const names = /* @__PURE__ */ new Set();
|
|
35328
|
+
if (nameOf === void 0 || identity === void 0 || readback === void 0) return names;
|
|
35329
|
+
const liveList = getAt(readback, pathOf(row));
|
|
35330
|
+
if (!Array.isArray(liveList)) return names;
|
|
35331
|
+
for (const m of liveList) {
|
|
35332
|
+
const id = identity(m);
|
|
35333
|
+
if (id !== void 0 && drop.has(id)) continue;
|
|
35334
|
+
const name = nameOf(m);
|
|
35335
|
+
if (name !== void 0) names.add(name);
|
|
35336
|
+
}
|
|
35337
|
+
return names;
|
|
35338
|
+
}
|
|
35339
|
+
function withoutOwned(bag, row, owned, properties, readback) {
|
|
35340
|
+
const path = pathOf(row);
|
|
35341
|
+
if (!hasAt(bag, path)) return bag;
|
|
35342
|
+
const declared = hasAt(properties, path);
|
|
35343
|
+
if (row.identity === void 0) return declared ? bag : setAt(bag, path, REMOVE);
|
|
35344
|
+
const list = getAt(bag, path);
|
|
35345
|
+
if (!Array.isArray(list)) return bag;
|
|
35346
|
+
const identity = row.identity;
|
|
35347
|
+
const drop = effectiveDrop(row, owned, properties);
|
|
35348
|
+
if (drop.size === 0) return bag;
|
|
35349
|
+
const byName = namesDroppedFromBaseline(row, drop, properties, readback);
|
|
35350
|
+
const changed = namesChangedInReadback(row, drop, readback);
|
|
35351
|
+
const left = new Map(drop);
|
|
35352
|
+
const kept = list.filter((m) => {
|
|
35353
|
+
const id = identity(m);
|
|
35354
|
+
const n = id === void 0 ? void 0 : left.get(id);
|
|
35355
|
+
if (n !== void 0 && n > 0) {
|
|
35356
|
+
const name = row.nameOf?.(m);
|
|
35357
|
+
if (name !== void 0 && changed.has(name)) return true;
|
|
35358
|
+
left.set(id, n - 1);
|
|
35359
|
+
return false;
|
|
35360
|
+
}
|
|
35361
|
+
const name = row.nameOf?.(m);
|
|
35362
|
+
return name === void 0 || !byName.has(name);
|
|
35363
|
+
});
|
|
35364
|
+
if (kept.length === list.length) return bag;
|
|
35365
|
+
return setAt(bag, path, kept.length === 0 && row.emptyMeansAbsent && !declared ? REMOVE : kept);
|
|
35366
|
+
}
|
|
35367
|
+
function stripSiblingOwnedParentMembers(resourceType, physicalId, baseline, aws, properties, context) {
|
|
35368
|
+
const members = stripSiblingOwnedMembers(resourceType, physicalId, baseline, aws, properties, context);
|
|
35369
|
+
let out = stripSiblingOwnedSgRules(resourceType, physicalId, members.baseline, members.aws, properties, context);
|
|
35370
|
+
for (const [row, owned] of ownedByRow(resourceType, physicalId, context)) out = {
|
|
35371
|
+
baseline: withoutOwned(out.baseline, row, owned, properties, out.aws),
|
|
35372
|
+
aws: withoutOwned(out.aws, row, owned, properties)
|
|
35373
|
+
};
|
|
35374
|
+
return out;
|
|
35375
|
+
}
|
|
35376
|
+
function siblingOwnedRevertDesired(resourceType, physicalId, desired, aws, properties, context) {
|
|
35377
|
+
let out = stripSiblingOwnedMembers(resourceType, physicalId, desired, aws, properties, context).baseline;
|
|
35378
|
+
out = stripSiblingOwnedSgRules(resourceType, physicalId, out, aws, properties, context).baseline;
|
|
35379
|
+
out = withLiveHelperOwnedMembers(resourceType, physicalId, out, aws, properties, context);
|
|
35380
|
+
for (const [row, owned] of ownedByRow(resourceType, physicalId, context)) {
|
|
35381
|
+
const path = pathOf(row);
|
|
35382
|
+
const stripped = withoutOwned(out, row, owned, properties, aws);
|
|
35383
|
+
const live = getAt(aws, path);
|
|
35384
|
+
if (row.identity === void 0) {
|
|
35385
|
+
out = stripped;
|
|
35386
|
+
continue;
|
|
35387
|
+
}
|
|
35388
|
+
const drop = effectiveDrop(row, owned, properties);
|
|
35389
|
+
if (!Array.isArray(live) || drop.size === 0) {
|
|
35390
|
+
out = stripped;
|
|
35391
|
+
continue;
|
|
35392
|
+
}
|
|
35393
|
+
const identity = row.identity;
|
|
35394
|
+
const strippedList = getAt(stripped, path);
|
|
35395
|
+
const kept = Array.isArray(strippedList) ? strippedList : row.emptyMeansAbsent && strippedList === void 0 ? [] : void 0;
|
|
35396
|
+
if (kept === void 0 || !hasAt(stripped, path.slice(0, -1))) {
|
|
35397
|
+
out = stripped;
|
|
35398
|
+
continue;
|
|
35399
|
+
}
|
|
35400
|
+
const result = [...kept];
|
|
35401
|
+
const room = new Map(drop);
|
|
35402
|
+
const keyOf = (m) => identity(m) ?? JSON.stringify(m) ?? "";
|
|
35403
|
+
live.forEach((m, index) => {
|
|
35404
|
+
const id = identity(m);
|
|
35405
|
+
const n = id === void 0 ? void 0 : room.get(id);
|
|
35406
|
+
if (n === void 0 || n <= 0) return;
|
|
35407
|
+
let at = 0;
|
|
35408
|
+
for (let j = index - 1; j >= 0; j--) {
|
|
35409
|
+
const pos = result.findIndex((r) => keyOf(r) === keyOf(live[j]));
|
|
35410
|
+
if (pos >= 0) {
|
|
35411
|
+
at = pos + 1;
|
|
35412
|
+
break;
|
|
35413
|
+
}
|
|
35414
|
+
}
|
|
35415
|
+
result.splice(at, 0, m);
|
|
35416
|
+
room.set(id, n - 1);
|
|
35417
|
+
});
|
|
35418
|
+
out = result.length === kept.length && Array.isArray(strippedList) ? stripped : setAt(stripped, path, result);
|
|
35419
|
+
}
|
|
35420
|
+
return out;
|
|
35421
|
+
}
|
|
35422
|
+
function tableMembersSiblingsStoppedWriting(previous, next, oldMaySurvive = () => false, templatePolicies) {
|
|
35423
|
+
const encode = (row, parent, member) => injectiveKey(row, parent, member === void 0 ? "" : `m:${member}`);
|
|
35424
|
+
const writesOf = (record) => {
|
|
35425
|
+
const props = record.properties;
|
|
35426
|
+
if (!isPlainRecord$2(props)) return [];
|
|
35427
|
+
const out = [];
|
|
35428
|
+
SIBLING_OWNED_ROWS.forEach((row, index) => {
|
|
35429
|
+
if (row.child !== record.resourceType) return;
|
|
35430
|
+
for (const w of row.writes(props, record.physicalId)) out.push([index, w]);
|
|
35431
|
+
});
|
|
35432
|
+
return out;
|
|
35433
|
+
};
|
|
35434
|
+
const count = (into, key) => {
|
|
35435
|
+
into.set(key, (into.get(key) ?? 0) + 1);
|
|
35436
|
+
};
|
|
35437
|
+
const nextCount = /* @__PURE__ */ new Map();
|
|
35438
|
+
for (const record of Object.values(next)) for (const [i, w] of writesOf(record)) count(nextCount, encode(i, w.parent, w.member));
|
|
35439
|
+
const prevCount = /* @__PURE__ */ new Map();
|
|
35440
|
+
const touched = /* @__PURE__ */ new Map();
|
|
35441
|
+
for (const [logicalId, record] of Object.entries(previous)) {
|
|
35442
|
+
const writes = writesOf(record);
|
|
35443
|
+
if (writes.length === 0) continue;
|
|
35444
|
+
if (previousMaySurvive(logicalId, record, next, oldMaySurvive, templatePolicies)) continue;
|
|
35445
|
+
for (const [i, w] of writes) {
|
|
35446
|
+
count(prevCount, encode(i, w.parent, w.member));
|
|
35447
|
+
const target = injectiveKey(i, w.parent);
|
|
35448
|
+
let entry = touched.get(target);
|
|
35449
|
+
if (entry === void 0) {
|
|
35450
|
+
entry = {
|
|
35451
|
+
row: i,
|
|
35452
|
+
members: w.member === void 0 ? void 0 : /* @__PURE__ */ new Set()
|
|
35453
|
+
};
|
|
35454
|
+
touched.set(target, entry);
|
|
35455
|
+
}
|
|
35456
|
+
if (w.member !== void 0) entry.members?.add(w.member);
|
|
35457
|
+
}
|
|
35458
|
+
}
|
|
35459
|
+
const result = /* @__PURE__ */ new Map();
|
|
35460
|
+
if (touched.size === 0) return result;
|
|
35461
|
+
for (const [logicalId, record] of Object.entries(next)) {
|
|
35462
|
+
const id = record.physicalId;
|
|
35463
|
+
if (typeof id !== "string" || id === "") continue;
|
|
35464
|
+
const entries = [];
|
|
35465
|
+
SIBLING_OWNED_ROWS.forEach((row, index) => {
|
|
35466
|
+
if (row.parent !== record.resourceType) return;
|
|
35467
|
+
const ids = [...new Set(parentIdsOf(row, id))];
|
|
35468
|
+
const sum = (counts, member) => ids.reduce((n, pid) => n + (counts.get(encode(index, pid, member)) ?? 0), 0);
|
|
35469
|
+
const members = /* @__PURE__ */ new Set();
|
|
35470
|
+
let wholeKey = false;
|
|
35471
|
+
for (const pid of ids) {
|
|
35472
|
+
const entry = touched.get(injectiveKey(index, pid));
|
|
35473
|
+
if (entry === void 0) continue;
|
|
35474
|
+
if (entry.members === void 0) wholeKey = true;
|
|
35475
|
+
else for (const m of entry.members) members.add(m);
|
|
35476
|
+
}
|
|
35477
|
+
if (wholeKey) {
|
|
35478
|
+
if (sum(nextCount, void 0) === 0) entries.push({
|
|
35479
|
+
row,
|
|
35480
|
+
members: void 0
|
|
35481
|
+
});
|
|
35482
|
+
return;
|
|
35483
|
+
}
|
|
35484
|
+
const stopped = /* @__PURE__ */ new Map();
|
|
35485
|
+
for (const m of members) {
|
|
35486
|
+
const n = sum(prevCount, m) - sum(nextCount, m);
|
|
35487
|
+
if (n > 0) stopped.set(m, n);
|
|
35488
|
+
}
|
|
35489
|
+
if (stopped.size > 0) entries.push({
|
|
35490
|
+
row,
|
|
35491
|
+
members: stopped
|
|
35492
|
+
});
|
|
35493
|
+
});
|
|
35494
|
+
if (entries.length > 0) result.set(logicalId, entries);
|
|
35495
|
+
}
|
|
35496
|
+
return result;
|
|
35497
|
+
}
|
|
35498
|
+
function withoutStoppedTableMembers(bag, stopped, properties) {
|
|
35499
|
+
let out = bag;
|
|
35500
|
+
for (const { row, members } of stopped) {
|
|
35501
|
+
if (row.identity !== void 0) {
|
|
35502
|
+
out = withoutOwned(out, row, members, properties);
|
|
35503
|
+
continue;
|
|
35504
|
+
}
|
|
35505
|
+
const path = pathOf(row);
|
|
35506
|
+
const value = getAt(out, path);
|
|
35507
|
+
if (value === void 0 || value === null || Array.isArray(value) && value.length === 0) continue;
|
|
35508
|
+
if (hasAt(properties, path)) continue;
|
|
35509
|
+
out = setAt(out, path, Array.isArray(value) ? [] : REMOVE);
|
|
35510
|
+
}
|
|
35511
|
+
return out;
|
|
35512
|
+
}
|
|
35513
|
+
|
|
34663
35514
|
// src/deployment/deploy-engine/observed-capture.ts
|
|
34664
35515
|
var ObservedCapture = class {
|
|
34665
35516
|
observedCaptureTasks = /* @__PURE__ */ new Map();
|
|
@@ -34847,6 +35698,18 @@ function pruneMembersSiblingsStoppedWriting(previous, next, replacementRun, temp
|
|
|
34847
35698
|
};
|
|
34848
35699
|
changed++;
|
|
34849
35700
|
}
|
|
35701
|
+
for (const [logicalId, stopped] of tableMembersSiblingsStoppedWriting(previous, next, oldMaySurvive, templatePolicies)) {
|
|
35702
|
+
const record = next[logicalId];
|
|
35703
|
+
const observed = record?.observedProperties;
|
|
35704
|
+
if (record === void 0 || observed === void 0) continue;
|
|
35705
|
+
const pruned = withoutStoppedTableMembers(observed, stopped, record.properties);
|
|
35706
|
+
if (pruned === observed) continue;
|
|
35707
|
+
next[logicalId] = {
|
|
35708
|
+
...record,
|
|
35709
|
+
observedProperties: carryRedactionMarks(observed, pruned)
|
|
35710
|
+
};
|
|
35711
|
+
changed++;
|
|
35712
|
+
}
|
|
34850
35713
|
return changed;
|
|
34851
35714
|
}
|
|
34852
35715
|
function pruneStoppedSiblingMembersBestEffort(logger, ...args) {
|
|
@@ -34854,7 +35717,7 @@ function pruneStoppedSiblingMembersBestEffort(logger, ...args) {
|
|
|
34854
35717
|
pruneMembersSiblingsStoppedWriting(...args);
|
|
34855
35718
|
} catch (err) {
|
|
34856
35719
|
const cause = err instanceof Error ? err.name : typeof err;
|
|
34857
|
-
logger.debug(safeMsg`Sibling-written IAM
|
|
35720
|
+
logger.debug(safeMsg`Sibling-written members (IAM lists, security-group rules and the other sibling-owned lists) were not pruned from the observed baselines (${cause}); they stay until 'cdkd state refresh-observed'.`);
|
|
34858
35721
|
}
|
|
34859
35722
|
}
|
|
34860
35723
|
const STANDALONE_SIBLING = {
|
|
@@ -52262,5 +53125,5 @@ var DeployEngine = class {
|
|
|
52262
53125
|
}
|
|
52263
53126
|
};
|
|
52264
53127
|
|
|
52265
|
-
export { sendTtlWaitingOutRateLimit as $, IntrinsicFunctionResolver as $a, withoutSdkUnwiredProperties as $c, secretNamedRecordNeedles as $i, warnWholeAssemblyAsSource as $l, canonicalizeIpProtocolValue as $n, isImpossibleEmptyStoredAttribute as $o, namesAnyDeclaredParameter as $r, refuseMalformedResourceEntriesForDeploy as $s, displacedPhysicalIdShown as $t, recordedProtectionEvidence as A, isCustomResourceType as Aa, STATE_REGION_DIVERGED as Ac, supersededHolderOf as Ai, isListParameterType as Al, findDestructiveChanges as An, s3BucketDualStackDomainName as Ao, computeImplicitDeleteEdges as Ar, maskedInputProof as As, S3_AUTO_DELETE_OBJECTS_TAG as At, declaredStreamTagsMember as B, withCustomResourceStack as Ba, JSON_LISTING_HOLE_VALUE as Bc, noEchoComparisonForTemplate as Bi, flattenAssetPlaceholders as Bl, differingRemedy as Bn, lacksRecordedRefArn as Bo, segmentCleanupOptions as Br, refuseMalformedOrphanRecords as Bs, sameMove as Bt, pendingMovesOutOf as C, wouldReturnToSdkProvider as Ca, malformedLocalOutputsWarning as Cc, withStackRecords as Ci, missingStateBucketRemedy as Cl, NOECHO_MAC_KEY_ALIAS as Cn, envCredentialsAreAssumedRole as Co, isJournaledOrphan as Cr, getSettledWriteOnlyPropertyPaths as Cs, INDEX_SETTLE_POLL_INTERVAL_MS as Ct, renderAssemblyPathEscape as Cu, findServiceTokenRefusals as D, responsePresignClient as Da, refuseMalformedOutputs as Dc, isSupersededResourceRecord as Di, renderNestedTemplateTreeDefect as Dl, noEchoMacVerdict as Dn, regionLessSecretName as Do, recordUnderIdIsNotOwn as Dr, maskedPropertyFingerprintsOf as Ds, relayedIndexBusyDelete as Dt, deferredServiceTokenWarning as E, customResourceResponseExpirationWarning as Ea, refuseMalformedNestedChildOutputs as Ec, holdsSupersededResources as Ei, listNestedTemplateRows as El, noEchoMacParametersOf as En, producerRegionsFromState as Eo, recheckFailedPlan as Er, inputFingerprinter as Es, maskedLogger as Et, resolveBucketRegion as Eu, readProtection as F, customResourcesFailedWithoutApp as Fa, refuseMalformedResourcesForDeploy as Fc, gray as Fi, rememberSynthesizedStacks as Fl, rollbackOrphanIds as Fn, parameterTypeMayLoseSecretIdentity as Fo, findNestedStackTypeChanges as Fr, isReadableOrphanRecord as Fs, readRefactorMarker as Ft, streamDeclaresTags as G, UNSPECIFIED_SKIP_REASON as Ga, displayLogicalId as Gc, completedReplayEntries as Gi, redirectFileAsset as Gl, propertiesChangedReason as Gn, keepHeldTokenProvenance as Go, nameScopeOf as Gr, unreadableOrphanRecords as Gs, chunks as Gt, readStreamPolicy as H, CloudControlProvider as Ha, withheldAccountClause as Hc, noEchoParameterNamesOf as Hi, isDefaultBootstrapRepoName as Hl, looselyEqual as Hn, parseWebACLArn as Ho, orphanNeedsIdentity as Hr, refuseMalformedOrphansForOrphan as Hs, macWriteOnlyKeys as Ht, DynamoDBGlobalTableProvider as I, customResourcesRunWithoutApp as Ia, refuseMalformedResourcesForDestroy as Ic, green as Ii, synthesizedStacks as Il, withMovedTo as In, AWS_NO_VALUE as Io, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ir, malformedOrphanRecordsRefusalMessage as Is, readRefactorMarkerOnce as It, streamTagsMatchDeclared as J, deleteSkipReason as Ja, findActionableSdkUnwired as Jc, namingSecretsWithRecordedNoEcho as Ji, getDockerImageBySourceHash as Jl, siblingOwnedSgRuleIdentities as Jn, recordedProvenanceOf as Jo, retiredNameGenerationsLeaving as Jr, malformedLocalResourcesWarning as Js, withApiLimit as Jt, streamMemberRefusals as K, deleteIndeterminateGuards as Ka, hasReadableOutputs as Kc, journaledOrphanPrintingBag as Ki, rewriteTemplateAssetReferences as Kl, proposeRenames as Kn, outputReferenceProvenanceOf as Ko, retiredAfterRollback as Kr, isReadableResourceEntry as Ks, isAccessDeniedError as Kt, STREAM_POLICY_KEY as L, localCustomResourceCommand as La, refuseMalformedResourcesForExport as Lc, red as Li, buildAssetRedirectMap as Ll, changedReferenceInDiff as Ln, cfnRefValueFromPhysicalId as Lo, isRedactedRecordedValue as Lr, malformedOrphanRecordsWarning as Ls, refactorMarkerMovesOf as Lt, PROTECTION_PROPERTY_BY_TYPE as M, withPrintingSecrets as Ma, malformedRenderedContainersWarning as Mc, withoutSuperseded as Mi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ml, findRefactorHints as Mn, s3BucketWebsiteUrl as Mo, readsRegeneratingSecret as Mr, declaresNoEcho as Ms, isTruthyCfnBoolean as Mt, isProtectionValueActive as N, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Na, malformedResourcesWarning as Nc, bold as Ni, purgeNoncurrentKeyVersions as Nl, hintSidesOf as Nn, coerceParameterTypedValue as No, resolveReplacementOldType as Nr, maskedPropertyFingerprint as Ns, keptForRetainedRecord as Nt, serviceTokenBlockingReason as O, TemplateNoEchoReresolver as Oa, refuseMalformedOutputsForDestroy as Oc, supersededAfterRollback as Oi, templateIdentity as Ol, noEchoValueMacsOf as On, s3BucketArn as Oo, replacementNeverSwapped as Or, movedMaskedProperties as Os, waitForIndexesSettled as Ot, perType as P, customResourceStackName as Pa, malformedStateRefusalMessage as Pc, cyan as Pi, decodeListingKey as Pl, movedToHint as Pn, isUnboundTemplateParameter as Po, withPreviousPolicies as Pr, deployRefusesOrphanRowsReason as Ps, recordRetainedForReadoption as Pt, readTtlSpec as Q, markWaitAbandoned as Qa, withoutAcceptedSdkUnwiredProperties as Qc, secretNamedAttributeNamesOf as Qi, warnAbsoluteAssetPath as Ql, sgProtocolKey as Qn, getAccountInfo as Qo, computeParameterTaint as Qr, refuseMalformedResourceEntries as Qs, displacedOpClause as Qt, STREAM_TAGS_KEY as R, localCustomResourceRuntimeActive as Ra, refuseMalformedState as Rc, yellow as Ri, createAssetRedirectResolver as Rl, changedReferencePath as Rn, isStalePlaceholderArnAttribute as Ro, redactedDeleteAddressFields as Rr, malformedOrphanRowsKeptWarning as Rs, refactorMarkerRefusalMessage as Rt, hasPendingMovesOut as S, isCustomResource as Sa, malformedExportSourceWarning as Sc, getStackRecords as Si, stringifyValue as Sl, crossStackReadsForPartialSave as Sn, callerEnvCredentials as So, demoteSupersededOrphans as Sr, toFiniteNumber as Ss, DELETE_INDEX_WAIT_PROCEED_NOTE as St, namesTheSameDirectory as Su, refusePendingMovesOut as T, applyCustomResourceResponseExpiration as Ta, malformedOutputsWarning as Tc, deleteSupersededEntry as Ti, isAbsoluteAssetPath as Tl, noEchoMacBinding as Tn, classifyReplaySecretRegion as To, planFailedOps as Tr, tryGetTopLevelWriteOnlyProperties as Ts, deleteTableWithIndexBusyRetry as Tt, clearBucketRegionCache as Tu, reverseMapStreamPolicy as U, waitForGoneAfterDelete as Ua, STATE_RESOURCES_MALFORMED as Uc, withAttemptedItemsMasked as Ui, loadPublishableAssetManifest as Ul, mappingPairs as Un, extractGetAttRefs as Uo, nameGenerationCarriedFrom as Ur, repairMalformedOrphanRecordsForReadOnly as Us, readsOnlyNoEchoParameters as Ut, planStreamMemberOps as V, waitForLambdaFunctionActive as Va, accountArgs as Vc, noEchoExactEchoLeavesOf as Vi, isDefaultBootstrapBucketName as Vl, isPairableType as Vn, lacksRecordedTableArn as Vo, removeProtectionTypeList as Vr, refuseMalformedOrphanRecordsForDestroy as Vs, updateRefactorMarker as Vt, streamDeclaresPolicy as W, RollbackInlinePolicyWriters as Wa, UNREADABLE_RESOURCES_MAP_ROW as Wc, createReadOnlyAttributeHealerFactory as Wi, redirectDockerAsset as Wl, parseMappingFile as Wn, promoteInPlaceAttributeDependents as Wo, nameGenerationHighWaterOf as Wr, unpreviewableOrphanRecords as Ws, formatResourceLine as Wt, isTtlRateLimited as X, getReadOnlyPropertyPaths as Xa, findSdkUnwiredProperties as Xc, secretNamePrintingBag as Xi, parseAssetManifestBody as Xl, withoutSiblingOwnedSgRules as Xn, referenceProvenanceOf as Xo, getCurrentProducerRegions as Xr, malformedScrubResourceEntriesRefusalMessage as Xs, resolvePendingCloudControlRequests as Xt, isTtlAlreadyDisabled as Y, withIndeterminateGuard as Ya, findHandledUnwrittenCreateOnly as Yc, orphanRecordsPrintingBag as Yi, isCfnTemplateAssetPath as Yl, stripSiblingOwnedSgRules as Yn, recordedReferenceRegions as Yo, withNameGenerationReached as Yr, malformedResourceEntriesWarning as Ys, pendingRequestCount as Yt, planTimeToLive as Z, isWaitAbandonedError as Za, unwrittenCreateOnlyReplacement as Zc, secretNamePrintingBags as Zi, resolveFileAssetSourcePath as Zl, cfnIngressPortValue as Zn, referenceTokensIn as Zo, inheritProducerRegions as Zr, refuseMalformedResourceAttributesForOrphan as Zs, NESTED_PENDING_PARENT_REASON as Zt, conditionFingerprint as _, withoutSiblingAttachedArns as _a, malformedOrphansWarning as _c, DEFAULT_RESOURCE_TIMEOUT_MS as _i, isNotImplemented as _l, makeForeignHolderScan as _n, isIamRoleArn as _o, reserveStackCreateToken as _r, renderStatefulReason as _s, beginDeleteWait as _t, ownValue as _u, scanActiveConsumers as a, ccRoutedFinalSnapshotError as aa, unreadableResourceEntries as ac, secretBearing as ai, S3StateBackend as al, revertedNestedRowIds as an, APPSYNC_APIKEY_ARN_RESOURCE_PATH as ao, settleUnsettledPrevious as ar, namesRecreatedParent as as, CONTRIBUTOR_INSIGHTS_KEY as at, getBootstrapMarkerKey as au, readRecordedConditionVerdicts as b, ProviderRegistry as ba, repairMalformedOrphansForReadOnly as bc, awaitInFlightSibling as bi, isSecretValuedAttribute as bl, DeploymentEventsReader as bn, AWS_CREDENTIAL_ENV_KEYS as bo, planRollback as br, isWarmThroughputDecrease as bs, resolveDynamoDbDeleteBudgetClock as bt, describeFileReadFailure as bu, nestedSsmNameDeferredNote as c, isFinalSnapshotError as ca, refuseMalformedResourceProperties as cc, carriedExportAliasExposure as ci, readOnlyStateVersionOf as cl, getCurrentNestedStackContext as cn, secretSegmentsOfState as co, equalModuloMarkedMask as cr, markNewValueKnownAfterDeploy as cs, planContributorInsightsOp as ct, validateAssetBucketName as cu, slashedSsmNameHealAdoptedNote as d, createPreDeleteFinalSnapshot as da, refuseMalformedResourcePropertiesForExport as dc, isWholeDynamicReferenceValue as di, rebuildClientForBucketRegion as dl, dropFailedCommands as dn, producerLookupOver as do, updatePartialMessage as dr, findReplacedReadersOfRecreateTargets as ds, reverseMapIndexContributorInsights as dt, getCdkdAssetBucketName as du, stateSecretNameNeedles as ea, refuseMalformedResourceEntriesForDestroy as ec, reachableDivergentParameters as ei, withoutUnwrittenSdkUnwiredProperties as el, dropSettledNestedJournals as en, isSelectOutOfBounds as eo, replayFailedOperations as er, carriesFetchableDynamicReference as es, planVectorIndexUpdates as et, AssetModeResolver as eu, slashedSsmNameHealNote as f, buildFinalSnapshotIdentifier as fa, refuseMalformedResourcePropertiesForOrphan as fc, noEchoParameterValueSeed as fi, CrossPrefixReadError as fl, dropFailedHint as fn, refuseUnreadableCdkCrossAccountRefs as fo, updatePartialReason as fr, isPlainReferenceTo as fs, reverseMapTableContributorInsights as ft, getCdkdContainerRepoName as fu, makeCanonicalizePropertiesFn as g, stripSiblingOwnedMembers as ga, malformedOrphansRefusalMessage as gc, bindingSkippedOutputs as gi, isAccessDenied$1 as gl, sameJournaledOrphans as gn, explicitRoleArnOrThrow as go, ledgerForStack as gr, isStatefulRecreateTargetSync as gs, DYNAMODB_DELETE_POLL_COST_MS as gt, nullPrototypeRecord as gu, inheritedProvenanceForChildDiff as h, collectPrincipalsAttachingPolicy as ha, hasReadableOrphans as hc, isExportAliasCollision as hi, crossPrefixDeniedWarning as hl, loadJournaledOrphans as hn, assertSendableRoleArn as ho, earliestDefined as hr, isStatefulRecreateTargetForReplace as hs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ht, hasPlainPrototype as hu, mergeNoChangeOutputs as i, PRE_DELETE_SNAPSHOT_TYPES as ia, repairMalformedResourceEntriesForReadOnly as ic, exportAliasCollisionScrubWarning as ii, TemplateParser as il, revertNestedChildFromJournal as in, isSettledInstanceState as io, recordAfterRollbackUpdate as ir, withSharedDrainBudget as is, vectorIndexesShapeDetail as it, isCrossRegionRedirect as iu, recordedProtectionNote as j, getCurrentResourceSecrets as ja, refuseDivergentRecordRegionForDestroy as jc, supersededResourcesOf as ji, ssmResolvedValueType as jl, formatDestructiveChange as jn, s3BucketRegionalDomainName as jo, attemptUsesCompletedCreate as jr, passedParameterClassesOf as js, hasCdkAutoDeleteTag as jt, diffSecurity as k, readsNoEchoDeleteValues as ka, repairMalformedOutputsForReadOnly as kc, supersededHeldByOtherTypeWarning as ki, SSM_PARAMETER_VALUE_PREFIX as kl, constructPathOf as kn, s3BucketDomainName as ko, IMPLICIT_DELETE_DEPENDENCIES as kr, parameterInputsFor as ks, ECR_AUTO_DELETE_IMAGES_TAG as kt, nestedSsmNameRowNote as l, refusesFinalSnapshot as la, refuseMalformedResourcePropertiesForDestroy as lc, exportNameNoEchoParameters as li, hasReasonlessBaselineRefusal as ll, withNestedStackContext as ln, withSecretPhysicalIdsMaskedInState as lo, equalModuloMask as lr, replacementSidesForLog as ls, planIndexContributorInsightsOps as lt, validateContainerRepoName as lu, crossStackOutputProvenanceSource as m, collectManagedPolicyArnsAttachedBySiblings as ma, UNREADABLE_ORPHANS_CONTAINER_ROW as mc, collectPublishedOutputNames as mi, applyCrossPrefixScan as ml, journaledOrphanLines as mn, assertFlagRoleArn as mo, replacementCreateRoutesToCloudControl as mr, MULTI_REGION_RECREATE_BLOCKED_TYPES as ms, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as mt, hasOwnKey as mu, isSecretBearingReferenceString as n, extractDeploymentEventError as na, refuseMalformedResourceEntriesForImportSave as nc, WITHHELD_NAME_DISPLAY as ni, hasNoCloudControlHandlers as nl, nestedChildStackName as nn, poisonRenderedSpellingsCollidingIn as no, DELETED_RESOURCE_REMEDY as nr, carriesDynamicReference as ns, vectorIndexesForCreate as nt, buildDenyExternalAccessPolicy as nu, inRunStackKey as o, ccRoutedInstanceTakesNoSnapshot as oa, malformedDriftResourcePropertiesWarning as oc, secretBearingStateKeyWarning as oi, splitImportedOps as ol, withNestedRevertRun as on, maskedSecretSegment as oo, withUnprovenUnsettled as or, INTRINSIC_KEYS as os, contributorInsightsRefusals as ot, parseBootstrapMarker as ou, slashedSsmNameHealPendingNote as p, collectGroupsAddedBySiblings as pa, repairMalformedResourcePropertiesForReadOnly as pc, collectDeclaredOutputNames as pi, CrossPrefixScanCache as pl, isHandledOrphan as pn, applyRoleArnIfSet as po, findUpdatePolicyReplacementRefusals as pr, shownType as ps, stripIndexContributorInsights as pt, defineOwnKey as pu, streamPolicyMatchesDeclared as q, deleteLeftInPlace as qa, hasReadableResources as qc, maskEventTextWithBoundBags as qi, AssetManifestLoader as ql, referencedLogicalIds as qn, recordedOutputReferenceRegions as qo, retiredNameGenerationsAfter as qr, malformedLocalResourceEntriesWarning as qs, lookupEachName as qt, keptWholeReasonText as r, ATOMIC_FINAL_SNAPSHOT_TYPES as ra, refuseMalformedResourceEntriesForOrphan as rc, displayTextOrWithheld as ri, PROPERTY_COVERAGE_BY_TYPE as rl, recordDisplacedSkips as rn, stackIdTailOf as ro, buildReadCurrentStateContext as rr, keepsSecretReferenceToken as rs, vectorIndexesSettled as rt, assertAssetBucketRegion as ru, checkNestedSsmNames as s, effectiveDeletionPolicy as sa, malformedResourcePropertiesWarning as sc, secretSafeKeyDisplay as si, isKnownTokenFreeState as sl, collectNestedChildUnaddressed as sn, secretPhysicalIdSegment as so, calculateResourceDrift as sr, containsIntrinsic as ss, indexDeclaresContributorInsights as st, readBootstrapMarkerBody as su, DeployEngine as t, storedSecretNameNeedles as ta, refuseMalformedResourceEntriesForImport as tc, resourcesNamingDeclaredParameter as ti, NO_CC_HANDLERS_REASON as tl, getNestedRevertRun as tn, isAlwaysLiveAttribute as to, replayRollback as tr, isNamelessDynamicReferenceError as ts, readbackVectorIndexes as tt, ensureAssetStorage as tu, healSlashedSsmParameterNames as u, unsupportedFinalSnapshotError as ua, refuseMalformedResourcePropertiesForDrift as uc, exportNameSecretExposure as ui, hasUnverifiableParameterRefusal as ul, deleteJournaledOrphans as un, resolveDynamicReferences as uo, undeclaredEmptyObservedKeys as ur, siblingsOf as us, readContributorInsightsSpec as ut, BOOTSTRAP_MARKER_PREFIX as uu, conditionInputsFrom as v, withoutSiblingOwned as va, refuseMalformedOrphans as vc, DEFAULT_RESOURCE_WARN_AFTER_MS as vi, stackInstanceIdOf as vl, makeSiblingClaimReader as vn, parseIamRoleArn as vo, withCreateTokenLedger as vr, WARM_THROUGHPUT_MEMBERS as vs, compensateRemovedDeletionProtection as vt, absoluteAssemblyPathEscape as vu, pendingMovesRefusalMessage as w, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as wa, malformedOutputsRefusalMessage as wc, replacedDeleteFailureVerdict as wi, findNestedTemplateTreeDefect as wl, createNoEchoValueMacs as wn, classifyRecordedSecretRegion as wo, isReplacementOrphan as wr, getTopLevelKeysHoldingUnreadableCreateOnly as ws, TABLE_INDEX_NOUN as wt, resolveAssemblyPath as wu, childTemplateLoader as x, ccBrokenReason as xa, malformedExportNamesWarning as xc, destroyStackRecordsView as xi, isSensitiveAttributeName as xl, DeploymentEventsStore as xn, applyCallerIdentityCredentials as xo, seedsDeleteFirstGuard as xr, toCfnInteger as xs, resolveDynamoDbDeleteBudgetMs as xt, displayAssemblyPath as xu, parentSuppliedValues as y, CC_BROKEN_REASON as ya, refuseMalformedOrphansForDestroy as yc, maskingRetryLogger as yi, withStackInstanceIdWithheld as yl, planOrphanAdoption as yn, sendableAssumeRoleCommand as yo, acquireIdempotencyToken as yr, coerceWarmThroughput as ys, deleteBudgetKey as yt, assemblyPathEscape as yu, declaredStreamPolicyMember as z, setLocalCustomResourceRuntimeEnabled as za, repairMalformedResourcesForReadOnly as zc, noEchoAttributeNamesOf as zi, createLazyAssetModeContext as zl, changedReferenceReason as zn, refStateLookupFromResource as zo, redactedDeleteAddressSkip as zr, previewableOrphanRecords as zs, refuseRefactorMarker as zt };
|
|
52266
|
-
//# sourceMappingURL=deploy-engine-
|
|
53128
|
+
export { sendTtlWaitingOutRateLimit as $, markWaitAbandoned as $a, withoutAcceptedSdkUnwiredProperties as $c, secretNamedAttributeNamesOf as $i, warnAbsoluteAssetPath as $l, sgProtocolKey as $n, getAccountInfo as $o, computeParameterTaint as $r, refuseMalformedResourceEntries as $s, displacedPhysicalIdShown as $t, recordedProtectionEvidence as A, readsNoEchoDeleteValues as Aa, repairMalformedOutputsForReadOnly as Ac, supersededHeldByOtherTypeWarning as Ai, SSM_PARAMETER_VALUE_PREFIX as Al, findDestructiveChanges as An, s3BucketDomainName as Ao, IMPLICIT_DELETE_DEPENDENCIES as Ar, parameterInputsFor as As, S3_AUTO_DELETE_OBJECTS_TAG as At, declaredStreamTagsMember as B, setLocalCustomResourceRuntimeEnabled as Ba, repairMalformedResourcesForReadOnly as Bc, noEchoAttributeNamesOf as Bi, createLazyAssetModeContext as Bl, differingRemedy as Bn, refStateLookupFromResource as Bo, redactedDeleteAddressSkip as Br, previewableOrphanRecords as Bs, sameMove as Bt, pendingMovesOutOf as C, isCustomResource as Ca, malformedExportSourceWarning as Cc, getStackRecords as Ci, stringifyValue as Cl, NOECHO_MAC_KEY_ALIAS as Cn, callerEnvCredentials as Co, demoteSupersededOrphans as Cr, toFiniteNumber as Cs, INDEX_SETTLE_POLL_INTERVAL_MS as Ct, namesTheSameDirectory as Cu, findServiceTokenRefusals as D, customResourceResponseExpirationWarning as Da, refuseMalformedNestedChildOutputs as Dc, holdsSupersededResources as Di, listNestedTemplateRows as Dl, noEchoMacVerdict as Dn, producerRegionsFromState as Do, recheckFailedPlan as Dr, inputFingerprinter as Ds, relayedIndexBusyDelete as Dt, resolveBucketRegion as Du, deferredServiceTokenWarning as E, applyCustomResourceResponseExpiration as Ea, malformedOutputsWarning as Ec, deleteSupersededEntry as Ei, isAbsoluteAssetPath as El, noEchoMacParametersOf as En, classifyReplaySecretRegion as Eo, planFailedOps as Er, tryGetTopLevelWriteOnlyProperties as Es, maskedLogger as Et, clearBucketRegionCache as Eu, readProtection as F, customResourceStackName as Fa, malformedStateRefusalMessage as Fc, cyan as Fi, decodeListingKey as Fl, rollbackOrphanIds as Fn, isUnboundTemplateParameter as Fo, withPreviousPolicies as Fr, deployRefusesOrphanRowsReason as Fs, readRefactorMarker as Ft, streamDeclaresTags as G, RollbackInlinePolicyWriters as Ga, UNREADABLE_RESOURCES_MAP_ROW as Gc, createReadOnlyAttributeHealerFactory as Gi, redirectDockerAsset as Gl, propertiesChangedReason as Gn, promoteInPlaceAttributeDependents as Go, nameGenerationHighWaterOf as Gr, unpreviewableOrphanRecords as Gs, chunks as Gt, readStreamPolicy as H, waitForLambdaFunctionActive as Ha, accountArgs as Hc, noEchoExactEchoLeavesOf as Hi, isDefaultBootstrapBucketName as Hl, looselyEqual as Hn, lacksRecordedTableArn as Ho, removeProtectionTypeList as Hr, refuseMalformedOrphanRecordsForDestroy as Hs, macWriteOnlyKeys as Ht, DynamoDBGlobalTableProvider as I, customResourcesFailedWithoutApp as Ia, refuseMalformedResourcesForDeploy as Ic, gray as Ii, rememberSynthesizedStacks as Il, withMovedTo as In, parameterTypeMayLoseSecretIdentity as Io, findNestedStackTypeChanges as Ir, isReadableOrphanRecord as Is, readRefactorMarkerOnce as It, streamTagsMatchDeclared as J, deleteLeftInPlace as Ja, hasReadableResources as Jc, maskEventTextWithBoundBags as Ji, AssetManifestLoader as Jl, siblingOwnedRevertDesired as Jn, recordedOutputReferenceRegions as Jo, retiredNameGenerationsAfter as Jr, malformedLocalResourceEntriesWarning as Js, withApiLimit as Jt, streamMemberRefusals as K, UNSPECIFIED_SKIP_REASON as Ka, displayLogicalId as Kc, completedReplayEntries as Ki, redirectFileAsset as Kl, proposeRenames as Kn, keepHeldTokenProvenance as Ko, nameScopeOf as Kr, unreadableOrphanRecords as Ks, isAccessDeniedError as Kt, STREAM_POLICY_KEY as L, customResourcesRunWithoutApp as La, refuseMalformedResourcesForDestroy as Lc, green as Li, synthesizedStacks as Ll, changedReferenceInDiff as Ln, AWS_NO_VALUE as Lo, REDACTED_DELETE_ADDRESS_SKIP_REASON as Lr, malformedOrphanRecordsRefusalMessage as Ls, refactorMarkerMovesOf as Lt, PROTECTION_PROPERTY_BY_TYPE as M, getCurrentResourceSecrets as Ma, refuseDivergentRecordRegionForDestroy as Mc, supersededResourcesOf as Mi, ssmResolvedValueType as Ml, findRefactorHints as Mn, s3BucketRegionalDomainName as Mo, attemptUsesCompletedCreate as Mr, passedParameterClassesOf as Ms, isTruthyCfnBoolean as Mt, isProtectionValueActive as N, withPrintingSecrets as Na, malformedRenderedContainersWarning as Nc, withoutSuperseded as Ni, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Nl, hintSidesOf as Nn, s3BucketWebsiteUrl as No, readsRegeneratingSecret as Nr, declaresNoEcho as Ns, keptForRetainedRecord as Nt, serviceTokenBlockingReason as O, responsePresignClient as Oa, refuseMalformedOutputs as Oc, isSupersededResourceRecord as Oi, renderNestedTemplateTreeDefect as Ol, noEchoValueMacsOf as On, regionLessSecretName as Oo, recordUnderIdIsNotOwn as Or, maskedPropertyFingerprintsOf as Os, waitForIndexesSettled as Ot, perType as P, NO_LOCAL_CUSTOM_RESOURCES_FLAG as Pa, malformedResourcesWarning as Pc, bold as Pi, purgeNoncurrentKeyVersions as Pl, movedToHint as Pn, coerceParameterTypedValue as Po, resolveReplacementOldType as Pr, maskedPropertyFingerprint as Ps, recordRetainedForReadoption as Pt, readTtlSpec as Q, isWaitAbandonedError as Qa, unwrittenCreateOnlyReplacement as Qc, secretNamePrintingBags as Qi, resolveFileAssetSourcePath as Ql, cfnIngressPortValue as Qn, referenceTokensIn as Qo, inheritProducerRegions as Qr, refuseMalformedResourceAttributesForOrphan as Qs, displacedOpClause as Qt, STREAM_TAGS_KEY as R, localCustomResourceCommand as Ra, refuseMalformedResourcesForExport as Rc, red as Ri, buildAssetRedirectMap as Rl, changedReferencePath as Rn, cfnRefValueFromPhysicalId as Ro, isRedactedRecordedValue as Rr, malformedOrphanRecordsWarning as Rs, refactorMarkerRefusalMessage as Rt, hasPendingMovesOut as S, ccBrokenReason as Sa, malformedExportNamesWarning as Sc, destroyStackRecordsView as Si, isSensitiveAttributeName as Sl, crossStackReadsForPartialSave as Sn, applyCallerIdentityCredentials as So, seedsDeleteFirstGuard as Sr, toCfnInteger as Ss, DELETE_INDEX_WAIT_PROCEED_NOTE as St, displayAssemblyPath as Su, refusePendingMovesOut as T, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as Ta, malformedOutputsRefusalMessage as Tc, replacedDeleteFailureVerdict as Ti, findNestedTemplateTreeDefect as Tl, noEchoMacBinding as Tn, classifyRecordedSecretRegion as To, isReplacementOrphan as Tr, getTopLevelKeysHoldingUnreadableCreateOnly as Ts, deleteTableWithIndexBusyRetry as Tt, resolveAssemblyPath as Tu, reverseMapStreamPolicy as U, CloudControlProvider as Ua, withheldAccountClause as Uc, noEchoParameterNamesOf as Ui, isDefaultBootstrapRepoName as Ul, mappingPairs as Un, parseWebACLArn as Uo, orphanNeedsIdentity as Ur, refuseMalformedOrphansForOrphan as Us, readsOnlyNoEchoParameters as Ut, planStreamMemberOps as V, withCustomResourceStack as Va, JSON_LISTING_HOLE_VALUE as Vc, noEchoComparisonForTemplate as Vi, flattenAssetPlaceholders as Vl, isPairableType as Vn, lacksRecordedRefArn as Vo, segmentCleanupOptions as Vr, refuseMalformedOrphanRecords as Vs, updateRefactorMarker as Vt, streamDeclaresPolicy as W, waitForGoneAfterDelete as Wa, STATE_RESOURCES_MALFORMED as Wc, withAttemptedItemsMasked as Wi, loadPublishableAssetManifest as Wl, parseMappingFile as Wn, extractGetAttRefs as Wo, nameGenerationCarriedFrom as Wr, repairMalformedOrphanRecordsForReadOnly as Ws, formatResourceLine as Wt, isTtlRateLimited as X, withIndeterminateGuard as Xa, findHandledUnwrittenCreateOnly as Xc, orphanRecordsPrintingBag as Xi, isCfnTemplateAssetPath as Xl, siblingOwnedSgRuleIdentities as Xn, recordedReferenceRegions as Xo, withNameGenerationReached as Xr, malformedResourceEntriesWarning as Xs, resolvePendingCloudControlRequests as Xt, isTtlAlreadyDisabled as Y, deleteSkipReason as Ya, findActionableSdkUnwired as Yc, namingSecretsWithRecordedNoEcho as Yi, getDockerImageBySourceHash as Yl, stripSiblingOwnedParentMembers as Yn, recordedProvenanceOf as Yo, retiredNameGenerationsLeaving as Yr, malformedLocalResourcesWarning as Ys, pendingRequestCount as Yt, planTimeToLive as Z, getReadOnlyPropertyPaths as Za, findSdkUnwiredProperties as Zc, secretNamePrintingBag as Zi, parseAssetManifestBody as Zl, withoutSiblingOwnedSgRules as Zn, referenceProvenanceOf as Zo, getCurrentProducerRegions as Zr, malformedScrubResourceEntriesRefusalMessage as Zs, NESTED_PENDING_PARENT_REASON as Zt, conditionFingerprint as _, isStoredExpression as _a, malformedOrphansRefusalMessage as _c, bindingSkippedOutputs as _i, isAccessDenied$1 as _l, makeForeignHolderScan as _n, explicitRoleArnOrThrow as _o, ledgerForStack as _r, isStatefulRecreateTargetSync as _s, beginDeleteWait as _t, nullPrototypeRecord as _u, scanActiveConsumers as a, PRE_DELETE_SNAPSHOT_TYPES as aa, repairMalformedResourceEntriesForReadOnly as ac, exportAliasCollisionScrubWarning as ai, TemplateParser as al, revertedNestedRowIds as an, isSettledInstanceState as ao, recordAfterRollbackUpdate as ar, withSharedDrainBudget as as, CONTRIBUTOR_INSIGHTS_KEY as at, isCrossRegionRedirect as au, readRecordedConditionVerdicts as b, CC_BROKEN_REASON as ba, refuseMalformedOrphansForDestroy as bc, maskingRetryLogger as bi, withStackInstanceIdWithheld as bl, DeploymentEventsReader as bn, sendableAssumeRoleCommand as bo, acquireIdempotencyToken as br, coerceWarmThroughput as bs, resolveDynamoDbDeleteBudgetClock as bt, assemblyPathEscape as bu, nestedSsmNameDeferredNote as c, effectiveDeletionPolicy as ca, malformedResourcePropertiesWarning as cc, secretSafeKeyDisplay as ci, isKnownTokenFreeState as cl, getCurrentNestedStackContext as cn, secretPhysicalIdSegment as co, calculateResourceDrift as cr, containsIntrinsic as cs, planContributorInsightsOp as ct, readBootstrapMarkerBody as cu, slashedSsmNameHealAdoptedNote as d, unsupportedFinalSnapshotError as da, refuseMalformedResourcePropertiesForDrift as dc, exportNameSecretExposure as di, hasUnverifiableParameterRefusal as dl, dropFailedCommands as dn, resolveDynamicReferences as do, undeclaredEmptyObservedKeys as dr, siblingsOf as ds, reverseMapIndexContributorInsights as dt, BOOTSTRAP_MARKER_PREFIX as du, secretNamedRecordNeedles as ea, refuseMalformedResourceEntriesForDeploy as ec, namesAnyDeclaredParameter as ei, withoutSdkUnwiredProperties as el, dropSettledNestedJournals as en, IntrinsicFunctionResolver as eo, canonicalizeIpProtocolValue as er, isImpossibleEmptyStoredAttribute as es, planVectorIndexUpdates as et, warnWholeAssemblyAsSource as eu, slashedSsmNameHealNote as f, createPreDeleteFinalSnapshot as fa, refuseMalformedResourcePropertiesForExport as fc, isWholeDynamicReferenceValue as fi, rebuildClientForBucketRegion as fl, dropFailedHint as fn, producerLookupOver as fo, updatePartialMessage as fr, findReplacedReadersOfRecreateTargets as fs, reverseMapTableContributorInsights as ft, getCdkdAssetBucketName as fu, makeCanonicalizePropertiesFn as g, collectPrincipalsAttachingPolicy as ga, hasReadableOrphans as gc, isExportAliasCollision as gi, crossPrefixDeniedWarning as gl, sameJournaledOrphans as gn, assertSendableRoleArn as go, earliestDefined as gr, isStatefulRecreateTargetForReplace as gs, DYNAMODB_DELETE_POLL_COST_MS as gt, hasPlainPrototype as gu, inheritedProvenanceForChildDiff as h, collectManagedPolicyArnsAttachedBySiblings as ha, UNREADABLE_ORPHANS_CONTAINER_ROW as hc, collectPublishedOutputNames as hi, applyCrossPrefixScan as hl, loadJournaledOrphans as hn, assertFlagRoleArn as ho, replacementCreateRoutesToCloudControl as hr, MULTI_REGION_RECREATE_BLOCKED_TYPES as hs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ht, hasOwnKey as hu, mergeNoChangeOutputs as i, ATOMIC_FINAL_SNAPSHOT_TYPES as ia, refuseMalformedResourceEntriesForOrphan as ic, displayTextOrWithheld as ii, PROPERTY_COVERAGE_BY_TYPE as il, revertNestedChildFromJournal as in, stackIdTailOf as io, buildReadCurrentStateContext as ir, keepsSecretReferenceToken as is, vectorIndexesShapeDetail as it, assertAssetBucketRegion as iu, recordedProtectionNote as j, isCustomResourceType as ja, STATE_REGION_DIVERGED as jc, supersededHolderOf as ji, isListParameterType as jl, formatDestructiveChange as jn, s3BucketDualStackDomainName as jo, computeImplicitDeleteEdges as jr, maskedInputProof as js, hasCdkAutoDeleteTag as jt, diffSecurity as k, TemplateNoEchoReresolver as ka, refuseMalformedOutputsForDestroy as kc, supersededAfterRollback as ki, templateIdentity as kl, constructPathOf as kn, s3BucketArn as ko, replacementNeverSwapped as kr, movedMaskedProperties as ks, ECR_AUTO_DELETE_IMAGES_TAG as kt, nestedSsmNameRowNote as l, isFinalSnapshotError as la, refuseMalformedResourceProperties as lc, carriedExportAliasExposure as li, readOnlyStateVersionOf as ll, withNestedStackContext as ln, secretSegmentsOfState as lo, equalModuloMarkedMask as lr, markNewValueKnownAfterDeploy as ls, planIndexContributorInsightsOps as lt, validateAssetBucketName as lu, crossStackOutputProvenanceSource as m, collectGroupsAddedBySiblings as ma, repairMalformedResourcePropertiesForReadOnly as mc, collectDeclaredOutputNames as mi, CrossPrefixScanCache as ml, journaledOrphanLines as mn, applyRoleArnIfSet as mo, findUpdatePolicyReplacementRefusals as mr, shownType as ms, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as mt, defineOwnKey as mu, isSecretBearingReferenceString as n, storedSecretNameNeedles as na, refuseMalformedResourceEntriesForImport as nc, resourcesNamingDeclaredParameter as ni, NO_CC_HANDLERS_REASON as nl, nestedChildStackName as nn, isAlwaysLiveAttribute as no, replayRollback as nr, isNamelessDynamicReferenceError as ns, vectorIndexesForCreate as nt, ensureAssetStorage as nu, inRunStackKey as o, ccRoutedFinalSnapshotError as oa, unreadableResourceEntries as oc, secretBearing as oi, S3StateBackend as ol, withNestedRevertRun as on, APPSYNC_APIKEY_ARN_RESOURCE_PATH as oo, settleUnsettledPrevious as or, namesRecreatedParent as os, contributorInsightsRefusals as ot, getBootstrapMarkerKey as ou, slashedSsmNameHealPendingNote as p, buildFinalSnapshotIdentifier as pa, refuseMalformedResourcePropertiesForOrphan as pc, noEchoParameterValueSeed as pi, CrossPrefixReadError as pl, isHandledOrphan as pn, refuseUnreadableCdkCrossAccountRefs as po, updatePartialReason as pr, isPlainReferenceTo as ps, stripIndexContributorInsights as pt, getCdkdContainerRepoName as pu, streamPolicyMatchesDeclared as q, deleteIndeterminateGuards as qa, hasReadableOutputs as qc, journaledOrphanPrintingBag as qi, rewriteTemplateAssetReferences as ql, referencedLogicalIds as qn, outputReferenceProvenanceOf as qo, retiredAfterRollback as qr, isReadableResourceEntry as qs, lookupEachName as qt, keptWholeReasonText as r, extractDeploymentEventError as ra, refuseMalformedResourceEntriesForImportSave as rc, WITHHELD_NAME_DISPLAY as ri, hasNoCloudControlHandlers as rl, recordDisplacedSkips as rn, poisonRenderedSpellingsCollidingIn as ro, DELETED_RESOURCE_REMEDY as rr, carriesDynamicReference as rs, vectorIndexesSettled as rt, buildDenyExternalAccessPolicy as ru, checkNestedSsmNames as s, ccRoutedInstanceTakesNoSnapshot as sa, malformedDriftResourcePropertiesWarning as sc, secretBearingStateKeyWarning as si, splitImportedOps as sl, collectNestedChildUnaddressed as sn, maskedSecretSegment as so, withUnprovenUnsettled as sr, INTRINSIC_KEYS as ss, indexDeclaresContributorInsights as st, parseBootstrapMarker as su, DeployEngine as t, stateSecretNameNeedles as ta, refuseMalformedResourceEntriesForDestroy as tc, reachableDivergentParameters as ti, withoutUnwrittenSdkUnwiredProperties as tl, getNestedRevertRun as tn, isSelectOutOfBounds as to, replayFailedOperations as tr, carriesFetchableDynamicReference as ts, readbackVectorIndexes as tt, AssetModeResolver as tu, healSlashedSsmParameterNames as u, refusesFinalSnapshot as ua, refuseMalformedResourcePropertiesForDestroy as uc, exportNameNoEchoParameters as ui, hasReasonlessBaselineRefusal as ul, deleteJournaledOrphans as un, withSecretPhysicalIdsMaskedInState as uo, equalModuloMask as ur, replacementSidesForLog as us, readContributorInsightsSpec as ut, validateContainerRepoName as uu, conditionInputsFrom as v, withoutSiblingAttachedArns as va, malformedOrphansWarning as vc, DEFAULT_RESOURCE_TIMEOUT_MS as vi, isNotImplemented as vl, makeSiblingClaimReader as vn, isIamRoleArn as vo, reserveStackCreateToken as vr, renderStatefulReason as vs, compensateRemovedDeletionProtection as vt, ownValue as vu, pendingMovesRefusalMessage as w, wouldReturnToSdkProvider as wa, malformedLocalOutputsWarning as wc, withStackRecords as wi, missingStateBucketRemedy as wl, createNoEchoValueMacs as wn, envCredentialsAreAssumedRole as wo, isJournaledOrphan as wr, getSettledWriteOnlyPropertyPaths as ws, TABLE_INDEX_NOUN as wt, renderAssemblyPathEscape as wu, childTemplateLoader as x, ProviderRegistry as xa, repairMalformedOrphansForReadOnly as xc, awaitInFlightSibling as xi, isSecretValuedAttribute as xl, DeploymentEventsStore as xn, AWS_CREDENTIAL_ENV_KEYS as xo, planRollback as xr, isWarmThroughputDecrease as xs, resolveDynamoDbDeleteBudgetMs as xt, describeFileReadFailure as xu, parentSuppliedValues as y, withoutSiblingOwned as ya, refuseMalformedOrphans as yc, DEFAULT_RESOURCE_WARN_AFTER_MS as yi, stackInstanceIdOf as yl, planOrphanAdoption as yn, parseIamRoleArn as yo, withCreateTokenLedger as yr, WARM_THROUGHPUT_MEMBERS as ys, deleteBudgetKey as yt, absoluteAssemblyPathEscape as yu, declaredStreamPolicyMember as z, localCustomResourceRuntimeActive as za, refuseMalformedState as zc, yellow as zi, createAssetRedirectResolver as zl, changedReferenceReason as zn, isStalePlaceholderArnAttribute as zo, redactedDeleteAddressFields as zr, malformedOrphanRowsKeptWarning as zs, refuseRefactorMarker as zt };
|
|
53129
|
+
//# sourceMappingURL=deploy-engine-CilA7v8d.js.map
|