@cdkd/cli 0.350.2 → 0.350.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-nYbcw8Dc.js → ambient-client-defaults-CepgBr_y.js} +6 -4
- package/dist/{ambient-client-defaults-nYbcw8Dc.js.map → ambient-client-defaults-CepgBr_y.js.map} +1 -1
- package/dist/{asg-provider-C2lKCOu5.js → asg-provider-26AfIhcd.js} +6 -6
- package/dist/{asg-provider-C2lKCOu5.js.map → asg-provider-26AfIhcd.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/{custom-resource-runtime-BcxDxd28.js → custom-resource-runtime-2Kfh-v8P.js} +6 -6
- package/dist/{custom-resource-runtime-BcxDxd28.js.map → custom-resource-runtime-2Kfh-v8P.js.map} +1 -1
- package/dist/{db-instance-modify-retry-EpoVdg4u.js → db-instance-modify-retry-BoKzNMfz.js} +4 -4
- package/dist/{db-instance-modify-retry-EpoVdg4u.js.map → db-instance-modify-retry-BoKzNMfz.js.map} +1 -1
- package/dist/{delete-started-Co5Gt1jH.js → delete-started-Bq_G9e4j.js} +26 -3
- package/dist/delete-started-Bq_G9e4j.js.map +1 -0
- package/dist/{deploy-engine-DWLm19jg.js → deploy-engine-DLmPF7r5.js} +994 -271
- package/dist/deploy-engine-DLmPF7r5.js.map +1 -0
- package/dist/{diff-calculator-DNuEc3vO.js → diff-calculator-DYUmMeew.js} +24 -15
- package/dist/{diff-calculator-DNuEc3vO.js.map → diff-calculator-DYUmMeew.js.map} +1 -1
- package/dist/{ec2-termination-protection-BrCiVso0.js → ec2-termination-protection-Di3eM8PN.js} +6 -6
- package/dist/{ec2-termination-protection-BrCiVso0.js.map → ec2-termination-protection-Di3eM8PN.js.map} +1 -1
- package/dist/{ecr-uri-JpCbWN50.js → ecr-uri-6HdJfJPR.js} +2 -2
- package/dist/{ecr-uri-JpCbWN50.js.map → ecr-uri-6HdJfJPR.js.map} +1 -1
- package/dist/{expected-bucket-owner-IaiC3JwO.js → expected-bucket-owner-Drp-CSQY.js} +2 -2
- package/dist/{expected-bucket-owner-IaiC3JwO.js.map → expected-bucket-owner-Drp-CSQY.js.map} +1 -1
- package/dist/{iam-role-provider-fNKzA1U5.js → iam-role-provider-B5c4V2kT.js} +7 -7
- package/dist/{iam-role-provider-fNKzA1U5.js.map → iam-role-provider-B5c4V2kT.js.map} +1 -1
- package/dist/{image-plan-C87HDsmb.js → image-plan-CYouJkYM.js} +19 -11
- package/dist/image-plan-CYouJkYM.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -5
- package/dist/{logger-CD1O0WGI.js → logger-6lyGJVGE.js} +3 -5
- package/dist/logger-6lyGJVGE.js.map +1 -0
- package/dist/{neptune-provider-BYb2XZFH.js → neptune-provider-Dhody0jz.js} +7 -7
- package/dist/{neptune-provider-BYb2XZFH.js.map → neptune-provider-Dhody0jz.js.map} +1 -1
- package/dist/{program-DJWAG98-.js → program-BMBei2v9.js} +340 -81
- package/dist/program-BMBei2v9.js.map +1 -0
- package/dist/{provider-classes-B8WD5ucF.js → provider-classes-B3qqzXp-.js} +179 -28
- package/dist/provider-classes-B3qqzXp-.js.map +1 -0
- package/dist/{rds-provider-B5Ox8FBm.js → rds-provider-CXjWWFKT.js} +13 -25
- package/dist/{rds-provider-B5Ox8FBm.js.map → rds-provider-CXjWWFKT.js.map} +1 -1
- package/dist/{read-replica-6SDKYiLa.js → read-replica-iA8yd-HO.js} +3 -3
- package/dist/{read-replica-6SDKYiLa.js.map → read-replica-iA8yd-HO.js.map} +1 -1
- package/dist/{replacement-rules-Dpkm5pWN.js → replacement-rules-B4fLD_Ru.js} +3 -3
- package/dist/{replacement-rules-Dpkm5pWN.js.map → replacement-rules-B4fLD_Ru.js.map} +1 -1
- package/dist/{resource-deadline-P1IssiEh.js → resource-deadline-BcEyGRdL.js} +19 -19
- package/dist/{resource-deadline-P1IssiEh.js.map → resource-deadline-BcEyGRdL.js.map} +1 -1
- package/dist/{run-cli-CXI5umz9.js → run-cli-Dp938GHN.js} +2 -2
- package/dist/{run-cli-CXI5umz9.js.map → run-cli-Dp938GHN.js.map} +1 -1
- package/dist/{update-removal-C8I2P2bf.js → update-removal-1ZPAMzvz.js} +5 -5
- package/dist/{update-removal-C8I2P2bf.js.map → update-removal-1ZPAMzvz.js.map} +1 -1
- package/dist/{version-Cu2oblwQ.js → version-D_7vFUjp.js} +2 -2
- package/dist/{version-Cu2oblwQ.js.map → version-D_7vFUjp.js.map} +1 -1
- package/package.json +2 -2
- package/dist/delete-started-Co5Gt1jH.js.map +0 -1
- package/dist/deploy-engine-DWLm19jg.js.map +0 -1
- package/dist/image-plan-C87HDsmb.js.map +0 -1
- package/dist/logger-CD1O0WGI.js.map +0 -1
- package/dist/program-DJWAG98-.js.map +0 -1
- package/dist/provider-classes-B8WD5ucF.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-
|
|
2
|
-
import { $ as withStackScope, A as configStringRefusal, C as fallbackNamePropertyFor, D as coerceCfnInteger, E as coerceCfnBoolean, F as requireConfigString, G as currentNameGeneration, H as looksLikeCdkdGeneratedName, J as getCurrentStackName, K as getCurrentSkipPrefix, M as replayWarn, O as configBooleanRefusal, P as requireConfigObject, Q as withSkipPrefix, S as explicitNamePropertyFor, T as withoutGeneratedFallbackName, V as generateResourceNameWithFallback, W as stackInstanceNameSuffix, X as isNameGeneration, Z as withNameGeneration, _ as currentLogLineMasker, b as alternateNamePropertiesFor, c as VERBOSE_POINTER, et as withStackScopeBeforeStateRead, g as verbosePointerTail, h as verbosePointerSentence, j as readConfigString, k as configIntegerRefusal, m as verboseAwareText, n as getLogger, p as safeStringify, q as getCurrentStackInstanceId, u as describeAwsFailure, v as installLogLineMaskerSource, w as generatedNameFor, x as applyDefaultNameForFallback, y as getLiveRenderer } from "./logger-
|
|
3
|
-
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-
|
|
1
|
+
import { A as displayStackName, C as STACK_REF_MAX_CODE_POINTS, D as displayAwsMessage, I as terminalSafe, L as truncateCodePoints, N as plainIdentOr, O as displayIdent, P as safeMsg, S as SECRET_REF_MAX_CODE_POINTS, T as asIsMessage, _ as shellQuote, a as UNSHOWABLE_VALUE, c as deployReplaceCommand, d as pasteableCommand, f as physicalIdShownBesideCommand, g as shellBoundedDisplay, h as quotedOrDescribed, i as SHELL_ACTIVE_WHY, j as isPasteableIdent, k as displaySafe, m as proseQuoted, o as cdkdRemedy, p as plainOrDescribed, s as commandHole, t as getCdkdVersion, u as isInertUnquoted, v as withheldTargetClause, w as UNRENDERABLE } from "./version-D_7vFUjp.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-6lyGJVGE.js";
|
|
3
|
+
import { A as stripControlChars, C as isNameCooldownError, F as isAmbiguousOutcomeError, G as markRedactedCause, H as isMarkedNonRetryable, J as DynamicReferenceRegionAmbiguousError, K as wrapMaskedAwsError, L as isIamPropagationError, O as relayedNameCollision, P as isAmbiguousCcHandlerErrorCode, Q as AccountIdUnavailableError, S as isNameCollisionErrorFrom, T as isReplayedNameCollisionFrom, U as isThrottlingError, W as markNonRetryable, X as MalformedProducerRecordRefusalError, Y as IntrinsicResolutionRefusalError, Z as SelectOutOfBoundsRefusalError, _ as ResourceUpdateNotSupportedError, a as normalizeAwsError, at as ProvisioningError, b as isUpdateUnsupportedError, et as CdkdError, i as credentialFingerprint, k as escapeRegExp$1, m as ExportInUseError, n as ambientCredentialConfig, nt as DeploymentNotApprovedError, ot as ResourceTimeoutError, q as CrossAccountSecretRefusalError, r as clientDefaultsFor, st as StateError, t as ambientClientDefaults, w as isRecreateRetryableError, z as isTransientServerError } from "./ambient-client-defaults-CepgBr_y.js";
|
|
4
4
|
import { a as getAssumedRoleCredentials, c as setAssumedRoleCredentials, d as quietS3Logger, f as ambientRegion, i as awsEndpointOverrideUrl, n as awsClientDefaults, o as getPreAssumeEnvCredentials, r as awsEndpointOverrideActive, t as SECOND_ROLE_PUBLISH_REFUSAL, u as setPreAssumeEnvCredentials } from "./aws-client-defaults-DAebi99J.js";
|
|
5
5
|
import { l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-DOkPjjAW.js";
|
|
6
|
-
import { A as describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-
|
|
6
|
+
import { A as describeJsonParseFailure, C as PhaseClock, E as recordPhase, M as parseFailureDebugDetail, N as parseJsonNamingNoBody, O as timePhase, P as utf8ByteLength, S as CREATE_ONLY_PATHS_SNAPSHOT, T as phaseTimingsEnabled, _ as hasNoRegistrySchema, a as reDisableInstanceApiTermination, b as IAM_PROPAGATION_MAX_DELAY_MS, c as unchangedBehindSecretReference, d as getCreateOnlyPropertyPaths, f as isIntrinsicShaped, g as describeTypeWithThrottleRetry, h as parseCreateOnlyPropertyPointers, i as observeThenDisableInstanceApiTermination, j as jsonParseFailureStandIn, k as timePhaseSync, l as cachedCreateOnlyPropertyPaths, m as templateResourceTypes, n as ec2InstanceProtectionSite, o as reEnableInstanceApiTermination, p as prefetchCreateOnlyPropertyPaths, r as isTerminationProtectionPropagationError, v as isAwsEmulatorRegistryMiss, w as phaseScopeForStack, x as withRetry, y as reportAwsEmulatorRegistryMiss } from "./ec2-termination-protection-Di3eM8PN.js";
|
|
7
7
|
import { i as sameRegion, n as canonicalizeRegion, r as derivePartitionAndUrlSuffix } from "./aws-partition-DA0r2sr-.js";
|
|
8
|
-
import { t as expectedOwnerParam } from "./expected-bucket-owner-
|
|
9
|
-
import {
|
|
10
|
-
import { a as
|
|
11
|
-
import { $t as withdrawRenderedParameterSpelling, A as witnessNormalize, An as recordProvenPublicExpression, At as withoutPhysicalNameCopies, B as redactionClaimOf, Bt as splitOutsideDynamicReferences, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, Fn as isSingleDynamicReferenceToken, G as foldRecording, Gt as recordInheritedPseudoParameters, H as mixedLiteralAnswered, Ht as recordDroppedArrayElements, I as markSameGenerationBag, In as maskMatchSpans, J as hasPassProvenance, Jt as inheritedParameterExpression, K as openRecordingScope, Kt as templateRereadsAccountId, L as mergeResolvedPairs, Lt as arrayPairsWhateverDrops, M as carryRedactionMarks, Mn as withoutNoEchoParameterEntries, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, On as recordNoEchoAttributeValues, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as isDynamicReferenceString, Q as recordReferenceResolution, Qt as redactInheritedParameterValue, R as recordIntrinsicLeafResolution, S as noEchoParametersReadBy, Sn as pinScopedSecretVerdict, St as replaceWholeLeaves, Tn as recordFreshNoEchoValuesIn, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as recordTakenIfBranch, V as resolvedPlaintextOf, Vt as standsForInheritedSecret, W as redactForState, Wt as inheritedPseudoValue, X as passReadVersionsFor, Xt as recordInheritedParameterRead, Y as passProvenanceFor, Yt as inheritedRenderedToken, Z as recordReferenceProvenanceEntry, Zt as recordInheritedParameterValue, _ as noEchoComparison, _n as isNoEchoParameterPlaintext, _t as maskSecretsInText, an as physicalNameCopiesOf, at as literalSplitDelimitersOf, bn as markNoEchoParameterClass, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, cn as recordNestedStackParameterExpressions, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as splitGetAttStringForm, dt as shareLogOnlyValues, en as carriesFreshNoEchoValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as carriesSecretMask, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as isMaskOnlyPlaintext, gt as maskSecretsInError, h as maskWholeValue, hn as freshNoEchoValuesOf, ht as maskRecordedSecretsInText, in as recoverMaskedOutput, it as hasMaskableValues, jn as wholeStringLeavesOf, jt as spanNamesResolvableService, k as valueAtCoordinate, kn as recordNoEchoParameterFreshValue, kt as withPhysicalNameCopies, ln as crossStackSourceKey, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as contradictProvenPublicExpression, mt as errorCauseChain, nn as freshNoEchoLeafPositions, nt as createUnionSecretMasker, p as maskAtCoordinates, pn as carryFreshNoEchoMark, pt as createSecretMasker, q as recordSecretResolution, qt as inheritNestedStackParameterAssociations, rn as recordRecoverableMaskedOutput, rt as hasLogOnlyValues, sn as recordPhysicalNameCopy, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as embedsFreshNoEchoValue, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordCrossStackExpression, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isScopedSecretVerdict, vt as differingStringLeaves, w as readbackPathFor, wn as recordDerivedMaskOnlyValue, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as noEchoParameterPlaintextsOf, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isSecretExpressionByVerdictOrSpelling, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as rereadParameterExpression } from "./replacement-rules-
|
|
12
|
-
import { C as unsettledItemsTopKey, D as withoutUnsettledProperties, E as withUnsettledProperties, S as unsettledItemsOf, T as withUnsettledItems, b as unsettledContextOf, c as refuseRestoreFromItself,
|
|
8
|
+
import { t as expectedOwnerParam } from "./expected-bucket-owner-Drp-CSQY.js";
|
|
9
|
+
import { B as refusalTypeShown, Bt as RETRY_AUXILIARY_OWNER, Ct as isInterruptedWaitError, Dt as compositeIdSeparatorRefusal, Ft as createMaskedRetryLogger, G as isMarkedNotGone, H as resolveExplicitPhysicalId, It as isSecretDerivedValue, J as deleteWithProtectionCompensation, Jt as markAuxiliaryFailure, K as markNotGone, Kt as isAuxiliaryFailure, L as isQuotableImportValue, Lt as maskDeep, M as withoutServerErrorRetries, Mt as segmentAfterAnchor, Nt as stateOrphanRecordRemedy, Pt as createMaskedLogSinks, R as normalizeAwsTagsToCfn, Rt as maskerOrIdentity, Tt as canonicalizeRoute53QueryName, U as RESOURCE_NOT_FOUND, Ut as createdBeforeFailure, W as assertRegionMatch, Wt as createdResourceIdentityBeforeFailure, X as observeThenDisableProtection, Yt as markCreatedBeforeFailure, _t as pasteableAwsCommand, an as recoveryCommandFlags, c as clearCreatedReport, cn as DEFAULT_STATE_PREFIX, ct as protectionFlipKey, dt as ElapsedBudgetRegistry, f as retractCreatedResource, fn as producerRecordKey, ft as monotonicNowMs, hn as withPasteableAwsProfile, jt as resourceTypeShown, kt as logicalIdShown, l as collectCreatedResources, ln as injectiveKey, lt as runDeleteAttempt, n as prepareRemovalForUpdate, o as withoutInjectedRemovals, on as sanitizeRecoveryValue, ot as ProtectionFlipRegistry, pt as DELETION_PROTECTION_DOC_POINTER, q as compensateProtectionFlip, qt as isAuxiliaryMarkOf, r as removalWarning, s as CreatedResourceSink, sn as CUSTOM_RESOURCE_RESPONSE_PREFIX, st as isTerminalDeleteFailure, u as reportCreatedResource, ut as ElapsedBudget, vt as protectedReplacementAdvice, wt as startInterruptWatch, x as withUnchangedSecretPrincipalLists, z as quotedRemedyLogicalId, zt as withDerivedNameMasks } from "./update-removal-1ZPAMzvz.js";
|
|
10
|
+
import { _ as stackInstanceIdCarriedFrom, a as slowCcOperationTimeoutMs, c as exportNamesCarriedFrom, d as importableOutputs, f as isReadableBag, g as skippedOutputsCarriedFrom, h as shouldRetainResource, i as dbInstanceAttributes, m as orphansCarriedFrom, n as isRefusedByName, o as acceptedCreateOnlyDropsOf, p as orphansAfterRollback, r as markDeleteStarted, s as describeRegionValueKind, t as isDeleteStarted, u as importableOutputKeys } from "./delete-started-Bq_G9e4j.js";
|
|
11
|
+
import { $t as withdrawRenderedParameterSpelling, A as witnessNormalize, An as recordProvenPublicExpression, At as withoutPhysicalNameCopies, B as redactionClaimOf, Bt as splitOutsideDynamicReferences, Ct as withLegacyOverlapScan, D as recordedNoEchoValuesOf, Dt as replaceEmbeddedPhysicalNameRewrites, E as recordPassedNoEchoParameters, Et as repairPhysicalNameCopyLeaves, F as markLeafCertifiedBag, Fn as isSingleDynamicReferenceToken, G as foldRecording, Gt as recordInheritedPseudoParameters, H as mixedLiteralAnswered, Ht as recordDroppedArrayElements, I as markSameGenerationBag, In as maskMatchSpans, J as hasPassProvenance, Jt as inheritedParameterExpression, K as openRecordingScope, Kt as templateRereadsAccountId, L as mergeResolvedPairs, Lt as arrayPairsWhateverDrops, M as carryRedactionMarks, Mn as withoutNoEchoParameterEntries, Mt as DYNAMIC_REFERENCE_TOKEN_SCAN, N as intrinsicLeafResolutionOf, Nt as dynamicReferenceTokens, O as replaceAtCoordinates, On as recordNoEchoAttributeValues, Ot as scrubResourceRecord, P as isSameGenerationBag, Pn as isDynamicReferenceString, Q as recordReferenceResolution, Qt as redactInheritedParameterValue, R as recordIntrinsicLeafResolution, S as noEchoParametersReadBy, Sn as pinScopedSecretVerdict, St as replaceWholeLeaves, Tn as recordFreshNoEchoValuesIn, Tt as repairEmbeddedPhysicalNamesTowards, U as withLegacyMixedScan, Ut as recordTakenIfBranch, V as resolvedPlaintextOf, Vt as standsForInheritedSecret, W as redactForState, Wt as inheritedPseudoValue, X as passReadVersionsFor, Xt as recordInheritedParameterRead, Y as passProvenanceFor, Yt as inheritedRenderedToken, Z as recordReferenceProvenanceEntry, Zt as recordInheritedParameterValue, _ as noEchoComparison, _n as isNoEchoParameterPlaintext, _t as maskSecretsInText, an as physicalNameCopiesOf, at as literalSplitDelimitersOf, bn as markNoEchoParameterClass, bt as legacyReferenceLeavesOnly, c as parseLambdaFunctionAddress, cn as recordNestedStackParameterExpressions, ct as recordLogOnlyParameterValue, d as canonicalJson$5, dn as splitGetAttStringForm, dt as shareLogOnlyValues, en as carriesFreshNoEchoValue, et as carryLogOnlyValues, f as isMarkedCoordinate, fn as carriesSecretMask, ft as unionOfSecretBags, g as maskedLeafCoordinatesOf, gn as isMaskOnlyPlaintext, gt as maskSecretsInError, h as maskWholeValue, hn as freshNoEchoValuesOf, ht as maskRecordedSecretsInText, in as recoverMaskedOutput, it as hasMaskableValues, jn as wholeStringLeavesOf, jt as spanNamesResolvableService, k as valueAtCoordinate, kn as recordNoEchoParameterFreshValue, kt as withPhysicalNameCopies, ln as crossStackSourceKey, lt as recordLogOnlySplitFragments, m as maskReadbackAtCoordinates, mn as contradictProvenPublicExpression, mt as errorCauseChain, nn as freshNoEchoLeafPositions, nt as createUnionSecretMasker, p as maskAtCoordinates, pn as carryFreshNoEchoMark, pt as createSecretMasker, q as recordSecretResolution, qt as inheritNestedStackParameterAssociations, rn as recordRecoverableMaskedOutput, rt as hasLogOnlyValues, sn as recordPhysicalNameCopy, st as printingCorpusOf, t as ReplacementRulesRegistry, tn as embedsFreshNoEchoValue, tt as carryLogOnlyValuesCarriedBy, u as canonicalCoordinates, un as recordCrossStackExpression, ut as recordLogOnlyValue, v as noEchoCoordinatesOf, vn as isScopedSecretVerdict, vt as differingStringLeaves, w as readbackPathFor, wn as recordDerivedMaskOnlyValue, wt as embeddedPhysicalNameRewrites, x as noEchoParameterNodesAt, xn as noEchoParameterPlaintextsOf, xt as overlapRuleAnswered, y as noEchoLeavesOf, yn as isSecretExpressionByVerdictOrSpelling, yt as legacyLeavesWithoutMask, z as recordIntrinsicLeafResolutionAs, zt as rereadParameterExpression } from "./replacement-rules-B4fLD_Ru.js";
|
|
12
|
+
import { C as unsettledItemsTopKey, D as withoutUnsettledProperties, E as withUnsettledProperties, S as unsettledItemsOf, T as withUnsettledItems, _ as definedAttributes, b as unsettledContextOf, c as refuseRestoreFromItself, f as planTagDiff, g as tagPlanWarning, i as withResourceDeadline, m as refuseMalformedDesiredTags, n as enclosingDeadlineRemainingMs, p as readTagList, r as whileEnclosingDeadlinesPaused, t as enclosingDeadlineExpired, w as unsettledPropertiesOf, x as unsettledItemsField, y as isUsableAttemptedName } from "./resource-deadline-BcEyGRdL.js";
|
|
13
13
|
import { createHash, randomUUID, timingSafeEqual } from "node:crypto";
|
|
14
14
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
15
15
|
import { CreateBucketCommand, DeleteObjectCommand, DeleteObjectsCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketReplicationCommand, GetObjectCommand, HeadBucketCommand, HeadObjectCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchKey, PutBucketEncryptionCommand, PutBucketLifecycleConfigurationCommand, PutBucketPolicyCommand, PutObjectCommand, PutPublicAccessBlockCommand, S3Client } from "@aws-sdk/client-s3";
|
|
@@ -82,7 +82,7 @@ async function resolveBucketRegion(bucketName, opts = {}) {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
try {
|
|
85
|
-
const { expectedOwnerParam } = await import("./expected-bucket-owner-
|
|
85
|
+
const { expectedOwnerParam } = await import("./expected-bucket-owner-Drp-CSQY.js").then((n) => n.n);
|
|
86
86
|
return (await client.send(new GetBucketLocationCommand({
|
|
87
87
|
Bucket: bucketName,
|
|
88
88
|
...await expectedOwnerParam(client)
|
|
@@ -1533,6 +1533,15 @@ const NON_SENSITIVE_SUFFIX = /(arn|id|name|url|alias|status)$/i;
|
|
|
1533
1533
|
function isSensitiveAttributeName(attributeName) {
|
|
1534
1534
|
return SENSITIVE_ATTRIBUTE_NAME.test(attributeName) && !NON_SENSITIVE_SUFFIX.test(attributeName);
|
|
1535
1535
|
}
|
|
1536
|
+
const SECRET_VALUED_ATTRIBUTES = /* @__PURE__ */ new Map([
|
|
1537
|
+
["AWS::AppSync::ApiKey", ["ApiKey"]],
|
|
1538
|
+
["AWS::EC2::IpamExternalResourceVerificationToken", ["TokenValue"]],
|
|
1539
|
+
["AWS::IVS::StreamKey", ["Value"]]
|
|
1540
|
+
]);
|
|
1541
|
+
function isSecretValuedAttribute(resourceType, attribute) {
|
|
1542
|
+
if (resourceType === void 0) return false;
|
|
1543
|
+
return SECRET_VALUED_ATTRIBUTES.get(resourceType)?.includes(attribute) === true;
|
|
1544
|
+
}
|
|
1536
1545
|
function stringifyAttributeForLog(attributeName, value) {
|
|
1537
1546
|
if (isSensitiveAttributeName(attributeName)) return "<redacted>";
|
|
1538
1547
|
return stringifyValue(value);
|
|
@@ -4184,6 +4193,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4184
4193
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4185
4194
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4186
4195
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4196
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4187
4197
|
ccRouteUnavailable: false
|
|
4188
4198
|
}],
|
|
4189
4199
|
["AWS::ApiGateway::Authorizer", {
|
|
@@ -4202,6 +4212,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4202
4212
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4203
4213
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4204
4214
|
readOnly: /* @__PURE__ */ new Set(["AuthorizerId"]),
|
|
4215
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AuthorizerId", "RestApiId"]),
|
|
4205
4216
|
ccRouteUnavailable: false
|
|
4206
4217
|
}],
|
|
4207
4218
|
["AWS::ApiGateway::Deployment", {
|
|
@@ -4213,6 +4224,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4213
4224
|
]),
|
|
4214
4225
|
createOnlyDrops: /* @__PURE__ */ new Set(["DeploymentCanarySettings"]),
|
|
4215
4226
|
readOnly: /* @__PURE__ */ new Set(["DeploymentId"]),
|
|
4227
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DeploymentId", "RestApiId"]),
|
|
4216
4228
|
ccRouteUnavailable: false
|
|
4217
4229
|
}],
|
|
4218
4230
|
["AWS::ApiGateway::Method", {
|
|
@@ -4234,6 +4246,11 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4234
4246
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4235
4247
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4236
4248
|
readOnly: /* @__PURE__ */ new Set(),
|
|
4249
|
+
primaryIdentifier: /* @__PURE__ */ new Set([
|
|
4250
|
+
"HttpMethod",
|
|
4251
|
+
"ResourceId",
|
|
4252
|
+
"RestApiId"
|
|
4253
|
+
]),
|
|
4237
4254
|
ccRouteUnavailable: false
|
|
4238
4255
|
}],
|
|
4239
4256
|
["AWS::ApiGateway::Resource", {
|
|
@@ -4245,6 +4262,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4245
4262
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4246
4263
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4247
4264
|
readOnly: /* @__PURE__ */ new Set(["ResourceId"]),
|
|
4265
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ResourceId", "RestApiId"]),
|
|
4248
4266
|
ccRouteUnavailable: false
|
|
4249
4267
|
}],
|
|
4250
4268
|
["AWS::ApiGateway::RestApi", {
|
|
@@ -4271,6 +4289,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4271
4289
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4272
4290
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4273
4291
|
readOnly: /* @__PURE__ */ new Set(["RestApiId", "RootResourceId"]),
|
|
4292
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RestApiId"]),
|
|
4274
4293
|
ccRouteUnavailable: false
|
|
4275
4294
|
}],
|
|
4276
4295
|
["AWS::ApiGateway::Stage", {
|
|
@@ -4293,6 +4312,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4293
4312
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4294
4313
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4295
4314
|
readOnly: /* @__PURE__ */ new Set(),
|
|
4315
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RestApiId", "StageName"]),
|
|
4296
4316
|
ccRouteUnavailable: false
|
|
4297
4317
|
}],
|
|
4298
4318
|
["AWS::ApiGatewayV2::Api", {
|
|
@@ -4324,6 +4344,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4324
4344
|
"ApiId",
|
|
4325
4345
|
"ExecuteApiArn"
|
|
4326
4346
|
]),
|
|
4347
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId"]),
|
|
4327
4348
|
ccRouteUnavailable: false
|
|
4328
4349
|
}],
|
|
4329
4350
|
["AWS::ApiGatewayV2::Authorizer", {
|
|
@@ -4343,6 +4364,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4343
4364
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4344
4365
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4345
4366
|
readOnly: /* @__PURE__ */ new Set(["AuthorizerId"]),
|
|
4367
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId", "AuthorizerId"]),
|
|
4346
4368
|
ccRouteUnavailable: false
|
|
4347
4369
|
}],
|
|
4348
4370
|
["AWS::ApiGatewayV2::Integration", {
|
|
@@ -4369,6 +4391,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4369
4391
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4370
4392
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4371
4393
|
readOnly: /* @__PURE__ */ new Set(["IntegrationId"]),
|
|
4394
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId", "IntegrationId"]),
|
|
4372
4395
|
ccRouteUnavailable: false
|
|
4373
4396
|
}],
|
|
4374
4397
|
["AWS::ApiGatewayV2::Route", {
|
|
@@ -4389,6 +4412,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4389
4412
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4390
4413
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4391
4414
|
readOnly: /* @__PURE__ */ new Set(["RouteId"]),
|
|
4415
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId", "RouteId"]),
|
|
4392
4416
|
ccRouteUnavailable: false
|
|
4393
4417
|
}],
|
|
4394
4418
|
["AWS::ApiGatewayV2::Stage", {
|
|
@@ -4408,6 +4432,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4408
4432
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4409
4433
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4410
4434
|
readOnly: /* @__PURE__ */ new Set(),
|
|
4435
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId", "StageName"]),
|
|
4411
4436
|
ccRouteUnavailable: false
|
|
4412
4437
|
}],
|
|
4413
4438
|
["AWS::AppConfig::Environment", {
|
|
@@ -4422,6 +4447,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4422
4447
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4423
4448
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4424
4449
|
readOnly: /* @__PURE__ */ new Set(["EnvironmentId"]),
|
|
4450
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApplicationId", "EnvironmentId"]),
|
|
4425
4451
|
ccRouteUnavailable: true
|
|
4426
4452
|
}],
|
|
4427
4453
|
["AWS::AppSync::ApiKey", {
|
|
@@ -4437,6 +4463,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4437
4463
|
"ApiKeyId",
|
|
4438
4464
|
"Arn"
|
|
4439
4465
|
]),
|
|
4466
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ApiId", "ApiKeyId"]),
|
|
4440
4467
|
ccRouteUnavailable: false
|
|
4441
4468
|
}],
|
|
4442
4469
|
["AWS::AppSync::DataSource", {
|
|
@@ -4458,6 +4485,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4458
4485
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4459
4486
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4460
4487
|
readOnly: /* @__PURE__ */ new Set(["DataSourceArn"]),
|
|
4488
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DataSourceArn"]),
|
|
4461
4489
|
ccRouteUnavailable: false
|
|
4462
4490
|
}],
|
|
4463
4491
|
["AWS::AppSync::GraphQLApi", {
|
|
@@ -4492,6 +4520,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4492
4520
|
"RealtimeDns",
|
|
4493
4521
|
"RealtimeUrl"
|
|
4494
4522
|
]),
|
|
4523
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Arn"]),
|
|
4495
4524
|
ccRouteUnavailable: false
|
|
4496
4525
|
}],
|
|
4497
4526
|
["AWS::AppSync::GraphQLSchema", {
|
|
@@ -4503,6 +4532,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4503
4532
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4504
4533
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4505
4534
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4535
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4506
4536
|
ccRouteUnavailable: true
|
|
4507
4537
|
}],
|
|
4508
4538
|
["AWS::AppSync::Resolver", {
|
|
@@ -4528,6 +4558,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4528
4558
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4529
4559
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4530
4560
|
readOnly: /* @__PURE__ */ new Set(["ResolverArn"]),
|
|
4561
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ResolverArn"]),
|
|
4531
4562
|
ccRouteUnavailable: false
|
|
4532
4563
|
}],
|
|
4533
4564
|
["AWS::AutoScaling::AutoScalingGroup", {
|
|
@@ -4576,6 +4607,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4576
4607
|
]),
|
|
4577
4608
|
createOnlyDrops: /* @__PURE__ */ new Set(["InstanceId"]),
|
|
4578
4609
|
readOnly: /* @__PURE__ */ new Set(["AutoScalingGroupARN"]),
|
|
4610
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AutoScalingGroupName"]),
|
|
4579
4611
|
ccRouteUnavailable: false
|
|
4580
4612
|
}],
|
|
4581
4613
|
["AWS::BedrockAgentCore::Browser", {
|
|
@@ -4588,6 +4620,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4588
4620
|
"Name",
|
|
4589
4621
|
"Status"
|
|
4590
4622
|
]),
|
|
4623
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["BrowserArn"]),
|
|
4591
4624
|
ccRouteUnavailable: true
|
|
4592
4625
|
}],
|
|
4593
4626
|
["AWS::BedrockAgentCore::CodeInterpreter", {
|
|
@@ -4599,6 +4632,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4599
4632
|
"CodeInterpreterId",
|
|
4600
4633
|
"Status"
|
|
4601
4634
|
]),
|
|
4635
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["CodeInterpreterArn"]),
|
|
4602
4636
|
ccRouteUnavailable: true
|
|
4603
4637
|
}],
|
|
4604
4638
|
["AWS::BedrockAgentCore::Evaluator", {
|
|
@@ -4621,6 +4655,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4621
4655
|
"Status",
|
|
4622
4656
|
"UpdatedAt"
|
|
4623
4657
|
]),
|
|
4658
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["EvaluatorArn"]),
|
|
4624
4659
|
ccRouteUnavailable: false
|
|
4625
4660
|
}],
|
|
4626
4661
|
["AWS::BedrockAgentCore::Runtime", {
|
|
@@ -4653,6 +4688,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4653
4688
|
"Status",
|
|
4654
4689
|
"WorkloadIdentityDetails"
|
|
4655
4690
|
]),
|
|
4691
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AgentRuntimeId"]),
|
|
4656
4692
|
ccRouteUnavailable: false
|
|
4657
4693
|
}],
|
|
4658
4694
|
["AWS::Budgets::Budget", {
|
|
@@ -4664,6 +4700,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4664
4700
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4665
4701
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4666
4702
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4703
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4667
4704
|
ccRouteUnavailable: true
|
|
4668
4705
|
}],
|
|
4669
4706
|
["AWS::CertificateManager::Certificate", {
|
|
@@ -4681,6 +4718,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4681
4718
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4682
4719
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4683
4720
|
readOnly: /* @__PURE__ */ new Set(["CertificateArn"]),
|
|
4721
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["CertificateArn"]),
|
|
4684
4722
|
ccRouteUnavailable: false
|
|
4685
4723
|
}],
|
|
4686
4724
|
["AWS::CloudFormation::Stack", {
|
|
@@ -4711,6 +4749,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4711
4749
|
"StackId",
|
|
4712
4750
|
"StackStatus"
|
|
4713
4751
|
]),
|
|
4752
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["StackId"]),
|
|
4714
4753
|
ccRouteUnavailable: true
|
|
4715
4754
|
}],
|
|
4716
4755
|
["AWS::CloudFormation::WaitConditionHandle", {
|
|
@@ -4718,6 +4757,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4718
4757
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4719
4758
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4720
4759
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4760
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4721
4761
|
ccRouteUnavailable: true
|
|
4722
4762
|
}],
|
|
4723
4763
|
["AWS::CloudFront::CloudFrontOriginAccessIdentity", {
|
|
@@ -4725,6 +4765,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4725
4765
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4726
4766
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4727
4767
|
readOnly: /* @__PURE__ */ new Set(["Id", "S3CanonicalUserId"]),
|
|
4768
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4728
4769
|
ccRouteUnavailable: false
|
|
4729
4770
|
}],
|
|
4730
4771
|
["AWS::CloudFront::Distribution", {
|
|
@@ -4732,6 +4773,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4732
4773
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4733
4774
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4734
4775
|
readOnly: /* @__PURE__ */ new Set(["DomainName", "Id"]),
|
|
4776
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4735
4777
|
ccRouteUnavailable: false
|
|
4736
4778
|
}],
|
|
4737
4779
|
["AWS::CloudFront::OriginAccessControl", {
|
|
@@ -4739,6 +4781,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4739
4781
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4740
4782
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4741
4783
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4784
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4742
4785
|
ccRouteUnavailable: false
|
|
4743
4786
|
}],
|
|
4744
4787
|
["AWS::CloudTrail::Trail", {
|
|
@@ -4765,6 +4808,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4765
4808
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4766
4809
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4767
4810
|
readOnly: /* @__PURE__ */ new Set(["Arn", "SnsTopicArn"]),
|
|
4811
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TrailName"]),
|
|
4768
4812
|
ccRouteUnavailable: false
|
|
4769
4813
|
}],
|
|
4770
4814
|
["AWS::CloudWatch::Alarm", {
|
|
@@ -4800,6 +4844,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4800
4844
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4801
4845
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4802
4846
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
4847
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AlarmName"]),
|
|
4803
4848
|
ccRouteUnavailable: false
|
|
4804
4849
|
}],
|
|
4805
4850
|
["AWS::CloudWatch::AnomalyDetector", {
|
|
@@ -4816,6 +4861,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4816
4861
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4817
4862
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4818
4863
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
4864
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4819
4865
|
ccRouteUnavailable: true
|
|
4820
4866
|
}],
|
|
4821
4867
|
["AWS::CodeBuild::Project", {
|
|
@@ -4849,6 +4895,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4849
4895
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4850
4896
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4851
4897
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
4898
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
4852
4899
|
ccRouteUnavailable: true
|
|
4853
4900
|
}],
|
|
4854
4901
|
["AWS::CodeCommit::Repository", {
|
|
@@ -4869,6 +4916,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4869
4916
|
"Name",
|
|
4870
4917
|
"RepositoryId"
|
|
4871
4918
|
]),
|
|
4919
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RepositoryId"]),
|
|
4872
4920
|
ccRouteUnavailable: false
|
|
4873
4921
|
}],
|
|
4874
4922
|
["AWS::Cognito::UserPool", {
|
|
@@ -4914,6 +4962,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4914
4962
|
"ProviderURL",
|
|
4915
4963
|
"UserPoolId"
|
|
4916
4964
|
]),
|
|
4965
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["UserPoolId"]),
|
|
4917
4966
|
ccRouteUnavailable: false
|
|
4918
4967
|
}],
|
|
4919
4968
|
["AWS::DLM::LifecyclePolicy", {
|
|
@@ -4934,6 +4983,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4934
4983
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
4935
4984
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
4936
4985
|
readOnly: /* @__PURE__ */ new Set(["Arn", "PolicyId"]),
|
|
4986
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["PolicyId"]),
|
|
4937
4987
|
ccRouteUnavailable: false
|
|
4938
4988
|
}],
|
|
4939
4989
|
["AWS::DocDB::DBCluster", {
|
|
@@ -4978,6 +5028,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
4978
5028
|
"ReadEndpoint",
|
|
4979
5029
|
"ServerlessV2PlatformVersion"
|
|
4980
5030
|
]),
|
|
5031
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
4981
5032
|
ccRouteUnavailable: true
|
|
4982
5033
|
}],
|
|
4983
5034
|
["AWS::DocDB::DBInstance", {
|
|
@@ -5000,6 +5051,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5000
5051
|
"Id",
|
|
5001
5052
|
"Port"
|
|
5002
5053
|
]),
|
|
5054
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5003
5055
|
ccRouteUnavailable: true
|
|
5004
5056
|
}],
|
|
5005
5057
|
["AWS::DocDB::DBSubnetGroup", {
|
|
@@ -5012,6 +5064,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5012
5064
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5013
5065
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5014
5066
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5067
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBSubnetGroupName"]),
|
|
5015
5068
|
ccRouteUnavailable: false
|
|
5016
5069
|
}],
|
|
5017
5070
|
["AWS::DynamoDB::GlobalTable", {
|
|
@@ -5047,6 +5100,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5047
5100
|
"StreamArn",
|
|
5048
5101
|
"TableId"
|
|
5049
5102
|
]),
|
|
5103
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TableName"]),
|
|
5050
5104
|
ccRouteUnavailable: false
|
|
5051
5105
|
}],
|
|
5052
5106
|
["AWS::DynamoDB::Table", {
|
|
@@ -5075,6 +5129,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5075
5129
|
sdkUnwired: /* @__PURE__ */ new Map([["ImportSourceSpecification", "S3 import uses the separate ImportTable API (not CreateTable) and is create-only with no readback; deferred to a dedicated import-from-S3 PR"]]),
|
|
5076
5130
|
createOnlyDrops: /* @__PURE__ */ new Set(["ImportSourceSpecification"]),
|
|
5077
5131
|
readOnly: /* @__PURE__ */ new Set(["Arn", "StreamArn"]),
|
|
5132
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TableName"]),
|
|
5078
5133
|
ccRouteUnavailable: false
|
|
5079
5134
|
}],
|
|
5080
5135
|
["AWS::EC2::EIP", {
|
|
@@ -5096,6 +5151,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5096
5151
|
"TransferAddress"
|
|
5097
5152
|
]),
|
|
5098
5153
|
readOnly: /* @__PURE__ */ new Set(["AllocationId", "PublicIp"]),
|
|
5154
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AllocationId", "PublicIp"]),
|
|
5099
5155
|
ccRouteUnavailable: false
|
|
5100
5156
|
}],
|
|
5101
5157
|
["AWS::EC2::Instance", {
|
|
@@ -5151,6 +5207,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5151
5207
|
"State",
|
|
5152
5208
|
"VpcId"
|
|
5153
5209
|
]),
|
|
5210
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["InstanceId"]),
|
|
5154
5211
|
ccRouteUnavailable: false
|
|
5155
5212
|
}],
|
|
5156
5213
|
["AWS::EC2::InternetGateway", {
|
|
@@ -5158,6 +5215,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5158
5215
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5159
5216
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5160
5217
|
readOnly: /* @__PURE__ */ new Set(["InternetGatewayId"]),
|
|
5218
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["InternetGatewayId"]),
|
|
5161
5219
|
ccRouteUnavailable: false
|
|
5162
5220
|
}],
|
|
5163
5221
|
["AWS::EC2::NatGateway", {
|
|
@@ -5183,6 +5241,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5183
5241
|
"NatGatewayId",
|
|
5184
5242
|
"RouteTableId"
|
|
5185
5243
|
]),
|
|
5244
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["NatGatewayId"]),
|
|
5186
5245
|
ccRouteUnavailable: false
|
|
5187
5246
|
}],
|
|
5188
5247
|
["AWS::EC2::NetworkAcl", {
|
|
@@ -5190,6 +5249,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5190
5249
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5191
5250
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5192
5251
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
5252
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5193
5253
|
ccRouteUnavailable: false
|
|
5194
5254
|
}],
|
|
5195
5255
|
["AWS::EC2::NetworkAclEntry", {
|
|
@@ -5207,6 +5267,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5207
5267
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5208
5268
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5209
5269
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
5270
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5210
5271
|
ccRouteUnavailable: true
|
|
5211
5272
|
}],
|
|
5212
5273
|
["AWS::EC2::Route", {
|
|
@@ -5231,6 +5292,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5231
5292
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5232
5293
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5233
5294
|
readOnly: /* @__PURE__ */ new Set(["CidrBlock"]),
|
|
5295
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["CidrBlock", "RouteTableId"]),
|
|
5234
5296
|
ccRouteUnavailable: false
|
|
5235
5297
|
}],
|
|
5236
5298
|
["AWS::EC2::RouteTable", {
|
|
@@ -5238,6 +5300,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5238
5300
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5239
5301
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5240
5302
|
readOnly: /* @__PURE__ */ new Set(["RouteTableId"]),
|
|
5303
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RouteTableId"]),
|
|
5241
5304
|
ccRouteUnavailable: false
|
|
5242
5305
|
}],
|
|
5243
5306
|
["AWS::EC2::SecurityGroup", {
|
|
@@ -5252,6 +5315,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5252
5315
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5253
5316
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5254
5317
|
readOnly: /* @__PURE__ */ new Set(["GroupId", "Id"]),
|
|
5318
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5255
5319
|
ccRouteUnavailable: false
|
|
5256
5320
|
}],
|
|
5257
5321
|
["AWS::EC2::SecurityGroupIngress", {
|
|
@@ -5270,6 +5334,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5270
5334
|
sdkUnwired: /* @__PURE__ */ new Map([["GroupName", "EC2-Classic-only — use GroupId for VPC security groups (EC2-Classic retired 2022-08-15)"], ["SourceSecurityGroupName", "EC2-Classic-only — use SourceSecurityGroupId for VPC peer security groups (EC2-Classic retired 2022-08-15)"]]),
|
|
5271
5335
|
createOnlyDrops: /* @__PURE__ */ new Set(["GroupName", "SourceSecurityGroupName"]),
|
|
5272
5336
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
5337
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5273
5338
|
ccRouteUnavailable: false
|
|
5274
5339
|
}],
|
|
5275
5340
|
["AWS::EC2::Subnet", {
|
|
@@ -5298,6 +5363,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5298
5363
|
"NetworkAclAssociationId",
|
|
5299
5364
|
"SubnetId"
|
|
5300
5365
|
]),
|
|
5366
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["SubnetId"]),
|
|
5301
5367
|
ccRouteUnavailable: false
|
|
5302
5368
|
}],
|
|
5303
5369
|
["AWS::EC2::SubnetNetworkAclAssociation", {
|
|
@@ -5305,6 +5371,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5305
5371
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5306
5372
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5307
5373
|
readOnly: /* @__PURE__ */ new Set(["AssociationId"]),
|
|
5374
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AssociationId"]),
|
|
5308
5375
|
ccRouteUnavailable: false
|
|
5309
5376
|
}],
|
|
5310
5377
|
["AWS::EC2::SubnetRouteTableAssociation", {
|
|
@@ -5312,6 +5379,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5312
5379
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5313
5380
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5314
5381
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
5382
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5315
5383
|
ccRouteUnavailable: false
|
|
5316
5384
|
}],
|
|
5317
5385
|
["AWS::EC2::VPC", {
|
|
@@ -5334,6 +5402,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5334
5402
|
"Ipv6CidrBlocks",
|
|
5335
5403
|
"VpcId"
|
|
5336
5404
|
]),
|
|
5405
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["VpcId"]),
|
|
5337
5406
|
ccRouteUnavailable: false
|
|
5338
5407
|
}],
|
|
5339
5408
|
["AWS::EC2::VPCGatewayAttachment", {
|
|
@@ -5345,6 +5414,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5345
5414
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5346
5415
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5347
5416
|
readOnly: /* @__PURE__ */ new Set(["AttachmentType"]),
|
|
5417
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AttachmentType", "VpcId"]),
|
|
5348
5418
|
ccRouteUnavailable: false
|
|
5349
5419
|
}],
|
|
5350
5420
|
["AWS::ECR::Repository", {
|
|
@@ -5362,6 +5432,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5362
5432
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5363
5433
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5364
5434
|
readOnly: /* @__PURE__ */ new Set(["Arn", "RepositoryUri"]),
|
|
5435
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RepositoryName"]),
|
|
5365
5436
|
ccRouteUnavailable: false
|
|
5366
5437
|
}],
|
|
5367
5438
|
["AWS::ECS::Cluster", {
|
|
@@ -5377,6 +5448,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5377
5448
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5378
5449
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5379
5450
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
5451
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ClusterName"]),
|
|
5380
5452
|
ccRouteUnavailable: false
|
|
5381
5453
|
}],
|
|
5382
5454
|
["AWS::ECS::Service", {
|
|
@@ -5413,6 +5485,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5413
5485
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5414
5486
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5415
5487
|
readOnly: /* @__PURE__ */ new Set(["Name", "ServiceArn"]),
|
|
5488
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Cluster", "ServiceArn"]),
|
|
5416
5489
|
ccRouteUnavailable: false
|
|
5417
5490
|
}],
|
|
5418
5491
|
["AWS::ECS::TaskDefinition", {
|
|
@@ -5435,9 +5508,10 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5435
5508
|
"TaskRoleArn",
|
|
5436
5509
|
"Volumes"
|
|
5437
5510
|
]),
|
|
5438
|
-
sdkUnwired: /* @__PURE__ */ new Map([["InferenceAccelerators", "AWS Elastic Inference end-of-life 2024-04; use AWS Inferentia / Trainium accelerator instance families instead"]]),
|
|
5511
|
+
sdkUnwired: /* @__PURE__ */ new Map([["InferenceAccelerators", "AWS Elastic Inference end-of-life 2024-04; use AWS Inferentia / Trainium accelerator instance families instead"], ["TrustedExecutionConfiguration", "not yet implemented by cdkd"]]),
|
|
5439
5512
|
createOnlyDrops: /* @__PURE__ */ new Set(["InferenceAccelerators"]),
|
|
5440
5513
|
readOnly: /* @__PURE__ */ new Set(["TaskDefinitionArn"]),
|
|
5514
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TaskDefinitionArn"]),
|
|
5441
5515
|
ccRouteUnavailable: false
|
|
5442
5516
|
}],
|
|
5443
5517
|
["AWS::EFS::AccessPoint", {
|
|
@@ -5450,6 +5524,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5450
5524
|
sdkUnwired: /* @__PURE__ */ new Map([["ClientToken", "cdkd supplies its own retry-stable ClientToken on CreateAccessPoint, so a template-supplied value would be overwritten. The SDK does not own this field either: an omitted ClientToken is auto-filled with a FRESH uuid per attempt, which leaves a retried 500 free to mint a second access point, while a caller-supplied value goes on the wire verbatim."]]),
|
|
5451
5525
|
createOnlyDrops: /* @__PURE__ */ new Set(["ClientToken"]),
|
|
5452
5526
|
readOnly: /* @__PURE__ */ new Set(["AccessPointId", "Arn"]),
|
|
5527
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AccessPointId"]),
|
|
5453
5528
|
ccRouteUnavailable: false
|
|
5454
5529
|
}],
|
|
5455
5530
|
["AWS::EFS::FileSystem", {
|
|
@@ -5470,6 +5545,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5470
5545
|
sdkUnwired: /* @__PURE__ */ new Map([["ReplicationConfiguration", "Cross-region EFS replication (CreateReplicationConfiguration) provisions a separate destination file system in another region with its own lifecycle, KMS key, and availability-zone placement; replicating + then tearing down the destination on destroy is a multi-resource, cross-region orchestration that is out of scope for the single-resource SDK provider."]]),
|
|
5471
5546
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5472
5547
|
readOnly: /* @__PURE__ */ new Set(["Arn", "FileSystemId"]),
|
|
5548
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["FileSystemId"]),
|
|
5473
5549
|
ccRouteUnavailable: false
|
|
5474
5550
|
}],
|
|
5475
5551
|
["AWS::EFS::MountTarget", {
|
|
@@ -5484,6 +5560,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5484
5560
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5485
5561
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5486
5562
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
5563
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5487
5564
|
ccRouteUnavailable: false
|
|
5488
5565
|
}],
|
|
5489
5566
|
["AWS::ElastiCache::CacheCluster", {
|
|
@@ -5516,6 +5593,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5516
5593
|
sdkUnwired: /* @__PURE__ */ new Map([["CacheSecurityGroupNames", "EC2-Classic-only — use VpcSecurityGroupIds for VPC-deployed clusters (EC2-Classic retired 2022-08-15)"]]),
|
|
5517
5594
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5518
5595
|
readOnly: /* @__PURE__ */ new Set(["ConfigurationEndpoint", "RedisEndpoint"]),
|
|
5596
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ClusterName"]),
|
|
5519
5597
|
ccRouteUnavailable: false
|
|
5520
5598
|
}],
|
|
5521
5599
|
["AWS::ElastiCache::SubnetGroup", {
|
|
@@ -5529,6 +5607,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5529
5607
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5530
5608
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5531
5609
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5610
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["CacheSubnetGroupName"]),
|
|
5532
5611
|
ccRouteUnavailable: false
|
|
5533
5612
|
}],
|
|
5534
5613
|
["AWS::ElasticLoadBalancingV2::Listener", {
|
|
@@ -5547,6 +5626,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5547
5626
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5548
5627
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5549
5628
|
readOnly: /* @__PURE__ */ new Set(["ListenerArn"]),
|
|
5629
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ListenerArn"]),
|
|
5550
5630
|
ccRouteUnavailable: false
|
|
5551
5631
|
}],
|
|
5552
5632
|
["AWS::ElasticLoadBalancingV2::LoadBalancer", {
|
|
@@ -5575,6 +5655,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5575
5655
|
"LoadBalancerFullName",
|
|
5576
5656
|
"LoadBalancerName"
|
|
5577
5657
|
]),
|
|
5658
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["LoadBalancerArn"]),
|
|
5578
5659
|
ccRouteUnavailable: false
|
|
5579
5660
|
}],
|
|
5580
5661
|
["AWS::ElasticLoadBalancingV2::TargetGroup", {
|
|
@@ -5608,6 +5689,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5608
5689
|
"TargetGroupFullName",
|
|
5609
5690
|
"TargetGroupName"
|
|
5610
5691
|
]),
|
|
5692
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TargetGroupArn"]),
|
|
5611
5693
|
ccRouteUnavailable: false
|
|
5612
5694
|
}],
|
|
5613
5695
|
["AWS::EMR::Cluster", {
|
|
@@ -5645,6 +5727,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5645
5727
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5646
5728
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5647
5729
|
readOnly: /* @__PURE__ */ new Set(["Id", "MasterPublicDNS"]),
|
|
5730
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5648
5731
|
ccRouteUnavailable: true
|
|
5649
5732
|
}],
|
|
5650
5733
|
["AWS::EMR::InstanceFleetConfig", {
|
|
@@ -5661,6 +5744,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5661
5744
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5662
5745
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5663
5746
|
readOnly: /* @__PURE__ */ new Set(["InstanceFleetId"]),
|
|
5747
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ClusterId", "InstanceFleetId"]),
|
|
5664
5748
|
ccRouteUnavailable: true
|
|
5665
5749
|
}],
|
|
5666
5750
|
["AWS::EMR::InstanceGroupConfig", {
|
|
@@ -5680,6 +5764,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5680
5764
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5681
5765
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5682
5766
|
readOnly: /* @__PURE__ */ new Set(["InstanceGroupId"]),
|
|
5767
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["InstanceGroupId", "JobFlowId"]),
|
|
5683
5768
|
ccRouteUnavailable: true
|
|
5684
5769
|
}],
|
|
5685
5770
|
["AWS::Events::EventBus", {
|
|
@@ -5696,6 +5781,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5696
5781
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5697
5782
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5698
5783
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
5784
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5699
5785
|
ccRouteUnavailable: false
|
|
5700
5786
|
}],
|
|
5701
5787
|
["AWS::Events::Rule", {
|
|
@@ -5713,6 +5799,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5713
5799
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5714
5800
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5715
5801
|
readOnly: /* @__PURE__ */ new Set(["Arn", "RuleName"]),
|
|
5802
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Arn"]),
|
|
5716
5803
|
ccRouteUnavailable: false
|
|
5717
5804
|
}],
|
|
5718
5805
|
["AWS::FSx::FileSystem", {
|
|
@@ -5741,6 +5828,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5741
5828
|
"ResourceARN",
|
|
5742
5829
|
"RootVolumeId"
|
|
5743
5830
|
]),
|
|
5831
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5744
5832
|
ccRouteUnavailable: true
|
|
5745
5833
|
}],
|
|
5746
5834
|
["AWS::Glue::Connection", {
|
|
@@ -5752,6 +5840,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5752
5840
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5753
5841
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5754
5842
|
readOnly: /* @__PURE__ */ new Set(["Name"]),
|
|
5843
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["CatalogId", "Name"]),
|
|
5755
5844
|
ccRouteUnavailable: false
|
|
5756
5845
|
}],
|
|
5757
5846
|
["AWS::Glue::Crawler", {
|
|
@@ -5775,6 +5864,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5775
5864
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5776
5865
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5777
5866
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5867
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5778
5868
|
ccRouteUnavailable: false
|
|
5779
5869
|
}],
|
|
5780
5870
|
["AWS::Glue::Database", {
|
|
@@ -5786,6 +5876,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5786
5876
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5787
5877
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5788
5878
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5879
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DatabaseName"]),
|
|
5789
5880
|
ccRouteUnavailable: false
|
|
5790
5881
|
}],
|
|
5791
5882
|
["AWS::Glue::Job", {
|
|
@@ -5818,6 +5909,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5818
5909
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5819
5910
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5820
5911
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5912
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5821
5913
|
ccRouteUnavailable: false
|
|
5822
5914
|
}],
|
|
5823
5915
|
["AWS::Glue::SecurityConfiguration", {
|
|
@@ -5825,6 +5917,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5825
5917
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5826
5918
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5827
5919
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5920
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5828
5921
|
ccRouteUnavailable: false
|
|
5829
5922
|
}],
|
|
5830
5923
|
["AWS::Glue::Table", {
|
|
@@ -5838,6 +5931,11 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5838
5931
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5839
5932
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5840
5933
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5934
|
+
primaryIdentifier: /* @__PURE__ */ new Set([
|
|
5935
|
+
"CatalogId",
|
|
5936
|
+
"DatabaseName",
|
|
5937
|
+
"Name"
|
|
5938
|
+
]),
|
|
5841
5939
|
ccRouteUnavailable: true
|
|
5842
5940
|
}],
|
|
5843
5941
|
["AWS::Glue::Trigger", {
|
|
@@ -5856,6 +5954,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5856
5954
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5857
5955
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5858
5956
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5957
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5859
5958
|
ccRouteUnavailable: false
|
|
5860
5959
|
}],
|
|
5861
5960
|
["AWS::Glue::Workflow", {
|
|
@@ -5869,6 +5968,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5869
5968
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5870
5969
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5871
5970
|
readOnly: /* @__PURE__ */ new Set(),
|
|
5971
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
5872
5972
|
ccRouteUnavailable: false
|
|
5873
5973
|
}],
|
|
5874
5974
|
["AWS::IAM::AccessKey", {
|
|
@@ -5880,6 +5980,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5880
5980
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5881
5981
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5882
5982
|
readOnly: /* @__PURE__ */ new Set(["Id", "SecretAccessKey"]),
|
|
5983
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5883
5984
|
ccRouteUnavailable: true
|
|
5884
5985
|
}],
|
|
5885
5986
|
["AWS::IAM::Group", {
|
|
@@ -5892,6 +5993,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5892
5993
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5893
5994
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5894
5995
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
5996
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["GroupName"]),
|
|
5895
5997
|
ccRouteUnavailable: false
|
|
5896
5998
|
}],
|
|
5897
5999
|
["AWS::IAM::InstanceProfile", {
|
|
@@ -5903,6 +6005,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5903
6005
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5904
6006
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5905
6007
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
6008
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["InstanceProfileName"]),
|
|
5906
6009
|
ccRouteUnavailable: false
|
|
5907
6010
|
}],
|
|
5908
6011
|
["AWS::IAM::ManagedPolicy", {
|
|
@@ -5928,6 +6031,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5928
6031
|
"PolicyId",
|
|
5929
6032
|
"UpdateDate"
|
|
5930
6033
|
]),
|
|
6034
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["PolicyArn"]),
|
|
5931
6035
|
ccRouteUnavailable: false
|
|
5932
6036
|
}],
|
|
5933
6037
|
["AWS::IAM::Policy", {
|
|
@@ -5941,6 +6045,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5941
6045
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5942
6046
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5943
6047
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
6048
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5944
6049
|
ccRouteUnavailable: true
|
|
5945
6050
|
}],
|
|
5946
6051
|
["AWS::IAM::Role", {
|
|
@@ -5958,6 +6063,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5958
6063
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5959
6064
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5960
6065
|
readOnly: /* @__PURE__ */ new Set(["Arn", "RoleId"]),
|
|
6066
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RoleName"]),
|
|
5961
6067
|
ccRouteUnavailable: false
|
|
5962
6068
|
}],
|
|
5963
6069
|
["AWS::IAM::User", {
|
|
@@ -5974,6 +6080,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5974
6080
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5975
6081
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5976
6082
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
6083
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["UserName"]),
|
|
5977
6084
|
ccRouteUnavailable: false
|
|
5978
6085
|
}],
|
|
5979
6086
|
["AWS::IAM::UserToGroupAddition", {
|
|
@@ -5981,6 +6088,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5981
6088
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
5982
6089
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
5983
6090
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
6091
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
5984
6092
|
ccRouteUnavailable: true
|
|
5985
6093
|
}],
|
|
5986
6094
|
["AWS::Kinesis::Stream", {
|
|
@@ -5998,6 +6106,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
5998
6106
|
sdkUnwired: /* @__PURE__ */ new Map([["WarmThroughputMiBps", "AWS accepts it only on an account enrolled in the Kinesis minimum throughput billing commitment, so the SDK path is not wired (go-to-k/cdkd#1695); Cloud Control forwards it."]]),
|
|
5999
6107
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6000
6108
|
readOnly: /* @__PURE__ */ new Set(["Arn", "WarmThroughputObject"]),
|
|
6109
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
6001
6110
|
ccRouteUnavailable: false
|
|
6002
6111
|
}],
|
|
6003
6112
|
["AWS::Kinesis::StreamConsumer", {
|
|
@@ -6013,6 +6122,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6013
6122
|
"ConsumerCreationTimestamp",
|
|
6014
6123
|
"ConsumerStatus"
|
|
6015
6124
|
]),
|
|
6125
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ConsumerARN"]),
|
|
6016
6126
|
ccRouteUnavailable: false
|
|
6017
6127
|
}],
|
|
6018
6128
|
["AWS::KinesisFirehose::DeliveryStream", {
|
|
@@ -6037,6 +6147,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6037
6147
|
sdkUnwired: /* @__PURE__ */ new Map([["DatabaseSourceConfiguration", "Database as a source was a public preview AWS removed on 2025-09-24 (Firehose document history); CreateDeliveryStream refused DeliveryStreamType DatabaseAsSource in every region probed, so an SDK path could not be verified. Stays on Cloud Control"], ["SnowflakeDestinationConfiguration", "Proving the wire shape live needs a real Snowflake account, and the block carries key material (PrivateKey, KeyPassphrase). Stays on Cloud Control"]]),
|
|
6038
6148
|
createOnlyDrops: /* @__PURE__ */ new Set(["DatabaseSourceConfiguration"]),
|
|
6039
6149
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
6150
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DeliveryStreamName"]),
|
|
6040
6151
|
ccRouteUnavailable: false
|
|
6041
6152
|
}],
|
|
6042
6153
|
["AWS::KMS::Alias", {
|
|
@@ -6044,6 +6155,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6044
6155
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6045
6156
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6046
6157
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6158
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["AliasName"]),
|
|
6047
6159
|
ccRouteUnavailable: false
|
|
6048
6160
|
}],
|
|
6049
6161
|
["AWS::KMS::Key", {
|
|
@@ -6064,6 +6176,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6064
6176
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6065
6177
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6066
6178
|
readOnly: /* @__PURE__ */ new Set(["Arn", "KeyId"]),
|
|
6179
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["KeyId"]),
|
|
6067
6180
|
ccRouteUnavailable: false
|
|
6068
6181
|
}],
|
|
6069
6182
|
["AWS::Lambda::EventInvokeConfig", {
|
|
@@ -6077,6 +6190,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6077
6190
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6078
6191
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6079
6192
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6193
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["FunctionName", "Qualifier"]),
|
|
6080
6194
|
ccRouteUnavailable: true
|
|
6081
6195
|
}],
|
|
6082
6196
|
["AWS::Lambda::EventSourceMapping", {
|
|
@@ -6113,6 +6227,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6113
6227
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6114
6228
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6115
6229
|
readOnly: /* @__PURE__ */ new Set(["EventSourceMappingArn", "Id"]),
|
|
6230
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6116
6231
|
ccRouteUnavailable: false
|
|
6117
6232
|
}],
|
|
6118
6233
|
["AWS::Lambda::Function", {
|
|
@@ -6152,6 +6267,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6152
6267
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6153
6268
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6154
6269
|
readOnly: /* @__PURE__ */ new Set(["Arn", "SnapStartResponse"]),
|
|
6270
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["FunctionName"]),
|
|
6155
6271
|
ccRouteUnavailable: false
|
|
6156
6272
|
}],
|
|
6157
6273
|
["AWS::Lambda::LayerVersion", {
|
|
@@ -6166,6 +6282,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6166
6282
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6167
6283
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6168
6284
|
readOnly: /* @__PURE__ */ new Set(["LayerVersionArn"]),
|
|
6285
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["LayerVersionArn"]),
|
|
6169
6286
|
ccRouteUnavailable: false
|
|
6170
6287
|
}],
|
|
6171
6288
|
["AWS::Lambda::MicrovmImage", {
|
|
@@ -6195,6 +6312,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6195
6312
|
"State",
|
|
6196
6313
|
"UpdatedAt"
|
|
6197
6314
|
]),
|
|
6315
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["ImageArn"]),
|
|
6198
6316
|
ccRouteUnavailable: false
|
|
6199
6317
|
}],
|
|
6200
6318
|
["AWS::Lambda::NetworkConnector", {
|
|
@@ -6212,6 +6330,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6212
6330
|
"LatestVersionArn",
|
|
6213
6331
|
"State"
|
|
6214
6332
|
]),
|
|
6333
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Arn"]),
|
|
6215
6334
|
ccRouteUnavailable: false
|
|
6216
6335
|
}],
|
|
6217
6336
|
["AWS::Lambda::Permission", {
|
|
@@ -6229,6 +6348,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6229
6348
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6230
6349
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6231
6350
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
6351
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["FunctionName", "Id"]),
|
|
6232
6352
|
ccRouteUnavailable: false
|
|
6233
6353
|
}],
|
|
6234
6354
|
["AWS::Lambda::Url", {
|
|
@@ -6242,6 +6362,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6242
6362
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6243
6363
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6244
6364
|
readOnly: /* @__PURE__ */ new Set(["FunctionArn", "FunctionUrl"]),
|
|
6365
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["FunctionArn"]),
|
|
6245
6366
|
ccRouteUnavailable: false
|
|
6246
6367
|
}],
|
|
6247
6368
|
["AWS::Lambda::WebFunctionEndpoint", {
|
|
@@ -6270,6 +6391,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6270
6391
|
"UpdateStatus",
|
|
6271
6392
|
"UpdateStatusReason"
|
|
6272
6393
|
]),
|
|
6394
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["EndpointArn"]),
|
|
6273
6395
|
ccRouteUnavailable: false
|
|
6274
6396
|
}],
|
|
6275
6397
|
["AWS::Lambda::WebFunctionRevision", {
|
|
@@ -6290,6 +6412,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6290
6412
|
"State",
|
|
6291
6413
|
"StateReason"
|
|
6292
6414
|
]),
|
|
6415
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["RevisionArn"]),
|
|
6293
6416
|
ccRouteUnavailable: false
|
|
6294
6417
|
}],
|
|
6295
6418
|
["AWS::Logs::LogGroup", {
|
|
@@ -6307,6 +6430,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6307
6430
|
sdkUnwired: /* @__PURE__ */ new Map([["ResourcePolicyDocument", "not driven by this provider by decision (issue #1412): no CreateLogGroup / PutRetentionPolicy member carries it, and both policy lifecycles — the account-scoped AWS::Logs::ResourcePolicy type and the log-group-scoped logs:PutResourcePolicy (resourceArn + policyScope RESOURCE) — are ones this provider does not take on — routed via Cloud Control, whose handler applies it"]]),
|
|
6308
6431
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6309
6432
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
6433
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["LogGroupName"]),
|
|
6310
6434
|
ccRouteUnavailable: false
|
|
6311
6435
|
}],
|
|
6312
6436
|
["AWS::Neptune::DBCluster", {
|
|
@@ -6347,6 +6471,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6347
6471
|
"Port",
|
|
6348
6472
|
"ReadEndpoint"
|
|
6349
6473
|
]),
|
|
6474
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBClusterIdentifier"]),
|
|
6350
6475
|
ccRouteUnavailable: false
|
|
6351
6476
|
}],
|
|
6352
6477
|
["AWS::Neptune::DBInstance", {
|
|
@@ -6367,6 +6492,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6367
6492
|
sdkUnwired: /* @__PURE__ */ new Map([["DBSnapshotIdentifier", "The CloudFormation schema documents it as not supported, and CreateDBInstance has no such member: a Neptune instance is not restored from a snapshot, its cluster is"]]),
|
|
6368
6493
|
createOnlyDrops: /* @__PURE__ */ new Set(["DBSnapshotIdentifier"]),
|
|
6369
6494
|
readOnly: /* @__PURE__ */ new Set(["Endpoint", "Port"]),
|
|
6495
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBInstanceIdentifier"]),
|
|
6370
6496
|
ccRouteUnavailable: false
|
|
6371
6497
|
}],
|
|
6372
6498
|
["AWS::Neptune::DBSubnetGroup", {
|
|
@@ -6379,6 +6505,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6379
6505
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6380
6506
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6381
6507
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6508
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBSubnetGroupName"]),
|
|
6382
6509
|
ccRouteUnavailable: false
|
|
6383
6510
|
}],
|
|
6384
6511
|
["AWS::Pipes::Pipe", {
|
|
@@ -6406,6 +6533,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6406
6533
|
"LastModifiedTime",
|
|
6407
6534
|
"StateReason"
|
|
6408
6535
|
]),
|
|
6536
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
6409
6537
|
ccRouteUnavailable: true
|
|
6410
6538
|
}],
|
|
6411
6539
|
["AWS::RDS::DBCluster", {
|
|
@@ -6484,6 +6612,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6484
6612
|
"StorageEncryptionType",
|
|
6485
6613
|
"StorageThroughput"
|
|
6486
6614
|
]),
|
|
6615
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBClusterIdentifier"]),
|
|
6487
6616
|
ccRouteUnavailable: false
|
|
6488
6617
|
}],
|
|
6489
6618
|
["AWS::RDS::DBInstance", {
|
|
@@ -6599,6 +6728,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6599
6728
|
"StorageOperationPercentProgress",
|
|
6600
6729
|
"StorageOperationStatus"
|
|
6601
6730
|
]),
|
|
6731
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBInstanceIdentifier"]),
|
|
6602
6732
|
ccRouteUnavailable: false
|
|
6603
6733
|
}],
|
|
6604
6734
|
["AWS::RDS::DBProxy", {
|
|
@@ -6624,6 +6754,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6624
6754
|
"Endpoint",
|
|
6625
6755
|
"VpcId"
|
|
6626
6756
|
]),
|
|
6757
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBProxyName"]),
|
|
6627
6758
|
ccRouteUnavailable: false
|
|
6628
6759
|
}],
|
|
6629
6760
|
["AWS::RDS::DBProxyEndpoint", {
|
|
@@ -6644,6 +6775,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6644
6775
|
"IsDefault",
|
|
6645
6776
|
"VpcId"
|
|
6646
6777
|
]),
|
|
6778
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBProxyEndpointName"]),
|
|
6647
6779
|
ccRouteUnavailable: false
|
|
6648
6780
|
}],
|
|
6649
6781
|
["AWS::RDS::DBProxyTargetGroup", {
|
|
@@ -6658,6 +6790,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6658
6790
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6659
6791
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6660
6792
|
readOnly: /* @__PURE__ */ new Set(["TargetGroupArn"]),
|
|
6793
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TargetGroupArn"]),
|
|
6661
6794
|
ccRouteUnavailable: true
|
|
6662
6795
|
}],
|
|
6663
6796
|
["AWS::RDS::DBSubnetGroup", {
|
|
@@ -6670,6 +6803,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6670
6803
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6671
6804
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6672
6805
|
readOnly: /* @__PURE__ */ new Set(["DBSubnetGroupArn"]),
|
|
6806
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["DBSubnetGroupName"]),
|
|
6673
6807
|
ccRouteUnavailable: false
|
|
6674
6808
|
}],
|
|
6675
6809
|
["AWS::Route53::HostedZone", {
|
|
@@ -6685,6 +6819,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6685
6819
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6686
6820
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6687
6821
|
readOnly: /* @__PURE__ */ new Set(["Id", "NameServers"]),
|
|
6822
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6688
6823
|
ccRouteUnavailable: false
|
|
6689
6824
|
}],
|
|
6690
6825
|
["AWS::Route53::RecordSet", {
|
|
@@ -6710,6 +6845,12 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6710
6845
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6711
6846
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6712
6847
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6848
|
+
primaryIdentifier: /* @__PURE__ */ new Set([
|
|
6849
|
+
"HostedZoneId",
|
|
6850
|
+
"Name",
|
|
6851
|
+
"SetIdentifier",
|
|
6852
|
+
"Type"
|
|
6853
|
+
]),
|
|
6713
6854
|
ccRouteUnavailable: false
|
|
6714
6855
|
}],
|
|
6715
6856
|
["AWS::S3::Bucket", {
|
|
@@ -6747,6 +6888,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6747
6888
|
"RegionalDomainName",
|
|
6748
6889
|
"WebsiteURL"
|
|
6749
6890
|
]),
|
|
6891
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["BucketName"]),
|
|
6750
6892
|
ccRouteUnavailable: false
|
|
6751
6893
|
}],
|
|
6752
6894
|
["AWS::S3::BucketPolicy", {
|
|
@@ -6754,6 +6896,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6754
6896
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6755
6897
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6756
6898
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6899
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Bucket"]),
|
|
6757
6900
|
ccRouteUnavailable: false
|
|
6758
6901
|
}],
|
|
6759
6902
|
["AWS::S3Express::DirectoryBucket", {
|
|
@@ -6770,6 +6913,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6770
6913
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6771
6914
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6772
6915
|
readOnly: /* @__PURE__ */ new Set(["Arn", "AvailabilityZoneName"]),
|
|
6916
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["BucketName"]),
|
|
6773
6917
|
ccRouteUnavailable: false
|
|
6774
6918
|
}],
|
|
6775
6919
|
["AWS::S3Tables::Namespace", {
|
|
@@ -6777,6 +6921,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6777
6921
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6778
6922
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6779
6923
|
readOnly: /* @__PURE__ */ new Set(),
|
|
6924
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Namespace", "TableBucketARN"]),
|
|
6780
6925
|
ccRouteUnavailable: false
|
|
6781
6926
|
}],
|
|
6782
6927
|
["AWS::S3Tables::Table", {
|
|
@@ -6801,6 +6946,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6801
6946
|
"VersionToken",
|
|
6802
6947
|
"WarehouseLocation"
|
|
6803
6948
|
]),
|
|
6949
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TableARN"]),
|
|
6804
6950
|
ccRouteUnavailable: false
|
|
6805
6951
|
}],
|
|
6806
6952
|
["AWS::S3Tables::TableBucket", {
|
|
@@ -6817,6 +6963,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6817
6963
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6818
6964
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6819
6965
|
readOnly: /* @__PURE__ */ new Set(["TableBucketARN"]),
|
|
6966
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TableBucketARN"]),
|
|
6820
6967
|
ccRouteUnavailable: false
|
|
6821
6968
|
}],
|
|
6822
6969
|
["AWS::S3Vectors::VectorBucket", {
|
|
@@ -6828,6 +6975,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6828
6975
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6829
6976
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6830
6977
|
readOnly: /* @__PURE__ */ new Set(["CreationTime", "VectorBucketArn"]),
|
|
6978
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["VectorBucketArn"]),
|
|
6831
6979
|
ccRouteUnavailable: false
|
|
6832
6980
|
}],
|
|
6833
6981
|
["AWS::Scheduler::Schedule", {
|
|
@@ -6847,6 +6995,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6847
6995
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6848
6996
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6849
6997
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
6998
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
6850
6999
|
ccRouteUnavailable: true
|
|
6851
7000
|
}],
|
|
6852
7001
|
["AWS::SecretsManager::Secret", {
|
|
@@ -6863,6 +7012,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6863
7012
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6864
7013
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6865
7014
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
7015
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6866
7016
|
ccRouteUnavailable: false
|
|
6867
7017
|
}],
|
|
6868
7018
|
["AWS::ServiceDiscovery::HttpNamespace", {
|
|
@@ -6874,6 +7024,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6874
7024
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6875
7025
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6876
7026
|
readOnly: /* @__PURE__ */ new Set(["Arn", "Id"]),
|
|
7027
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6877
7028
|
ccRouteUnavailable: false
|
|
6878
7029
|
}],
|
|
6879
7030
|
["AWS::ServiceDiscovery::PrivateDnsNamespace", {
|
|
@@ -6891,6 +7042,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6891
7042
|
"HostedZoneId",
|
|
6892
7043
|
"Id"
|
|
6893
7044
|
]),
|
|
7045
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6894
7046
|
ccRouteUnavailable: false
|
|
6895
7047
|
}],
|
|
6896
7048
|
["AWS::ServiceDiscovery::PublicDnsNamespace", {
|
|
@@ -6907,6 +7059,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6907
7059
|
"HostedZoneId",
|
|
6908
7060
|
"Id"
|
|
6909
7061
|
]),
|
|
7062
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6910
7063
|
ccRouteUnavailable: false
|
|
6911
7064
|
}],
|
|
6912
7065
|
["AWS::ServiceDiscovery::Service", {
|
|
@@ -6924,6 +7077,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6924
7077
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6925
7078
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6926
7079
|
readOnly: /* @__PURE__ */ new Set(["Arn", "Id"]),
|
|
7080
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6927
7081
|
ccRouteUnavailable: false
|
|
6928
7082
|
}],
|
|
6929
7083
|
["AWS::SNS::Subscription", {
|
|
@@ -6942,6 +7096,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6942
7096
|
sdkUnwired: /* @__PURE__ */ new Map([["Region", "CFn-only cross-region subscription hint; cdkd uses the SDK client region directly and has no per-resource region override"]]),
|
|
6943
7097
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6944
7098
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
7099
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Arn"]),
|
|
6945
7100
|
ccRouteUnavailable: false
|
|
6946
7101
|
}],
|
|
6947
7102
|
["AWS::SNS::Topic", {
|
|
@@ -6964,6 +7119,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6964
7119
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6965
7120
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6966
7121
|
readOnly: /* @__PURE__ */ new Set(["TopicArn"]),
|
|
7122
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["TopicArn"]),
|
|
6967
7123
|
ccRouteUnavailable: false
|
|
6968
7124
|
}],
|
|
6969
7125
|
["AWS::SNS::TopicPolicy", {
|
|
@@ -6971,6 +7127,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6971
7127
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6972
7128
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6973
7129
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
7130
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
6974
7131
|
ccRouteUnavailable: true
|
|
6975
7132
|
}],
|
|
6976
7133
|
["AWS::SQS::Queue", {
|
|
@@ -6995,6 +7152,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
6995
7152
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
6996
7153
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
6997
7154
|
readOnly: /* @__PURE__ */ new Set(["Arn", "QueueUrl"]),
|
|
7155
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["QueueUrl"]),
|
|
6998
7156
|
ccRouteUnavailable: false
|
|
6999
7157
|
}],
|
|
7000
7158
|
["AWS::SQS::QueuePolicy", {
|
|
@@ -7002,6 +7160,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
7002
7160
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
7003
7161
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
7004
7162
|
readOnly: /* @__PURE__ */ new Set(["Id"]),
|
|
7163
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Id"]),
|
|
7005
7164
|
ccRouteUnavailable: true
|
|
7006
7165
|
}],
|
|
7007
7166
|
["AWS::SSM::Parameter", {
|
|
@@ -7019,6 +7178,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
7019
7178
|
sdkUnwired: /* @__PURE__ */ new Map(),
|
|
7020
7179
|
createOnlyDrops: /* @__PURE__ */ new Set(),
|
|
7021
7180
|
readOnly: /* @__PURE__ */ new Set(["Arn"]),
|
|
7181
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Name"]),
|
|
7022
7182
|
ccRouteUnavailable: false
|
|
7023
7183
|
}],
|
|
7024
7184
|
["AWS::StepFunctions::StateMachine", {
|
|
@@ -7042,6 +7202,7 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
7042
7202
|
"Name",
|
|
7043
7203
|
"StateMachineRevisionId"
|
|
7044
7204
|
]),
|
|
7205
|
+
primaryIdentifier: /* @__PURE__ */ new Set(["Arn"]),
|
|
7045
7206
|
ccRouteUnavailable: false
|
|
7046
7207
|
}],
|
|
7047
7208
|
["AWS::WAFv2::WebACL", {
|
|
@@ -7071,6 +7232,11 @@ const PROPERTY_COVERAGE_BY_TYPE = /* @__PURE__ */ new Map([
|
|
|
7071
7232
|
"Id",
|
|
7072
7233
|
"LabelNamespace"
|
|
7073
7234
|
]),
|
|
7235
|
+
primaryIdentifier: /* @__PURE__ */ new Set([
|
|
7236
|
+
"Id",
|
|
7237
|
+
"Name",
|
|
7238
|
+
"Scope"
|
|
7239
|
+
]),
|
|
7074
7240
|
ccRouteUnavailable: false
|
|
7075
7241
|
}]
|
|
7076
7242
|
]);
|
|
@@ -8516,34 +8682,34 @@ function passedKey(passed) {
|
|
|
8516
8682
|
function isNestedStackRow(logicalId, walk) {
|
|
8517
8683
|
if (!Object.hasOwn(walk.resources, logicalId)) return false;
|
|
8518
8684
|
const definition = walk.resources[logicalId];
|
|
8519
|
-
return isPlainObject$
|
|
8685
|
+
return isPlainObject$8(definition) && definition["Type"] === "AWS::CloudFormation::Stack";
|
|
8520
8686
|
}
|
|
8521
8687
|
function getAttAttribute(operand, target) {
|
|
8522
8688
|
if (Array.isArray(operand)) return operand.length === 2 && typeof operand[1] === "string" ? operand[1] : void 0;
|
|
8523
8689
|
return typeof operand === "string" ? operand.slice(target.length + 1) : void 0;
|
|
8524
8690
|
}
|
|
8525
8691
|
function rowParameters(definition) {
|
|
8526
|
-
const properties = isPlainObject$
|
|
8692
|
+
const properties = isPlainObject$8(definition) ? definition["Properties"] : void 0;
|
|
8527
8693
|
if (properties === void 0) return {};
|
|
8528
|
-
if (!isPlainObject$
|
|
8694
|
+
if (!isPlainObject$8(properties)) return "unknown";
|
|
8529
8695
|
const parameters = properties["Parameters"];
|
|
8530
8696
|
if (parameters === void 0) return {};
|
|
8531
|
-
if (!isPlainObject$
|
|
8697
|
+
if (!isPlainObject$8(parameters) || intrinsicKey(parameters) !== void 0) return "unknown";
|
|
8532
8698
|
return parameters;
|
|
8533
8699
|
}
|
|
8534
8700
|
function childParameterInputs(template, passed) {
|
|
8535
|
-
const declared = isPlainObject$
|
|
8701
|
+
const declared = isPlainObject$8(template.Parameters) ? template.Parameters : {};
|
|
8536
8702
|
const inputs = /* @__PURE__ */ new Map();
|
|
8537
8703
|
for (const name of Object.keys(declared)) {
|
|
8538
8704
|
const definition = declared[name];
|
|
8539
|
-
if (isPlainObject$
|
|
8705
|
+
if (isPlainObject$8(definition) && declaresNoEcho(definition)) inputs.set(name, { kind: "secret" });
|
|
8540
8706
|
else if (passed.has(name)) {
|
|
8541
8707
|
const passedClass = passed.get(name);
|
|
8542
8708
|
inputs.set(name, passedClass === "clean" ? {
|
|
8543
8709
|
kind: "value",
|
|
8544
8710
|
value: void 0
|
|
8545
8711
|
} : passedClass === "unknown" ? { kind: "unknown" } : { kind: "secret" });
|
|
8546
|
-
} else if (isPlainObject$
|
|
8712
|
+
} else if (isPlainObject$8(definition) && Object.hasOwn(definition, "Default") && !carriesSecretValue(definition["Default"], [])) inputs.set(name, {
|
|
8547
8713
|
kind: "value",
|
|
8548
8714
|
value: definition["Default"]
|
|
8549
8715
|
});
|
|
@@ -8560,7 +8726,7 @@ function closureClass(closure) {
|
|
|
8560
8726
|
return closure.unread ? "unread" : "clean";
|
|
8561
8727
|
}
|
|
8562
8728
|
async function childOutputClass(loaded, outputName, passed, chain, shared) {
|
|
8563
|
-
if (loaded === void 0 || !isPlainObject$
|
|
8729
|
+
if (loaded === void 0 || !isPlainObject$8(loaded.template)) return "unknown";
|
|
8564
8730
|
const scopeKey = JSON.stringify([loaded.identity, passedKey(passed)]);
|
|
8565
8731
|
const memoKey = JSON.stringify([scopeKey, outputName]);
|
|
8566
8732
|
const memo = shared.outputs.get(memoKey);
|
|
@@ -8573,8 +8739,8 @@ async function classifyChildOutput(loaded, outputName, passed, chain, shared, sc
|
|
|
8573
8739
|
if (++shared.steps > MAX_NESTED_OUTPUT_STEPS) return "unknown";
|
|
8574
8740
|
if (chain.includes(loaded.identity) || chain.length >= MAX_NESTED_OUTPUT_DEPTH) return "unknown";
|
|
8575
8741
|
const template = loaded.template;
|
|
8576
|
-
const output = (isPlainObject$
|
|
8577
|
-
if (!isPlainObject$
|
|
8742
|
+
const output = (isPlainObject$8(template.Outputs) ? template.Outputs : {})[outputName];
|
|
8743
|
+
if (!isPlainObject$8(output) || !Object.hasOwn(output, "Value")) return "unknown";
|
|
8578
8744
|
const scope = {
|
|
8579
8745
|
walk: newWalk({
|
|
8580
8746
|
template,
|
|
@@ -8646,7 +8812,7 @@ async function expressionClass(value, scope) {
|
|
|
8646
8812
|
return result;
|
|
8647
8813
|
};
|
|
8648
8814
|
if (Array.isArray(value)) return all(value);
|
|
8649
|
-
if (!isPlainObject$
|
|
8815
|
+
if (!isPlainObject$8(value)) return "clean";
|
|
8650
8816
|
const key = intrinsicKey(value);
|
|
8651
8817
|
if (key === void 0) return all(Object.values(value));
|
|
8652
8818
|
const operand = value[key];
|
|
@@ -8661,7 +8827,7 @@ async function expressionClass(value, scope) {
|
|
|
8661
8827
|
case "Fn::Sub": {
|
|
8662
8828
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
8663
8829
|
if (typeof text !== "string") return worseOf("unknown", await expressionClass(operand, scope));
|
|
8664
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
8830
|
+
const vars = Array.isArray(operand) && isPlainObject$8(operand[1]) ? operand[1] : {};
|
|
8665
8831
|
let result = text.includes("{{resolve:") ? "secret" : "clean";
|
|
8666
8832
|
result = worseOf(result, await all(Object.values(vars)));
|
|
8667
8833
|
for (const name of subPlaceholders(text)) {
|
|
@@ -8753,7 +8919,7 @@ async function classifyPassedParameters(parameters, sources) {
|
|
|
8753
8919
|
}
|
|
8754
8920
|
async function classifyPassed(parameters, sources, nested) {
|
|
8755
8921
|
const classes = /* @__PURE__ */ new Map();
|
|
8756
|
-
if (!isPlainObject$
|
|
8922
|
+
if (!isPlainObject$8(parameters)) return classes;
|
|
8757
8923
|
for (const [name, expression] of Object.entries(parameters)) {
|
|
8758
8924
|
let passedClass;
|
|
8759
8925
|
try {
|
|
@@ -8775,11 +8941,11 @@ function passedParameterClassesOf(bag) {
|
|
|
8775
8941
|
|
|
8776
8942
|
// src/deployment/masked-property-fingerprints/input-walk.ts
|
|
8777
8943
|
var UnknownInput = class extends Error {};
|
|
8778
|
-
function isPlainObject$
|
|
8944
|
+
function isPlainObject$8(value) {
|
|
8779
8945
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
8780
8946
|
}
|
|
8781
8947
|
const DYNAMIC_REFERENCE_OPEN = "{{resolve:";
|
|
8782
|
-
const NESTED_STACK_TYPE$
|
|
8948
|
+
const NESTED_STACK_TYPE$5 = "AWS::CloudFormation::Stack";
|
|
8783
8949
|
const NESTED_OUTPUT_PREFIX = "Outputs.";
|
|
8784
8950
|
function carriesSecretValue(value, corpora) {
|
|
8785
8951
|
if (carriesSecretMask(value)) return true;
|
|
@@ -8795,7 +8961,7 @@ function carriesSecretValue(value, corpora) {
|
|
|
8795
8961
|
return false;
|
|
8796
8962
|
}
|
|
8797
8963
|
function parameterInputsFor(args) {
|
|
8798
|
-
const declared = isPlainObject$
|
|
8964
|
+
const declared = isPlainObject$8(args.template.Parameters) ? args.template.Parameters : {};
|
|
8799
8965
|
const values = args.values ?? {};
|
|
8800
8966
|
const inputs = /* @__PURE__ */ new Map();
|
|
8801
8967
|
const bound = {};
|
|
@@ -8806,7 +8972,7 @@ function parameterInputsFor(args) {
|
|
|
8806
8972
|
continue;
|
|
8807
8973
|
}
|
|
8808
8974
|
const value = values[name];
|
|
8809
|
-
let secret = isPlainObject$
|
|
8975
|
+
let secret = isPlainObject$8(definition) && declaresNoEcho(definition) || carriesSecretValue(value, []);
|
|
8810
8976
|
if (!secret && args.nestedChild === true && args.supplied !== void 0) {
|
|
8811
8977
|
if (Object.hasOwn(args.supplied, name)) {
|
|
8812
8978
|
const passed = args.passedClasses?.get(name);
|
|
@@ -8863,10 +9029,10 @@ function intrinsicKey(value) {
|
|
|
8863
9029
|
const key = keys[0];
|
|
8864
9030
|
return key === "Ref" || key.startsWith("Fn::") ? key : void 0;
|
|
8865
9031
|
}
|
|
8866
|
-
const OPAQUE_ATTRIBUTE_TYPES = /* @__PURE__ */ new Set(["AWS::CloudFormation::CustomResource", NESTED_STACK_TYPE$
|
|
9032
|
+
const OPAQUE_ATTRIBUTE_TYPES = /* @__PURE__ */ new Set(["AWS::CloudFormation::CustomResource", NESTED_STACK_TYPE$5]);
|
|
8867
9033
|
function hasOpaqueAttributes(logicalId, walk) {
|
|
8868
9034
|
const definition = walk.resources[logicalId];
|
|
8869
|
-
const type = isPlainObject$
|
|
9035
|
+
const type = isPlainObject$8(definition) ? definition["Type"] : void 0;
|
|
8870
9036
|
return typeof type === "string" && (type.startsWith("Custom::") || OPAQUE_ATTRIBUTE_TYPES.has(type));
|
|
8871
9037
|
}
|
|
8872
9038
|
function getAttTarget(operand) {
|
|
@@ -8891,7 +9057,7 @@ function taintOf(logicalId, walk) {
|
|
|
8891
9057
|
const visit = (value) => {
|
|
8892
9058
|
if (typeof value === "string") return value.includes(DYNAMIC_REFERENCE_OPEN);
|
|
8893
9059
|
if (Array.isArray(value)) return value.some(visit);
|
|
8894
|
-
if (!isPlainObject$
|
|
9060
|
+
if (!isPlainObject$8(value)) return false;
|
|
8895
9061
|
const key = intrinsicKey(value);
|
|
8896
9062
|
const operand = key === void 0 ? void 0 : value[key];
|
|
8897
9063
|
let verdict = "clean";
|
|
@@ -8903,7 +9069,7 @@ function taintOf(logicalId, walk) {
|
|
|
8903
9069
|
else if (key === "Fn::FindInMap" && mapReadClass(operand, walk.sources.template) !== "clean") verdict = "tainted";
|
|
8904
9070
|
else if (key === "Fn::Sub") {
|
|
8905
9071
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
8906
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
9072
|
+
const vars = Array.isArray(operand) && isPlainObject$8(operand[1]) ? operand[1] : {};
|
|
8907
9073
|
if (typeof text === "string") for (const name of subPlaceholders(text)) {
|
|
8908
9074
|
if (Object.hasOwn(vars, name)) continue;
|
|
8909
9075
|
const owner = name.includes(".") ? name.split(".")[0] : name;
|
|
@@ -8917,7 +9083,7 @@ function taintOf(logicalId, walk) {
|
|
|
8917
9083
|
return Object.values(value).some(visit);
|
|
8918
9084
|
};
|
|
8919
9085
|
const definition = walk.resources[logicalId];
|
|
8920
|
-
const result = visit(isPlainObject$
|
|
9086
|
+
const result = visit(isPlainObject$8(definition) ? definition["Properties"] : void 0) ? "tainted" : unknown ? "unknown" : "clean";
|
|
8921
9087
|
walk.inProgress.delete(logicalId);
|
|
8922
9088
|
walk.taint.set(logicalId, result);
|
|
8923
9089
|
return result;
|
|
@@ -8933,7 +9099,7 @@ function conditionInput(name, walk) {
|
|
|
8933
9099
|
return typeof verdict === "boolean" ? verdict : "unknown";
|
|
8934
9100
|
}
|
|
8935
9101
|
function conditionClosure(name, walk) {
|
|
8936
|
-
const definitions = isPlainObject$
|
|
9102
|
+
const definitions = isPlainObject$8(walk.sources.template.Conditions) ? walk.sources.template.Conditions : {};
|
|
8937
9103
|
let secret = false;
|
|
8938
9104
|
let unknown = false;
|
|
8939
9105
|
let unread = false;
|
|
@@ -8948,7 +9114,7 @@ function conditionClosure(name, walk) {
|
|
|
8948
9114
|
value.forEach(visit);
|
|
8949
9115
|
return;
|
|
8950
9116
|
}
|
|
8951
|
-
if (!isPlainObject$
|
|
9117
|
+
if (!isPlainObject$8(value)) return;
|
|
8952
9118
|
const keys = Object.keys(value);
|
|
8953
9119
|
if (keys.length === 1 && keys[0] === "Condition" && typeof value["Condition"] === "string") {
|
|
8954
9120
|
pending.push(value["Condition"]);
|
|
@@ -8981,7 +9147,7 @@ function conditionClosure(name, walk) {
|
|
|
8981
9147
|
if (key === "Fn::Sub") {
|
|
8982
9148
|
const operand = value["Fn::Sub"];
|
|
8983
9149
|
const text = Array.isArray(operand) ? operand[0] : operand;
|
|
8984
|
-
const vars = Array.isArray(operand) && isPlainObject$
|
|
9150
|
+
const vars = Array.isArray(operand) && isPlainObject$8(operand[1]) ? operand[1] : {};
|
|
8985
9151
|
if (typeof text === "string") for (const name of subPlaceholders(text)) {
|
|
8986
9152
|
if (Object.hasOwn(vars, name)) continue;
|
|
8987
9153
|
if (name.includes(".") && !name.startsWith("AWS::")) secret = true;
|
|
@@ -9010,8 +9176,8 @@ function mapReadClass(operand, template) {
|
|
|
9010
9176
|
const mapName = Array.isArray(operand) ? operand[0] : void 0;
|
|
9011
9177
|
if (typeof mapName !== "string") return "unknown";
|
|
9012
9178
|
const mappings = template.Mappings;
|
|
9013
|
-
const map = isPlainObject$
|
|
9014
|
-
if (!isPlainObject$
|
|
9179
|
+
const map = isPlainObject$8(mappings) && Object.hasOwn(mappings, mapName) ? mappings[mapName] : void 0;
|
|
9180
|
+
if (!isPlainObject$8(map)) return "unknown";
|
|
9015
9181
|
return carriesSecretValue(map, []) ? "secret" : "clean";
|
|
9016
9182
|
}
|
|
9017
9183
|
async function resolvedInput(node, walk) {
|
|
@@ -9089,7 +9255,7 @@ async function inputForm(value, walk) {
|
|
|
9089
9255
|
...proof(walk, () => parts.every(isProven))
|
|
9090
9256
|
};
|
|
9091
9257
|
}
|
|
9092
|
-
if (!isPlainObject$
|
|
9258
|
+
if (!isPlainObject$8(value)) return {
|
|
9093
9259
|
form: value,
|
|
9094
9260
|
concrete: true
|
|
9095
9261
|
};
|
|
@@ -9153,7 +9319,7 @@ async function inputForm(value, walk) {
|
|
|
9153
9319
|
concrete: false
|
|
9154
9320
|
};
|
|
9155
9321
|
}
|
|
9156
|
-
const explicit = Array.isArray(operand) && isPlainObject$
|
|
9322
|
+
const explicit = Array.isArray(operand) && isPlainObject$8(operand[1]) ? operand[1] : {};
|
|
9157
9323
|
const vars = await inputForm(explicit, walk);
|
|
9158
9324
|
const placeholders = [];
|
|
9159
9325
|
let concrete = vars.concrete && !text.includes("{{resolve:");
|
|
@@ -9211,8 +9377,8 @@ function newWalk(sources, nested = {
|
|
|
9211
9377
|
return {
|
|
9212
9378
|
...covered !== void 0 && { covered },
|
|
9213
9379
|
sources,
|
|
9214
|
-
resources: isPlainObject$
|
|
9215
|
-
parameters: isPlainObject$
|
|
9380
|
+
resources: isPlainObject$8(sources.template.Resources) ? sources.template.Resources : {},
|
|
9381
|
+
parameters: isPlainObject$8(sources.template.Parameters) ? sources.template.Parameters : {},
|
|
9216
9382
|
taint: /* @__PURE__ */ new Map(),
|
|
9217
9383
|
inProgress: /* @__PURE__ */ new Set(),
|
|
9218
9384
|
stackChain: nested.stackChain,
|
|
@@ -9248,7 +9414,7 @@ function possiblyMaskedKeys(resolvedProps, corpora) {
|
|
|
9248
9414
|
const wholeShortLeaf = (value) => {
|
|
9249
9415
|
if (typeof value === "string") return short.includes(value);
|
|
9250
9416
|
if (Array.isArray(value)) return value.some(wholeShortLeaf);
|
|
9251
|
-
if (isPlainObject$
|
|
9417
|
+
if (isPlainObject$8(value)) return Object.values(value).some(wholeShortLeaf);
|
|
9252
9418
|
return false;
|
|
9253
9419
|
};
|
|
9254
9420
|
return Object.keys(resolvedProps).filter((key) => {
|
|
@@ -9279,7 +9445,7 @@ function maskedPropertyFingerprintsOf(record) {
|
|
|
9279
9445
|
const read = /* @__PURE__ */ new Map();
|
|
9280
9446
|
if (record === null || typeof record !== "object") return read;
|
|
9281
9447
|
const field = record.maskedPropertyFingerprints;
|
|
9282
|
-
if (!isPlainObject$
|
|
9448
|
+
if (!isPlainObject$8(field)) return read;
|
|
9283
9449
|
for (const [key, value] of Object.entries(field)) if (typeof value === "string" && value.startsWith("sha256:")) read.set(key, value);
|
|
9284
9450
|
return read;
|
|
9285
9451
|
}
|
|
@@ -9287,7 +9453,7 @@ function maskedPropertyInputFingerprintsOf(record) {
|
|
|
9287
9453
|
const read = /* @__PURE__ */ new Map();
|
|
9288
9454
|
if (record === null || typeof record !== "object") return read;
|
|
9289
9455
|
const field = record.maskedPropertyInputFingerprints;
|
|
9290
|
-
if (!isPlainObject$
|
|
9456
|
+
if (!isPlainObject$8(field)) return read;
|
|
9291
9457
|
const text = maskedPropertyFingerprintsOf(record);
|
|
9292
9458
|
for (const [key, value] of Object.entries(field)) {
|
|
9293
9459
|
if (typeof value !== "string" || !value.startsWith("inputs-sha256:")) continue;
|
|
@@ -9334,7 +9500,7 @@ async function movedMaskedProperties(record, templateProps, fingerprinter, onReb
|
|
|
9334
9500
|
function withRebaselinedFingerprints(record, fingerprints) {
|
|
9335
9501
|
const text = maskedPropertyFingerprintsOf(record);
|
|
9336
9502
|
const field = record.maskedPropertyInputFingerprints;
|
|
9337
|
-
const next = isPlainObject$
|
|
9503
|
+
const next = isPlainObject$8(field) ? Object.entries(field) : [];
|
|
9338
9504
|
let changed = false;
|
|
9339
9505
|
for (const [key, value] of Object.entries(fingerprints)) {
|
|
9340
9506
|
if (text.get(key) !== splitInputFingerprint(value).text) continue;
|
|
@@ -9367,10 +9533,10 @@ function withMaskedPropertyFingerprints(scrubbed, writtenBag, templateProps, sec
|
|
|
9367
9533
|
fingerprints = maskedPropertyFingerprintsFor(scrubbed.properties, templateProps);
|
|
9368
9534
|
inputs = boundInputFingerprints(fingerprints, inputFingerprints);
|
|
9369
9535
|
} else {
|
|
9370
|
-
if (!isPlainObject$
|
|
9536
|
+
if (!isPlainObject$8(previous)) return scrubbed;
|
|
9371
9537
|
if (corpora.length === 0) return scrubbed;
|
|
9372
9538
|
fingerprints = { ...previous };
|
|
9373
|
-
inputs = isPlainObject$
|
|
9539
|
+
inputs = isPlainObject$8(previousInputs) ? { ...previousInputs } : void 0;
|
|
9374
9540
|
}
|
|
9375
9541
|
if (fingerprints !== void 0 && corpora.length > 0) {
|
|
9376
9542
|
const refused = Object.keys(fingerprints).filter((key) => Object.hasOwn(templateProps, key) && corpora.some((corpus) => templateCarriesNeedle(templateProps[key], corpus)));
|
|
@@ -9730,7 +9896,7 @@ function nameKeyFor(resourceType) {
|
|
|
9730
9896
|
const property = explicitNamePropertyFor(resourceType);
|
|
9731
9897
|
return typeof property === "string" ? flat(property) : void 0;
|
|
9732
9898
|
}
|
|
9733
|
-
function valueAt(bag, path) {
|
|
9899
|
+
function valueAt$1(bag, path) {
|
|
9734
9900
|
let node = bag;
|
|
9735
9901
|
for (const segment of path.slice(0, -1)) {
|
|
9736
9902
|
if (node === null || typeof node !== "object" || Array.isArray(node)) return void 0;
|
|
@@ -9747,14 +9913,14 @@ function unreadableAt(bag, path) {
|
|
|
9747
9913
|
if (node === null || typeof node !== "object" || Array.isArray(node)) return false;
|
|
9748
9914
|
node = node[segment];
|
|
9749
9915
|
}
|
|
9750
|
-
return node !== void 0 && node !== null && valueAt(bag, path) === void 0;
|
|
9916
|
+
return node !== void 0 && node !== null && valueAt$1(bag, path) === void 0;
|
|
9751
9917
|
}
|
|
9752
9918
|
function heldAt(recorded, observed, path) {
|
|
9753
9919
|
if (unreadableAt(recorded, path)) return {
|
|
9754
9920
|
value: void 0,
|
|
9755
9921
|
unreadable: true
|
|
9756
9922
|
};
|
|
9757
|
-
const value = valueAt(recorded, path) ?? valueAt(observed, path);
|
|
9923
|
+
const value = valueAt$1(recorded, path) ?? valueAt$1(observed, path);
|
|
9758
9924
|
return {
|
|
9759
9925
|
value,
|
|
9760
9926
|
unreadable: value === void 0 && unreadableAt(observed, path)
|
|
@@ -9812,9 +9978,9 @@ const DEPLOY_VOICE = {
|
|
|
9812
9978
|
};
|
|
9813
9979
|
function sentIdentifierIs(requested, recorded, observed, physicalId) {
|
|
9814
9980
|
const isNameKey = (key) => /(Name|Identifier)$/.test(key);
|
|
9815
|
-
if (!Object.keys(requested).some((key) => isNameKey(key) && valueAt(requested, [key]) === physicalId)) return false;
|
|
9981
|
+
if (!Object.keys(requested).some((key) => isNameKey(key) && valueAt$1(requested, [key]) === physicalId)) return false;
|
|
9816
9982
|
return [...new Set([...Object.keys(requested), ...Object.keys(recorded ?? {})].filter(isNameKey))].every((key) => {
|
|
9817
|
-
const sent = valueAt(requested, [key]);
|
|
9983
|
+
const sent = valueAt$1(requested, [key]);
|
|
9818
9984
|
return sent !== void 0 && heldAt(recorded, observed, [key]).value === sent;
|
|
9819
9985
|
});
|
|
9820
9986
|
}
|
|
@@ -9843,7 +10009,7 @@ function replayPrefixChoice(input) {
|
|
|
9843
10009
|
if (raw === void 0 || raw === "") return { kind: "not-applicable" };
|
|
9844
10010
|
const recorded = getCurrentSkipPrefix();
|
|
9845
10011
|
const property = rewrite.property;
|
|
9846
|
-
const declared = valueAt(input.properties, [property]);
|
|
10012
|
+
const declared = valueAt$1(input.properties, [property]);
|
|
9847
10013
|
if (declared === void 0 || typeof input.logicalId !== "string" || typeof input.physicalId !== "string" || input.physicalId === "") return {
|
|
9848
10014
|
kind: "unreproduced",
|
|
9849
10015
|
skipPrefix: recorded,
|
|
@@ -9991,22 +10157,22 @@ function reverseReplacementTrustsGeneratedName(resourceType) {
|
|
|
9991
10157
|
// src/deployment/replacement-name-holder/holder.ts
|
|
9992
10158
|
function recordSetHolds(requested, recorded, observed, newPhysicalId, r, v) {
|
|
9993
10159
|
const newRecord = `${v.holderRecord} (${r.shown(newPhysicalId)})`;
|
|
9994
|
-
const wantName = valueAt(requested, ["Name"]);
|
|
9995
|
-
const wantType = valueAt(requested, ["Type"]);
|
|
10160
|
+
const wantName = valueAt$1(requested, ["Name"]);
|
|
10161
|
+
const wantType = valueAt$1(requested, ["Type"]);
|
|
9996
10162
|
const haveName = heldAt(recorded, observed, ["Name"]).value;
|
|
9997
10163
|
const haveType = heldAt(recorded, observed, ["Type"]).value;
|
|
9998
10164
|
if (wantName === void 0 || wantType === void 0) return unproven(`cdkd cannot read the Name and Type ${v.createdRecord} asked for`);
|
|
9999
10165
|
const wanted = `${v.create} asked for Name ${r.quoted(wantName)}`;
|
|
10000
10166
|
if (haveName === void 0 || haveType === void 0) return unproven(`${wanted}, and cdkd cannot read the name ${newRecord} holds`);
|
|
10001
10167
|
if (dnsFold(wantName) !== dnsFold(haveName)) return /\\[0-9]{3}/.test(wantName + haveName) ? unproven(`${wanted}, and cdkd cannot compare it with the escaped name ${newRecord} holds`) : elsewhere(`${wanted}, while ${newRecord} holds Name ${r.quoted(haveName)}`);
|
|
10002
|
-
const wantZoneId = valueAt(requested, ["HostedZoneId"]);
|
|
10168
|
+
const wantZoneId = valueAt$1(requested, ["HostedZoneId"]);
|
|
10003
10169
|
const haveZoneId = heldAt(recorded, observed, ["HostedZoneId"]).value;
|
|
10004
|
-
const wantZoneName = valueAt(requested, ["HostedZoneName"]);
|
|
10170
|
+
const wantZoneName = valueAt$1(requested, ["HostedZoneName"]);
|
|
10005
10171
|
const haveZoneName = heldAt(recorded, observed, ["HostedZoneName"]).value;
|
|
10006
10172
|
const sameZone = wantZoneId !== void 0 && haveZoneId !== void 0 ? zoneIdFold(wantZoneId) === zoneIdFold(haveZoneId) : wantZoneName !== void 0 && haveZoneName !== void 0 ? dnsFold(wantZoneName) === dnsFold(haveZoneName) : void 0;
|
|
10007
10173
|
if (sameZone === false) return elsewhere(`${wanted}, while ${newRecord} is in another hosted zone`);
|
|
10008
10174
|
if (sameZone === void 0) return unproven(`${wanted}, and cdkd cannot tell whether ${newRecord} is in the same hosted zone`);
|
|
10009
|
-
const wantSet = valueAt(requested, ["SetIdentifier"]);
|
|
10175
|
+
const wantSet = valueAt$1(requested, ["SetIdentifier"]);
|
|
10010
10176
|
const haveSet = heldAt(recorded, observed, ["SetIdentifier"]).value;
|
|
10011
10177
|
if (wantType.toUpperCase() === "CNAME" !== (haveType.toUpperCase() === "CNAME")) return HOLDS;
|
|
10012
10178
|
if (wantType.toUpperCase() !== haveType.toUpperCase()) return elsewhere(`${wanted} of Type ${r.quoted(wantType)}, while ${newRecord} is a ${r.quoted(haveType)} record of that name`);
|
|
@@ -10022,7 +10188,7 @@ function pathValue(bag, path) {
|
|
|
10022
10188
|
return node;
|
|
10023
10189
|
}
|
|
10024
10190
|
function rewrittenNameHolds(input, rewrite, viaCloudControl, labels, newResource, r, v) {
|
|
10025
|
-
const declared = valueAt(input.requested, [rewrite.property]);
|
|
10191
|
+
const declared = valueAt$1(input.requested, [rewrite.property]);
|
|
10026
10192
|
const logicalId = typeof input.logicalId === "string" && input.logicalId !== "" ? input.logicalId : void 0;
|
|
10027
10193
|
if (declared === void 0 && (viaCloudControl || logicalId === void 0)) return unproven(`${v.create} named no ${labels}, and cdkd cannot derive the name its provider generates, so it cannot show that ${newResource} holds it`);
|
|
10028
10194
|
const sent = viaCloudControl ? declared : generateResourceNameWithFallback(declared, logicalId ?? "", { maxLength: rewrite.maxLength });
|
|
@@ -10056,11 +10222,11 @@ function holderVerdict(input, v) {
|
|
|
10056
10222
|
const rewrite = ownEntry$1(SENT_NAME_REWRITTEN, oldResourceType);
|
|
10057
10223
|
if (rewrite !== void 0) return rewrittenNameHolds(input, rewrite, input.createdVia === "cc-api", labels, newResource, r, v);
|
|
10058
10224
|
let generatedName = false;
|
|
10059
|
-
let namePath = oldKey.name.find((path) => valueAt(requested, path) !== void 0);
|
|
10060
|
-
let wantName = namePath === void 0 ? void 0 : valueAt(requested, namePath);
|
|
10225
|
+
let namePath = oldKey.name.find((path) => valueAt$1(requested, path) !== void 0);
|
|
10226
|
+
let wantName = namePath === void 0 ? void 0 : valueAt$1(requested, namePath);
|
|
10061
10227
|
if (namePath === void 0 && input.generated !== void 0 && reverseReplacementTrustsGeneratedName(oldResourceType)) {
|
|
10062
|
-
namePath = oldKey.name.find((path) => valueAt(input.generated, path) !== void 0);
|
|
10063
|
-
wantName = namePath === void 0 ? void 0 : valueAt(input.generated, namePath);
|
|
10228
|
+
namePath = oldKey.name.find((path) => valueAt$1(input.generated, path) !== void 0);
|
|
10229
|
+
wantName = namePath === void 0 ? void 0 : valueAt$1(input.generated, namePath);
|
|
10064
10230
|
generatedName = wantName !== void 0;
|
|
10065
10231
|
}
|
|
10066
10232
|
const derived = ownEntry$1(DERIVED_GENERATED_NAMES, oldResourceType);
|
|
@@ -10079,14 +10245,14 @@ function holderVerdict(input, v) {
|
|
|
10079
10245
|
const h = heldAt(recorded, observed, path);
|
|
10080
10246
|
return h.value !== void 0 || h.unreadable;
|
|
10081
10247
|
});
|
|
10082
|
-
const recordedName = namePathHeld && valueAt(recorded, namePathHeld);
|
|
10083
|
-
const observedName = namePathHeld && valueAt(observed, namePathHeld);
|
|
10248
|
+
const recordedName = namePathHeld && valueAt$1(recorded, namePathHeld);
|
|
10249
|
+
const observedName = namePathHeld && valueAt$1(observed, namePathHeld);
|
|
10084
10250
|
if (namePathHeld !== void 0 && recordedName !== void 0 && observedName !== void 0 && !same(recordedName, observedName)) return unproven(`${wanted}, and the records of ${newResource} disagree on its ${r.shown(namePathHeld.join("."))} (recorded ${r.quoted(recordedName)}, read back ${r.quoted(observedName)}), so cdkd cannot show which name it holds`);
|
|
10085
10251
|
const haveName = namePathHeld === void 0 ? void 0 : heldAt(recorded, observed, namePathHeld).value;
|
|
10086
10252
|
if (!(haveName !== void 0 && same(haveName, wantName) || physicalId !== "" && !NO_PHYSICAL_ID_NAME_PROOF.has(newResourceType) && holderIdNames(inCase(physicalId), inCase(wantName)))) return haveName !== void 0 && !generatedName ? elsewhere(`${wanted}, while ${newResource} holds ${r.quoted(haveName)}`) : unproven(`${wanted}, and cdkd cannot show that ${newResource} holds that name`);
|
|
10087
10253
|
for (const [i, path] of (oldKey.scope ?? []).entries()) {
|
|
10088
10254
|
const label = r.shown(path.join("."));
|
|
10089
|
-
const wantRaw = valueAt(requested, path);
|
|
10255
|
+
const wantRaw = valueAt$1(requested, path);
|
|
10090
10256
|
const have = heldAt(recorded, observed, path);
|
|
10091
10257
|
if (wantRaw === void 0 && unreadableAt(requested, path) || have.unreadable) return unproven(`${wanted}, and cdkd cannot read the ${label} that places it`);
|
|
10092
10258
|
const fallback = oldKey.scopeDefaults?.[i];
|
|
@@ -11458,11 +11624,11 @@ function validReferenceRegion(region) {
|
|
|
11458
11624
|
if (typeof region !== "string") return void 0;
|
|
11459
11625
|
return canonicalizeRegion(region) === region && isClientSafeRegion(region) ? region : void 0;
|
|
11460
11626
|
}
|
|
11461
|
-
function isPlainObject$
|
|
11627
|
+
function isPlainObject$7(value) {
|
|
11462
11628
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
11463
11629
|
}
|
|
11464
11630
|
function validateReferenceProvenance(token, raw) {
|
|
11465
|
-
if (!isSingleDynamicReferenceToken(token) || !isPlainObject$
|
|
11631
|
+
if (!isSingleDynamicReferenceToken(token) || !isPlainObject$7(raw)) return void 0;
|
|
11466
11632
|
const versionsRaw = Object.hasOwn(raw, "versions") ? raw["versions"] : void 0;
|
|
11467
11633
|
const readRaw = Object.hasOwn(raw, "readVersions") ? raw["readVersions"] : void 0;
|
|
11468
11634
|
if (readRaw !== void 0) {
|
|
@@ -11480,11 +11646,11 @@ function validateReferenceProvenance(token, raw) {
|
|
|
11480
11646
|
return out;
|
|
11481
11647
|
}
|
|
11482
11648
|
function referenceProvenanceOf(record) {
|
|
11483
|
-
if (!isPlainObject$
|
|
11649
|
+
if (!isPlainObject$7(record) || !Object.hasOwn(record, "referenceProvenance")) return void 0;
|
|
11484
11650
|
return validatedBag(record["referenceProvenance"]);
|
|
11485
11651
|
}
|
|
11486
11652
|
function validatedBag(field) {
|
|
11487
|
-
if (!isPlainObject$
|
|
11653
|
+
if (!isPlainObject$7(field)) return void 0;
|
|
11488
11654
|
const out = Object.create(null);
|
|
11489
11655
|
for (const [token, raw] of Object.entries(field)) {
|
|
11490
11656
|
const entry = validateReferenceProvenance(token, raw);
|
|
@@ -11493,9 +11659,9 @@ function validatedBag(field) {
|
|
|
11493
11659
|
return { ...out };
|
|
11494
11660
|
}
|
|
11495
11661
|
function recordedProvenanceOf(record, token) {
|
|
11496
|
-
if (!isPlainObject$
|
|
11662
|
+
if (!isPlainObject$7(record) || !Object.hasOwn(record, "referenceProvenance")) return void 0;
|
|
11497
11663
|
const field = record["referenceProvenance"];
|
|
11498
|
-
if (!isPlainObject$
|
|
11664
|
+
if (!isPlainObject$7(field) || !Object.hasOwn(field, token)) return void 0;
|
|
11499
11665
|
return validateReferenceProvenance(token, field[token]);
|
|
11500
11666
|
}
|
|
11501
11667
|
function recordedReferenceRegions(record) {
|
|
@@ -11517,7 +11683,7 @@ function regionsOf(field) {
|
|
|
11517
11683
|
function keepHeldTokenProvenance(record) {
|
|
11518
11684
|
if (!hasReferenceProvenanceField(record)) return record;
|
|
11519
11685
|
const field = record.referenceProvenance;
|
|
11520
|
-
if (!isPlainObject$
|
|
11686
|
+
if (!isPlainObject$7(field)) return record;
|
|
11521
11687
|
const held = recordReferenceTokens(record);
|
|
11522
11688
|
const keys = Object.keys(field);
|
|
11523
11689
|
if (keys.every((token) => held.has(token))) return record;
|
|
@@ -11529,12 +11695,12 @@ function keepHeldTokenProvenance(record) {
|
|
|
11529
11695
|
};
|
|
11530
11696
|
}
|
|
11531
11697
|
function hasReferenceProvenanceField(record) {
|
|
11532
|
-
return isPlainObject$
|
|
11698
|
+
return isPlainObject$7(record) && Object.hasOwn(record, "referenceProvenance") && record["referenceProvenance"] !== void 0;
|
|
11533
11699
|
}
|
|
11534
11700
|
function outputReferenceProvenanceOf(state, outputKey) {
|
|
11535
|
-
if (!isPlainObject$
|
|
11701
|
+
if (!isPlainObject$7(state) || !Object.hasOwn(state, "outputReferenceProvenance")) return;
|
|
11536
11702
|
const field = state["outputReferenceProvenance"];
|
|
11537
|
-
if (!isPlainObject$
|
|
11703
|
+
if (!isPlainObject$7(field) || !Object.hasOwn(field, outputKey)) return void 0;
|
|
11538
11704
|
return validatedBag(field[outputKey]);
|
|
11539
11705
|
}
|
|
11540
11706
|
function persistable(token, entry) {
|
|
@@ -11552,7 +11718,7 @@ function tokensUnderPaths(properties, paths) {
|
|
|
11552
11718
|
for (const item of value) descend(item, path, next);
|
|
11553
11719
|
return;
|
|
11554
11720
|
}
|
|
11555
|
-
if (isPlainObject$
|
|
11721
|
+
if (isPlainObject$7(value) && Object.hasOwn(value, path[at])) descend(value[path[at]], path, at + 1);
|
|
11556
11722
|
};
|
|
11557
11723
|
for (const path of paths) descend(properties, path, 0);
|
|
11558
11724
|
return out;
|
|
@@ -11595,7 +11761,7 @@ function unionWithPrevious(pass, before) {
|
|
|
11595
11761
|
}
|
|
11596
11762
|
function outputProvenanceForPersist(args) {
|
|
11597
11763
|
const { outputs, resolvedThisRun, carriedFrom, sinkOf } = args;
|
|
11598
|
-
if (!resolvedThisRun) return carriedFrom !== void 0 && isPlainObject$
|
|
11764
|
+
if (!resolvedThisRun) return carriedFrom !== void 0 && isPlainObject$7(carriedFrom.outputReferenceProvenance) ? carriedFrom.outputReferenceProvenance : void 0;
|
|
11599
11765
|
let out;
|
|
11600
11766
|
for (const [outputKey, value] of Object.entries(outputs)) {
|
|
11601
11767
|
const sink = sinkOf(outputKey);
|
|
@@ -11774,6 +11940,56 @@ function parseWebACLArn(arn) {
|
|
|
11774
11940
|
};
|
|
11775
11941
|
}
|
|
11776
11942
|
|
|
11943
|
+
// src/deployment/intrinsic-resolver/ref-values/type-refs.ts
|
|
11944
|
+
function s3TablesTableRefFromPhysicalId(physicalId, stateLookup) {
|
|
11945
|
+
if (!physicalId.includes("|") || !stateLookup) return physicalId;
|
|
11946
|
+
const tableArn = stateLookup(["TableARN"]);
|
|
11947
|
+
if (tableArn === void 0) return physicalId;
|
|
11948
|
+
if (carriesSecretMask(tableArn)) return tableArn;
|
|
11949
|
+
return tableArn.startsWith("arn:") && !tableArn.includes("|") ? tableArn : physicalId;
|
|
11950
|
+
}
|
|
11951
|
+
function lacksRecordedTableArn(resource) {
|
|
11952
|
+
if (resource.resourceType !== "AWS::S3Tables::Table") return false;
|
|
11953
|
+
if (!resource.physicalId.includes("|")) return false;
|
|
11954
|
+
const recorded = (bag) => {
|
|
11955
|
+
if (bag === void 0 || !Object.hasOwn(bag, "TableARN")) return false;
|
|
11956
|
+
const value = bag["TableARN"];
|
|
11957
|
+
return typeof value === "string" && (carriesSecretMask(value) || value.startsWith("arn:") && !value.includes("|"));
|
|
11958
|
+
};
|
|
11959
|
+
return !recorded(resource.properties) && !recorded(resource.attributes);
|
|
11960
|
+
}
|
|
11961
|
+
function s3TablesNamespaceRefFromPhysicalId(physicalId) {
|
|
11962
|
+
const parts = physicalId.split("|");
|
|
11963
|
+
if (parts.length !== 2) return physicalId;
|
|
11964
|
+
const [first, second] = parts;
|
|
11965
|
+
if (!first.startsWith("arn:") && second.startsWith("arn:") && first !== "") return `${second}${"|"}${first}`;
|
|
11966
|
+
return physicalId;
|
|
11967
|
+
}
|
|
11968
|
+
function vpcGatewayAttachmentRefFromPhysicalId(physicalId) {
|
|
11969
|
+
const parts = physicalId.split("|");
|
|
11970
|
+
if (parts.length !== 2) return physicalId;
|
|
11971
|
+
const [gatewayId, vpcId] = parts;
|
|
11972
|
+
if (!vpcId.startsWith("vpc-")) return physicalId;
|
|
11973
|
+
if (gatewayId.startsWith("igw-")) return `IGW${"|"}${vpcId}`;
|
|
11974
|
+
if (gatewayId.startsWith("vgw-")) return `VGW${"|"}${vpcId}`;
|
|
11975
|
+
return physicalId;
|
|
11976
|
+
}
|
|
11977
|
+
const REF_ARN_ATTRIBUTE_HEALED = /* @__PURE__ */ new Map([["AWS::AppSync::GraphQLApi", "Arn"], ["AWS::S3Vectors::VectorBucket", "VectorBucketArn"]]);
|
|
11978
|
+
function lacksRecordedRefArn(resource) {
|
|
11979
|
+
const attribute = REF_ARN_ATTRIBUTE_HEALED.get(resource.resourceType);
|
|
11980
|
+
if (attribute === void 0 || resource.physicalId.startsWith("arn:")) return void 0;
|
|
11981
|
+
const recorded = (bag) => {
|
|
11982
|
+
if (bag === void 0 || !Object.hasOwn(bag, attribute)) return false;
|
|
11983
|
+
const value = bag[attribute];
|
|
11984
|
+
return typeof value === "string" && (carriesSecretMask(value) || value.startsWith("arn:") && !isPlaceholderArn(value));
|
|
11985
|
+
};
|
|
11986
|
+
return recorded(resource.properties) || recorded(resource.attributes) ? void 0 : attribute;
|
|
11987
|
+
}
|
|
11988
|
+
function isPlaceholderArn(arn) {
|
|
11989
|
+
const fields = arn.split(":");
|
|
11990
|
+
return fields.length >= 5 && (fields[3] === "*" || fields[4] === "*");
|
|
11991
|
+
}
|
|
11992
|
+
|
|
11777
11993
|
// src/deployment/intrinsic-resolver/ref-values.ts
|
|
11778
11994
|
const AWS_NO_VALUE = Symbol("AWS::NoValue");
|
|
11779
11995
|
const REF_RETURNS_SEGMENT_AFTER_PIPE = /* @__PURE__ */ new Set([
|
|
@@ -11799,7 +12015,9 @@ const REF_RETURNS_SEGMENT_AFTER_PIPE = /* @__PURE__ */ new Set([
|
|
|
11799
12015
|
"AWS::AppConfig::ConfigurationProfile",
|
|
11800
12016
|
"AWS::AppConfig::HostedConfigurationVersion",
|
|
11801
12017
|
"AWS::AppConfig::Deployment",
|
|
11802
|
-
"AWS::
|
|
12018
|
+
"AWS::SSM::MaintenanceWindowTarget",
|
|
12019
|
+
"AWS::SSM::MaintenanceWindowTask",
|
|
12020
|
+
"AWS::CodeDeploy::DeploymentGroup"
|
|
11803
12021
|
]);
|
|
11804
12022
|
const REF_RETURNS_SEGMENT_BEFORE_FIRST_PIPE = /* @__PURE__ */ new Set([
|
|
11805
12023
|
"AWS::EC2::EIP",
|
|
@@ -11818,7 +12036,9 @@ const REF_RETURNS_SEGMENT_AT_INDEX = /* @__PURE__ */ new Map([["AWS::Route53::Re
|
|
|
11818
12036
|
const REF_RETURNS_ARN_FROM_STATE = /* @__PURE__ */ new Map([
|
|
11819
12037
|
["AWS::AppSync::ApiKey", ["Arn"]],
|
|
11820
12038
|
["AWS::AppSync::DataSource", ["DataSourceArn"]],
|
|
11821
|
-
["AWS::AppSync::Resolver", ["ResolverArn"]]
|
|
12039
|
+
["AWS::AppSync::Resolver", ["ResolverArn"]],
|
|
12040
|
+
["AWS::AppSync::GraphQLApi", ["Arn"]],
|
|
12041
|
+
["AWS::S3Vectors::VectorBucket", ["VectorBucketArn"]]
|
|
11822
12042
|
]);
|
|
11823
12043
|
function graphQLSchemaCfnId(physicalId) {
|
|
11824
12044
|
return /^[a-z0-9]+$/.test(physicalId) ? `${physicalId}GraphQLSchema` : physicalId;
|
|
@@ -11884,30 +12104,23 @@ function recordSetRefFromPhysicalId(physicalId, stateLookup) {
|
|
|
11884
12104
|
if (recordedName === void 0) return void 0;
|
|
11885
12105
|
return canonicalizeRoute53QueryName(name) === canonicalizeRoute53QueryName(recordedName) ? name : void 0;
|
|
11886
12106
|
}
|
|
11887
|
-
function s3TablesTableRefFromPhysicalId(physicalId, stateLookup) {
|
|
11888
|
-
if (!physicalId.includes("|") || !stateLookup) return physicalId;
|
|
11889
|
-
const tableArn = stateLookup(["TableARN"]);
|
|
11890
|
-
if (tableArn === void 0) return physicalId;
|
|
11891
|
-
if (carriesSecretMask(tableArn)) return tableArn;
|
|
11892
|
-
return tableArn.startsWith("arn:") && !tableArn.includes("|") ? tableArn : physicalId;
|
|
11893
|
-
}
|
|
11894
|
-
function lacksRecordedTableArn(resource) {
|
|
11895
|
-
if (resource.resourceType !== "AWS::S3Tables::Table") return false;
|
|
11896
|
-
if (!resource.physicalId.includes("|")) return false;
|
|
11897
|
-
const recorded = (bag) => {
|
|
11898
|
-
if (bag === void 0 || !Object.hasOwn(bag, "TableARN")) return false;
|
|
11899
|
-
const value = bag["TableARN"];
|
|
11900
|
-
return typeof value === "string" && (carriesSecretMask(value) || value.startsWith("arn:") && !value.includes("|"));
|
|
11901
|
-
};
|
|
11902
|
-
return !recorded(resource.properties) && !recorded(resource.attributes);
|
|
11903
|
-
}
|
|
11904
12107
|
function cfnRefValueFromPhysicalId(resourceType, physicalId, stateLookup) {
|
|
11905
12108
|
if (resourceType === "AWS::S3Tables::Table") return s3TablesTableRefFromPhysicalId(physicalId, stateLookup);
|
|
12109
|
+
if (resourceType === "AWS::S3Tables::Namespace") return s3TablesNamespaceRefFromPhysicalId(physicalId);
|
|
12110
|
+
if (resourceType === "AWS::EC2::VPCGatewayAttachment") return vpcGatewayAttachmentRefFromPhysicalId(physicalId);
|
|
11906
12111
|
if (resourceType === "AWS::AppSync::GraphQLSchema") return graphQLSchemaCfnId(physicalId);
|
|
11907
12112
|
if (resourceType === "AWS::Glue::Table") {
|
|
11908
12113
|
const tableName = glueTableRefFromPhysicalId(physicalId, stateLookup);
|
|
11909
12114
|
if (tableName !== void 0) return tableName;
|
|
11910
12115
|
}
|
|
12116
|
+
if (resourceType === "AWS::Logs::LogStream") {
|
|
12117
|
+
const i = physicalId.indexOf("|");
|
|
12118
|
+
if (i >= 0) return physicalId.substring(i + 1);
|
|
12119
|
+
}
|
|
12120
|
+
if (resourceType === "AWS::Logs::SubscriptionFilter") {
|
|
12121
|
+
const i = physicalId.lastIndexOf("|");
|
|
12122
|
+
if (i >= 0) return physicalId.substring(0, i);
|
|
12123
|
+
}
|
|
11911
12124
|
if (resourceType === "AWS::Backup::BackupSelection" && stateLookup) {
|
|
11912
12125
|
const selectionId = stateLookup(["SelectionId"]);
|
|
11913
12126
|
if (selectionId) return selectionId;
|
|
@@ -11958,10 +12171,6 @@ function cfnRefValueFromPhysicalId(resourceType, physicalId, stateLookup) {
|
|
|
11958
12171
|
}
|
|
11959
12172
|
return physicalId;
|
|
11960
12173
|
}
|
|
11961
|
-
function isPlaceholderArn(arn) {
|
|
11962
|
-
const fields = arn.split(":");
|
|
11963
|
-
return fields.length >= 5 && (fields[3] === "*" || fields[4] === "*");
|
|
11964
|
-
}
|
|
11965
12174
|
const HANDLED_INTRINSIC_KEYS = /* @__PURE__ */ new Set([
|
|
11966
12175
|
"Ref",
|
|
11967
12176
|
"Fn::GetAtt",
|
|
@@ -12483,7 +12692,36 @@ function describeFailureObserved(resolver, read, err, context) {
|
|
|
12483
12692
|
resolver.logger.debug(`${read} failed (${errorClass}): ${displayMasked(resolver, describeAwsFailure(err).detail, context)}`);
|
|
12484
12693
|
return verbosePointerSentence() ? `${read} failed (${errorClass}); re-run with --verbose for the AWS error text` : `${read} failed (${errorClass}); the AWS error text is in the debug output above`;
|
|
12485
12694
|
}
|
|
12695
|
+
function isPhysicalIdIdentifier(resourceType, primaryIdentifier, attribute) {
|
|
12696
|
+
if (IDENTIFIER_NOT_PHYSICAL_ID_TYPES.has(resourceType)) return false;
|
|
12697
|
+
return primaryIdentifier.has(attribute);
|
|
12698
|
+
}
|
|
12699
|
+
const IDENTIFIER_NOT_PHYSICAL_ID_TYPES = /* @__PURE__ */ new Set(["AWS::CodeCommit::Repository"]);
|
|
12700
|
+
function isOwnArnAttribute(resourceType, attributeName) {
|
|
12701
|
+
const typeName = resourceType.split("::").pop() ?? "";
|
|
12702
|
+
const lower = attributeName.toLowerCase();
|
|
12703
|
+
return lower === "arn" || lower === `${typeName.toLowerCase()}arn`;
|
|
12704
|
+
}
|
|
12705
|
+
const CFN_REJECTED_GETATT_ATTRIBUTES = /* @__PURE__ */ new Set([
|
|
12706
|
+
"AWS::CloudFormation::WaitConditionHandle.Id",
|
|
12707
|
+
"AWS::IAM::UserToGroupAddition.Id",
|
|
12708
|
+
"AWS::CloudFormation::Stack.ChangeSetId",
|
|
12709
|
+
"AWS::CloudFormation::Stack.CreationTime",
|
|
12710
|
+
"AWS::CloudFormation::Stack.LastUpdateTime",
|
|
12711
|
+
"AWS::CloudFormation::Stack.Outputs",
|
|
12712
|
+
"AWS::CloudFormation::Stack.ParentId",
|
|
12713
|
+
"AWS::CloudFormation::Stack.RootId",
|
|
12714
|
+
"AWS::CloudFormation::Stack.StackId",
|
|
12715
|
+
"AWS::CloudFormation::Stack.StackStatus"
|
|
12716
|
+
]);
|
|
12717
|
+
const PHYSICAL_ID_ATTRIBUTES = /* @__PURE__ */ new Set([
|
|
12718
|
+
"AWS::ApiGateway::Account.Id",
|
|
12719
|
+
"AWS::Budgets::Budget.Id",
|
|
12720
|
+
"AWS::EFS::MountTarget.Id",
|
|
12721
|
+
"AWS::SQS::QueuePolicy.Id"
|
|
12722
|
+
]);
|
|
12486
12723
|
function guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context) {
|
|
12724
|
+
if (CFN_REJECTED_GETATT_ATTRIBUTES.has(`${resourceType}.${attributeName}`)) throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}] for ${displayMasked(resolver, resourceType, context)}: CloudFormation does not support this attribute in Fn::GetAtt and rejects the template at validation. ` + (resourceType === "AWS::CloudFormation::Stack" ? `Remove the reference; a nested stack supports only Outputs.<Key> attributes.` : `Remove the reference.`)));
|
|
12487
12725
|
if (context?.staleAttributeHeal?.phase === "probe") throw new StaleAttributeMissSignal();
|
|
12488
12726
|
const healOutcome = context?.staleAttributeHeal?.phase === "settled" ? context.staleAttributeHeal.outcome : void 0;
|
|
12489
12727
|
const recordMayBeStale = healOutcome?.kind === "failed" || healOutcome?.kind === "not-found";
|
|
@@ -12495,6 +12733,11 @@ function guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceT
|
|
|
12495
12733
|
throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}] for ${loggedType}: ` + (recordMayBeStale ? `the state record holds no value for it, and the physical ID ` : `attributes are not enriched for this resource type, and the physical ID `) + `fallback ${quotedRender(displayMasked(resolver, physicalId, context), "\"")} is not ${expectedShape}. CloudFormation would return a different value here, so falling back to the physical ID would silently produce a wrong value (e.g. in stack Outputs). ` + (recordMayBeStale ? staleRecordRemedy(resolver, healOutcome, context) : unenrichedRemedy(resolver, resourceType, attributeName, healOutcome, context))));
|
|
12496
12734
|
}
|
|
12497
12735
|
if (resolver.strictGetAtt) throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}] for ${loggedType}: ` + (recordMayBeStale ? `the state record holds no value for it, and --strict-getatt ` : `attributes are not enriched for this resource type, and --strict-getatt `) + `rejects the physical ID fallback ${quotedRender(displayMasked(resolver, physicalId, context), "\"")} (which may not be the value CloudFormation would return). Drop --strict-getatt to fall back with a warning. ` + (recordMayBeStale ? staleRecordRemedy(resolver, healOutcome, context) : unenrichedRemedy(resolver, resourceType, attributeName, healOutcome, context))));
|
|
12736
|
+
const topAttribute = attributeName.split(".")[0] ?? attributeName;
|
|
12737
|
+
const resources = context?.resources;
|
|
12738
|
+
const record = resources !== void 0 && Object.hasOwn(resources, logicalId) ? resources[logicalId] : void 0;
|
|
12739
|
+
const coverage = getPropertyCoverage(resourceType);
|
|
12740
|
+
if (record?.provisionedBy !== "cc-api" && coverage?.readOnly.has(topAttribute) === true && !isPhysicalIdIdentifier(resourceType, coverage.primaryIdentifier, topAttribute) && !PHYSICAL_ID_ATTRIBUTES.has(`${resourceType}.${attributeName}`) && !(isOwnArnAttribute(resourceType, attributeName) && physicalId.startsWith("arn:"))) throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Fn::GetAtt [${displayMasked(resolver, logicalId, context)}, ${displayMasked(resolver, attributeName, context)}] for ${loggedType}: ` + (recordMayBeStale ? `the state record holds no value for it, and its physical ID ` : healOutcome?.kind === "read" ? `the provider's re-read of the resource reports no value for it (one still creating has none yet), and its physical ID ` : `cdkd does not record it for this resource type, and its physical ID `) + `${quotedRender(displayMasked(resolver, physicalId, context), "\"")} is not the value CloudFormation returns, so serving it would silently produce a wrong value. ` + (recordMayBeStale ? staleRecordRemedy(resolver, healOutcome, context) : unenrichedRemedy(resolver, resourceType, attributeName, healOutcome, context))));
|
|
12498
12741
|
resolver.physicalIdFallbackCount++;
|
|
12499
12742
|
if (recordMayBeStale) {
|
|
12500
12743
|
resolver.logger.warn(`The state record for ${displayMasked(resolver, logicalId, context)} (${loggedType}) holds no ${displayMasked(resolver, attributeName, context)}, returning physical ID. ` + staleRecordRemedy(resolver, healOutcome, context));
|
|
@@ -14184,6 +14427,103 @@ async function rebuildByToken(value, resolveToken) {
|
|
|
14184
14427
|
return value;
|
|
14185
14428
|
}
|
|
14186
14429
|
|
|
14430
|
+
// src/provisioning/secret-physical-id.ts
|
|
14431
|
+
const APPSYNC_APIKEY_ARN_RESOURCE_PATH = /^apis\/([^/|]+)\/apikeys?\/([^/|]+)$/;
|
|
14432
|
+
const APPSYNC_ARN = /^arn:[^:]+:appsync:[^:]*:[^:]*:(.+)$/;
|
|
14433
|
+
const SUBSTRING_FLOOR = 4;
|
|
14434
|
+
function maskedSecretSegment(segment) {
|
|
14435
|
+
return `****${segment.slice(-4)}`;
|
|
14436
|
+
}
|
|
14437
|
+
function secretPhysicalIdSegment(resourceType, physicalId) {
|
|
14438
|
+
if (resourceType !== "AWS::AppSync::ApiKey") return void 0;
|
|
14439
|
+
if (typeof physicalId !== "string" || physicalId === "") return void 0;
|
|
14440
|
+
const parts = physicalId.split("|");
|
|
14441
|
+
if (parts.length === 2 && parts[0] !== "" && parts[1] !== "") return parts[1];
|
|
14442
|
+
const arn = APPSYNC_ARN.exec(physicalId);
|
|
14443
|
+
const path = arn ? APPSYNC_APIKEY_ARN_RESOURCE_PATH.exec(arn[1]) : null;
|
|
14444
|
+
if (path) return path[2];
|
|
14445
|
+
return physicalId;
|
|
14446
|
+
}
|
|
14447
|
+
function maskSegmentsInText(text, segments) {
|
|
14448
|
+
let out = text;
|
|
14449
|
+
for (const segment of segments) {
|
|
14450
|
+
if (out === segment) return maskedSecretSegment(segment);
|
|
14451
|
+
if (segment.length >= SUBSTRING_FLOOR && out.includes(segment)) out = out.split(segment).join(maskedSecretSegment(segment));
|
|
14452
|
+
}
|
|
14453
|
+
return out;
|
|
14454
|
+
}
|
|
14455
|
+
function displayPhysicalId(resourceType, physicalId) {
|
|
14456
|
+
const segment = secretPhysicalIdSegment(resourceType, physicalId);
|
|
14457
|
+
if (segment === void 0 || typeof physicalId !== "string") return physicalId;
|
|
14458
|
+
return maskSegmentsInText(physicalId, [segment]);
|
|
14459
|
+
}
|
|
14460
|
+
function maskSecretSegmentsDeep(value, segments) {
|
|
14461
|
+
if (segments.length === 0) return value;
|
|
14462
|
+
const ordered = [...new Set(segments)].sort((a, b) => b.length - a.length);
|
|
14463
|
+
const walk = (v) => {
|
|
14464
|
+
if (typeof v === "string") return maskSegmentsInText(v, ordered);
|
|
14465
|
+
if (Array.isArray(v)) return v.map(walk);
|
|
14466
|
+
if (v !== null && typeof v === "object") {
|
|
14467
|
+
const out = {};
|
|
14468
|
+
for (const [k, child] of Object.entries(v)) out[k] = walk(child);
|
|
14469
|
+
return out;
|
|
14470
|
+
}
|
|
14471
|
+
return v;
|
|
14472
|
+
};
|
|
14473
|
+
return walk(value);
|
|
14474
|
+
}
|
|
14475
|
+
function segmentOfRecord(record) {
|
|
14476
|
+
if (record === null || typeof record !== "object") return void 0;
|
|
14477
|
+
const r = record;
|
|
14478
|
+
return secretPhysicalIdSegment(r.resourceType, r.physicalId);
|
|
14479
|
+
}
|
|
14480
|
+
function stringLeavesOf(value, out = []) {
|
|
14481
|
+
if (typeof value === "string") out.push(value);
|
|
14482
|
+
else if (Array.isArray(value)) for (const v of value) stringLeavesOf(v, out);
|
|
14483
|
+
else if (value !== null && typeof value === "object") for (const v of Object.values(value)) stringLeavesOf(v, out);
|
|
14484
|
+
return out;
|
|
14485
|
+
}
|
|
14486
|
+
function secretNamedAttributeLeavesOf$1(record) {
|
|
14487
|
+
if (record === null || typeof record !== "object") return [];
|
|
14488
|
+
const r = record;
|
|
14489
|
+
if (r.resourceType !== "AWS::CloudFormation::Stack") return [];
|
|
14490
|
+
const names = r.secretNamedAttributes;
|
|
14491
|
+
const attributes = r.attributes;
|
|
14492
|
+
if (!Array.isArray(names) || attributes === null || typeof attributes !== "object") return [];
|
|
14493
|
+
const leaves = [];
|
|
14494
|
+
for (const name of names) {
|
|
14495
|
+
if (typeof name !== "string" || !Object.hasOwn(attributes, name)) continue;
|
|
14496
|
+
for (const leaf of stringLeavesOf(attributes[name])) if (leaf !== "" && leaf !== "***" && !leaf.includes("{{resolve:")) leaves.push(leaf);
|
|
14497
|
+
}
|
|
14498
|
+
return leaves;
|
|
14499
|
+
}
|
|
14500
|
+
function secretSegmentsOfState(state) {
|
|
14501
|
+
if (state === null || typeof state !== "object") return [];
|
|
14502
|
+
const s = state;
|
|
14503
|
+
const segments = [];
|
|
14504
|
+
const add = (record) => {
|
|
14505
|
+
const segment = segmentOfRecord(record);
|
|
14506
|
+
if (segment !== void 0) segments.push(segment);
|
|
14507
|
+
};
|
|
14508
|
+
if (s.resources !== null && typeof s.resources === "object" && !Array.isArray(s.resources)) for (const record of Object.values(s.resources)) {
|
|
14509
|
+
add(record);
|
|
14510
|
+
segments.push(...secretNamedAttributeLeavesOf$1(record));
|
|
14511
|
+
}
|
|
14512
|
+
for (const list of [s.orphans, s.supersededResources]) {
|
|
14513
|
+
if (!Array.isArray(list)) continue;
|
|
14514
|
+
for (const entry of list) {
|
|
14515
|
+
if (entry === null || typeof entry !== "object") continue;
|
|
14516
|
+
const record = entry.state;
|
|
14517
|
+
add(record);
|
|
14518
|
+
segments.push(...secretNamedAttributeLeavesOf$1(record));
|
|
14519
|
+
}
|
|
14520
|
+
}
|
|
14521
|
+
return segments;
|
|
14522
|
+
}
|
|
14523
|
+
function withSecretPhysicalIdsMaskedInState(state, segments = secretSegmentsOfState(state)) {
|
|
14524
|
+
return maskSecretSegmentsDeep(state, segments);
|
|
14525
|
+
}
|
|
14526
|
+
|
|
14187
14527
|
// src/deployment/intrinsic-resolver/getatt-construct-app.ts
|
|
14188
14528
|
async function constructAttributeForAppTypes(resolver, resource, attributeName, context, logicalId, resourceType, physicalId, accountId, partition, region) {
|
|
14189
14529
|
if (resourceType === "AWS::Events::Rule") switch (attributeName) {
|
|
@@ -14194,6 +14534,7 @@ async function constructAttributeForAppTypes(resolver, resource, attributeName,
|
|
|
14194
14534
|
const busName = bus.startsWith("arn:") ? bus.split("/").pop() || "" : bus;
|
|
14195
14535
|
return busName ? `arn:${partition}:events:${region}:${accountId}:rule/${busName}/${physicalId}` : `arn:${partition}:events:${region}:${accountId}:rule/${physicalId}`;
|
|
14196
14536
|
}
|
|
14537
|
+
case "RuleName": return physicalId.startsWith("arn:") ? physicalId.slice(physicalId.lastIndexOf("/") + 1) : physicalId;
|
|
14197
14538
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14198
14539
|
}
|
|
14199
14540
|
if (resourceType === "AWS::Events::EventBus") switch (attributeName) {
|
|
@@ -14223,8 +14564,50 @@ async function constructAttributeForAppTypes(resolver, resource, attributeName,
|
|
|
14223
14564
|
if (resourceType === "AWS::AppSync::GraphQLApi") switch (attributeName) {
|
|
14224
14565
|
case "Arn": return `arn:${partition}:appsync:${region}:${accountId}:apis/${physicalId}`;
|
|
14225
14566
|
case "ApiId": return physicalId;
|
|
14567
|
+
case "GraphQLEndpointArn":
|
|
14568
|
+
case "RealtimeUrl": {
|
|
14569
|
+
const host = typeof resource.attributes?.["GraphQLDns"] === "string" ? resource.attributes["GraphQLDns"] : urlHost(resource.attributes?.["GraphQLUrl"]);
|
|
14570
|
+
const match = host === void 0 ? null : /^([a-z0-9]+)\.appsync-api\.(.+)$/.exec(host);
|
|
14571
|
+
if (match) {
|
|
14572
|
+
const [, endpointId, rest] = match;
|
|
14573
|
+
return attributeName === "GraphQLEndpointArn" ? `arn:${partition}:appsync:${region}:${accountId}:endpoints/graphql-api/${endpointId}` : `wss://${endpointId}.appsync-realtime-api.${rest}/graphql`;
|
|
14574
|
+
}
|
|
14575
|
+
healBeforeConstructing(resolver, context);
|
|
14576
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14577
|
+
logicalId,
|
|
14578
|
+
attributeName,
|
|
14579
|
+
resourceType,
|
|
14580
|
+
context,
|
|
14581
|
+
why: "it is built on the endpoint id of the API's GraphQL host, which the record does not hold"
|
|
14582
|
+
});
|
|
14583
|
+
}
|
|
14584
|
+
case "GraphQLDns":
|
|
14585
|
+
case "RealtimeDns":
|
|
14586
|
+
if (attributeName === "GraphQLDns") {
|
|
14587
|
+
const host = urlHost(resource.attributes?.["GraphQLUrl"]);
|
|
14588
|
+
if (host !== void 0) return noteAttributeSecrecy(resolver, logicalId, attributeName, host, context);
|
|
14589
|
+
}
|
|
14590
|
+
healBeforeConstructing(resolver, context);
|
|
14591
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14592
|
+
logicalId,
|
|
14593
|
+
attributeName,
|
|
14594
|
+
resourceType,
|
|
14595
|
+
context,
|
|
14596
|
+
why: "AppSync serves the host under an endpoint id that is not the api id"
|
|
14597
|
+
});
|
|
14226
14598
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14227
14599
|
}
|
|
14600
|
+
if (resourceType === "AWS::AppSync::ApiKey" && attributeName === "ApiKeyId") {
|
|
14601
|
+
const keyId = secretPhysicalIdSegment(resourceType, physicalId);
|
|
14602
|
+
if (keyId !== void 0 && keyId !== physicalId) return keyId;
|
|
14603
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14604
|
+
logicalId,
|
|
14605
|
+
attributeName,
|
|
14606
|
+
resourceType,
|
|
14607
|
+
context,
|
|
14608
|
+
why: "the physical id is neither the `<apiId>|<keyId>` pair nor the key ARN it is read from"
|
|
14609
|
+
});
|
|
14610
|
+
}
|
|
14228
14611
|
if (resourceType === "AWS::AppSync::GraphQLSchema" && attributeName === "Id") return graphQLSchemaCfnId(physicalId);
|
|
14229
14612
|
if (resourceType === "AWS::ApiGatewayV2::Api") switch (attributeName) {
|
|
14230
14613
|
case "ExecuteApiArn": return `arn:${partition}:execute-api:${region}:${accountId}:${physicalId}`;
|
|
@@ -14283,20 +14666,97 @@ async function constructAttributeForAppTypes(resolver, resource, attributeName,
|
|
|
14283
14666
|
case "Arn": return `arn:${partition}:cloudwatch:${region}:${accountId}:alarm:${physicalId}`;
|
|
14284
14667
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14285
14668
|
}
|
|
14286
|
-
if (resourceType === "AWS::
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14669
|
+
if (resourceType === "AWS::AutoScaling::AutoScalingGroup" && attributeName === "AutoScalingGroupARN") {
|
|
14670
|
+
const recorded = resource.attributes?.["Arn"];
|
|
14671
|
+
if (typeof recorded === "string" && recorded.startsWith("arn:")) return noteAttributeSecrecy(resolver, logicalId, attributeName, recorded, context);
|
|
14672
|
+
healBeforeConstructing(resolver, context);
|
|
14673
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14674
|
+
logicalId,
|
|
14675
|
+
attributeName,
|
|
14676
|
+
resourceType,
|
|
14677
|
+
context,
|
|
14678
|
+
why: "its ARN carries a group id cdkd cannot build from the group name"
|
|
14679
|
+
});
|
|
14680
|
+
}
|
|
14681
|
+
if (resourceType === "AWS::RDS::DBInstance" || resourceType === "AWS::DocDB::DBInstance" || resourceType === "AWS::Neptune::DBInstance") {
|
|
14682
|
+
switch (attributeName) {
|
|
14683
|
+
case "DBInstanceArn":
|
|
14684
|
+
case "Arn": return `arn:${partition}:rds:${region}:${accountId}:db:${physicalId}`;
|
|
14685
|
+
case "DbiResourceId":
|
|
14686
|
+
case "Endpoint.HostedZoneId":
|
|
14687
|
+
case "ListenerEndpoint.Address":
|
|
14688
|
+
case "ListenerEndpoint.Port":
|
|
14689
|
+
case "ListenerEndpoint.HostedZoneId":
|
|
14690
|
+
case "CertificateDetails.CAIdentifier":
|
|
14691
|
+
case "CertificateDetails.ValidTill":
|
|
14692
|
+
if (resourceType !== "AWS::RDS::DBInstance") break;
|
|
14693
|
+
healBeforeConstructing(resolver, context);
|
|
14694
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14695
|
+
logicalId,
|
|
14696
|
+
attributeName,
|
|
14697
|
+
resourceType,
|
|
14698
|
+
context,
|
|
14699
|
+
why: "cdkd cannot build it from the DB instance identifier",
|
|
14700
|
+
remedyWhenHealCompleted: attributeName.startsWith("ListenerEndpoint.") ? "This DB instance has no listener endpoint, and CloudFormation cannot return one for it either: remove the reference, or use Endpoint.Address." : "RDS does not report it for the instance yet (it may still be creating): deploy again once the instance is available."
|
|
14701
|
+
});
|
|
14702
|
+
}
|
|
14703
|
+
return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14290
14704
|
}
|
|
14291
14705
|
if (resourceType === "AWS::RDS::DBCluster" || resourceType === "AWS::DocDB::DBCluster" || resourceType === "AWS::Neptune::DBCluster") switch (attributeName) {
|
|
14292
14706
|
case "DBClusterArn":
|
|
14293
14707
|
case "Arn": return `arn:${partition}:rds:${region}:${accountId}:cluster:${physicalId}`;
|
|
14294
14708
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14295
14709
|
}
|
|
14710
|
+
if (resourceType === "AWS::S3Express::DirectoryBucket" && attributeName === "AvailabilityZoneName") {
|
|
14711
|
+
const zoneId = /--([a-z0-9]+(?:-[a-z0-9]+)*)--x-s3$/.exec(physicalId)?.[1];
|
|
14712
|
+
if (zoneId === void 0) refuseUnservedAttribute(resolver, {
|
|
14713
|
+
logicalId,
|
|
14714
|
+
attributeName,
|
|
14715
|
+
resourceType,
|
|
14716
|
+
physicalId,
|
|
14717
|
+
context,
|
|
14718
|
+
observed: "the bucket name carries no --<zone-id>--x-s3 suffix",
|
|
14719
|
+
remedy: "Check the directory bucket in the console."
|
|
14720
|
+
});
|
|
14721
|
+
let zoneName;
|
|
14722
|
+
try {
|
|
14723
|
+
zoneName = (await resolver.clients.clientsForRegion(resolver.explicitRegion).ec2.send(new DescribeAvailabilityZonesCommand({ ZoneIds: [zoneId] }))).AvailabilityZones?.[0]?.ZoneName;
|
|
14724
|
+
} catch (err) {
|
|
14725
|
+
refuseUnservedAttribute(resolver, {
|
|
14726
|
+
logicalId,
|
|
14727
|
+
attributeName,
|
|
14728
|
+
resourceType,
|
|
14729
|
+
physicalId,
|
|
14730
|
+
context,
|
|
14731
|
+
observed: describeFailureObserved(resolver, "DescribeAvailabilityZones", err, context),
|
|
14732
|
+
remedy: "Fix the read (the DescribeAvailabilityZones permission, or the region) and deploy again."
|
|
14733
|
+
});
|
|
14734
|
+
}
|
|
14735
|
+
if (zoneName) return zoneName;
|
|
14736
|
+
refuseUnservedAttribute(resolver, {
|
|
14737
|
+
logicalId,
|
|
14738
|
+
attributeName,
|
|
14739
|
+
resourceType,
|
|
14740
|
+
physicalId,
|
|
14741
|
+
context,
|
|
14742
|
+
observed: "DescribeAvailabilityZones returned no zone for that zone ID",
|
|
14743
|
+
remedy: "Check the directory bucket in the console, or reference the attribute from a later deploy."
|
|
14744
|
+
});
|
|
14745
|
+
}
|
|
14296
14746
|
if (resourceType === "AWS::S3Express::DirectoryBucket") switch (attributeName) {
|
|
14297
14747
|
case "Arn": return `arn:${partition}:s3express:${region}:${accountId}:bucket/${physicalId}`;
|
|
14298
14748
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
14299
14749
|
}
|
|
14750
|
+
if (resourceType === "AWS::S3Tables::Table" && (attributeName === "WarehouseLocation" || attributeName === "VersionToken")) {
|
|
14751
|
+
healBeforeConstructing(resolver, context);
|
|
14752
|
+
refuseUnconstructibleAttribute(resolver, {
|
|
14753
|
+
logicalId,
|
|
14754
|
+
attributeName,
|
|
14755
|
+
resourceType,
|
|
14756
|
+
context,
|
|
14757
|
+
why: "only GetTable reports it"
|
|
14758
|
+
});
|
|
14759
|
+
}
|
|
14300
14760
|
if (resourceType === "AWS::Lambda::Function") switch (attributeName) {
|
|
14301
14761
|
case "Arn": return `arn:${partition}:lambda:${region}:${accountId}:function:${physicalId}`;
|
|
14302
14762
|
default: return guardedPhysicalIdFallback(resolver, logicalId, attributeName, resourceType, physicalId, context);
|
|
@@ -14321,6 +14781,14 @@ async function constructAttributeForAppTypes(resolver, resource, attributeName,
|
|
|
14321
14781
|
}
|
|
14322
14782
|
return NOT_CONSTRUCTED;
|
|
14323
14783
|
}
|
|
14784
|
+
function urlHost(value) {
|
|
14785
|
+
if (typeof value !== "string" || !/^https:\/\/[^/]+\//.test(value)) return void 0;
|
|
14786
|
+
try {
|
|
14787
|
+
return new URL(value).host;
|
|
14788
|
+
} catch {
|
|
14789
|
+
return;
|
|
14790
|
+
}
|
|
14791
|
+
}
|
|
14324
14792
|
|
|
14325
14793
|
// src/provisioning/ec2-instance-state.ts
|
|
14326
14794
|
function isSettledInstanceState(stateName) {
|
|
@@ -15305,6 +15773,12 @@ async function resolveRef(resolver, logicalId, context, onParameter) {
|
|
|
15305
15773
|
if (typeof tableArn === "string" && tableArn.startsWith("arn:") && !tableArn.includes("|")) return tableArn;
|
|
15306
15774
|
throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Ref ${displayMasked(resolver, logicalId, context)}: the state records no usable TableARN for this S3 Tables table (a cdkd older than v0.201.0 recorded none), and CloudFormation's Ref of a table is its TableARN, which its physical id does not contain. No usable one could be read from AWS either. If the state records none, run ${proseQuoted(cdkdRemedy("cdkd deploy"))} with permission to call s3tables:GetTable so cdkd records it; if it records a value that is not the table's ARN, re-import the table with ${proseQuoted(cdkdRemedy("cdkd import"))}.`));
|
|
15307
15775
|
}
|
|
15776
|
+
const healedAttribute = lacksRecordedRefArn(resource);
|
|
15777
|
+
if (healedAttribute !== void 0) {
|
|
15778
|
+
const arn = await resolveGetAtt(resolver, [logicalId, healedAttribute], context);
|
|
15779
|
+
if (typeof arn === "string" && arn.startsWith("arn:") && !isPlaceholderArn(arn)) return arn;
|
|
15780
|
+
throw markNonRetryable(new IntrinsicResolutionRefusalError(`Cannot resolve Ref ${displayMasked(resolver, logicalId, context)}: the Ref value CloudFormation returns for this resource is its ${healedAttribute}, which its physical id is not, and the value read for it is not a usable ARN. Re-import the resource with ${proseQuoted(cdkdRemedy("cdkd import"))}.`));
|
|
15781
|
+
}
|
|
15308
15782
|
const refValue = resolveRefValue(resolver, logicalId, resource, context);
|
|
15309
15783
|
recordSecretNamedRead(logicalId, refValue, context);
|
|
15310
15784
|
resolver.logger.debug(`Resolved Ref to resource: ${logRender(resolver, logicalId, context)} resolved to ${logRender(resolver, String(refValue), context)}`);
|
|
@@ -17171,6 +17645,74 @@ function apiGatewayV2DefinitionObject(location) {
|
|
|
17171
17645
|
};
|
|
17172
17646
|
}
|
|
17173
17647
|
|
|
17648
|
+
// src/provisioning/cc-nested-create-only-patch.ts
|
|
17649
|
+
function isPlainObject$6(value) {
|
|
17650
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
17651
|
+
}
|
|
17652
|
+
function topLevelKeyOf(op) {
|
|
17653
|
+
if (op.op !== "add" && op.op !== "replace") return void 0;
|
|
17654
|
+
const pointer = op.path.slice(1);
|
|
17655
|
+
if (!op.path.startsWith("/") || pointer.includes("/")) return void 0;
|
|
17656
|
+
return pointer.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
17657
|
+
}
|
|
17658
|
+
function writesTopLevelObject(patch) {
|
|
17659
|
+
return patch.some((op) => topLevelKeyOf(op) !== void 0 && isPlainObject$6(op.value));
|
|
17660
|
+
}
|
|
17661
|
+
function omitsThroughObjects(root, path) {
|
|
17662
|
+
let node = root;
|
|
17663
|
+
for (const segment of path) {
|
|
17664
|
+
if (!Object.hasOwn(node, segment)) return true;
|
|
17665
|
+
const next = node[segment];
|
|
17666
|
+
if (!isPlainObject$6(next)) return false;
|
|
17667
|
+
node = next;
|
|
17668
|
+
}
|
|
17669
|
+
return false;
|
|
17670
|
+
}
|
|
17671
|
+
function valueAt(root, path) {
|
|
17672
|
+
let node = root;
|
|
17673
|
+
for (const segment of path) {
|
|
17674
|
+
if (!isPlainObject$6(node) || !Object.hasOwn(node, segment)) return void 0;
|
|
17675
|
+
node = node[segment];
|
|
17676
|
+
}
|
|
17677
|
+
return node;
|
|
17678
|
+
}
|
|
17679
|
+
function nestedCreateOnlyGaps(patch, createOnlyPaths) {
|
|
17680
|
+
const gaps = [];
|
|
17681
|
+
for (const op of patch) {
|
|
17682
|
+
const key = topLevelKeyOf(op);
|
|
17683
|
+
if (key === void 0 || !isPlainObject$6(op.value)) continue;
|
|
17684
|
+
for (const path of createOnlyPaths) {
|
|
17685
|
+
if (path.length < 2 || path[0] !== key) continue;
|
|
17686
|
+
if (omitsThroughObjects(op.value, path.slice(1))) gaps.push([...path]);
|
|
17687
|
+
}
|
|
17688
|
+
}
|
|
17689
|
+
return gaps;
|
|
17690
|
+
}
|
|
17691
|
+
function withCarriedCreateOnlyMembers(patch, gaps, liveModel) {
|
|
17692
|
+
return patch.map((op) => {
|
|
17693
|
+
const key = topLevelKeyOf(op);
|
|
17694
|
+
if (key === void 0 || !isPlainObject$6(op.value)) return op;
|
|
17695
|
+
let value;
|
|
17696
|
+
for (const path of gaps) {
|
|
17697
|
+
if (path[0] !== key) continue;
|
|
17698
|
+
const live = valueAt(liveModel, path);
|
|
17699
|
+
if (live === void 0) continue;
|
|
17700
|
+
value ??= structuredClone(op.value);
|
|
17701
|
+
const rest = path.slice(1);
|
|
17702
|
+
let parent = value;
|
|
17703
|
+
for (const segment of rest.slice(0, -1)) {
|
|
17704
|
+
if (!isPlainObject$6(parent[segment])) parent[segment] = {};
|
|
17705
|
+
parent = parent[segment];
|
|
17706
|
+
}
|
|
17707
|
+
parent[rest[rest.length - 1]] = live;
|
|
17708
|
+
}
|
|
17709
|
+
return value === void 0 ? op : {
|
|
17710
|
+
...op,
|
|
17711
|
+
value
|
|
17712
|
+
};
|
|
17713
|
+
});
|
|
17714
|
+
}
|
|
17715
|
+
|
|
17174
17716
|
// src/provisioning/cloud-control/update.ts
|
|
17175
17717
|
async function update$2(logicalId, physicalId, resourceType, properties, previousProperties, context) {
|
|
17176
17718
|
const mask = maskerOrIdentity(context?.maskSecrets);
|
|
@@ -17226,6 +17768,13 @@ async function updateInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
17226
17768
|
}
|
|
17227
17769
|
}
|
|
17228
17770
|
patch = withGuardDutyDetectorReadBackOps(resourceType, patch, cleanProperties, context?.desiredFromAwsReadback === true ? { previous: cleanPreviousProperties } : void 0);
|
|
17771
|
+
if (writesTopLevelObject(patch)) {
|
|
17772
|
+
const gaps = nestedCreateOnlyGaps(patch, await getCreateOnlyPropertyPaths(resourceType));
|
|
17773
|
+
if (gaps.length > 0) {
|
|
17774
|
+
const liveModel = await this.readCcResourceModel(resourceType, physicalId, idLog);
|
|
17775
|
+
if (liveModel !== void 0) patch = withCarriedCreateOnlyMembers(patch, gaps, liveModel);
|
|
17776
|
+
}
|
|
17777
|
+
}
|
|
17229
17778
|
let reimported = false;
|
|
17230
17779
|
if (isApiGatewayV2Import(resourceType, cleanProperties)) {
|
|
17231
17780
|
const split = splitApiGatewayV2ImportPatch(patch, cleanPreviousProperties, cleanProperties);
|
|
@@ -18319,7 +18868,7 @@ async function deleteInIdLogScope(logicalId, physicalId, resourceType, propertie
|
|
|
18319
18868
|
const indeterminateGuard = await this.confirmDeleteTargetIdentity(logicalId, resourceType, physicalId, context);
|
|
18320
18869
|
if (context?.removeProtection === true && resourceType === "AWS::AutoScaling::AutoScalingGroup") {
|
|
18321
18870
|
this.logger.debug(`Delegating protected AutoScalingGroup ${logicalId} delete to the SDK ASGProvider (Cloud Control cannot force-delete a protected ASG)`);
|
|
18322
|
-
const { ASGProvider } = await import("./asg-provider-
|
|
18871
|
+
const { ASGProvider } = await import("./asg-provider-26AfIhcd.js");
|
|
18323
18872
|
const delegateRegion = ambientRegion();
|
|
18324
18873
|
let asgProvider = this.asgDeleteDelegates.get(delegateRegion);
|
|
18325
18874
|
if (asgProvider === void 0) {
|
|
@@ -18473,7 +19022,7 @@ async function sdkDeleteDelegateInCcRegion(resourceType, logicalId, physicalId)
|
|
|
18473
19022
|
const family = SDK_DELETE_FAMILIES.get(resourceType);
|
|
18474
19023
|
const cached = this.sdkDeleteDelegates.get(family);
|
|
18475
19024
|
if (cached !== void 0 && cached.region === ccRegion) return cached.provider;
|
|
18476
|
-
const provider = family === "rds" ? new (await (import("./rds-provider-
|
|
19025
|
+
const provider = family === "rds" ? new (await (import("./rds-provider-CXjWWFKT.js"))).RDSProvider({ region: ccRegion }) : new (await (import("./neptune-provider-Dhody0jz.js"))).NeptuneProvider({ region: ccRegion });
|
|
18477
19026
|
this.sdkDeleteDelegates.set(family, {
|
|
18478
19027
|
region: ccRegion,
|
|
18479
19028
|
provider
|
|
@@ -19006,10 +19555,7 @@ async function enrichResourceAttributes(resourceType, physicalId, attributes, lo
|
|
|
19006
19555
|
try {
|
|
19007
19556
|
const inst = (await new RDSClient({ ...ambientClientDefaults() }).send(new DescribeDBInstancesCommand({ DBInstanceIdentifier: physicalId }))).DBInstances?.[0];
|
|
19008
19557
|
if (inst) {
|
|
19009
|
-
|
|
19010
|
-
if (inst.Endpoint?.Port !== void 0) enriched["Endpoint.Port"] = String(inst.Endpoint.Port);
|
|
19011
|
-
if (inst.Endpoint?.HostedZoneId) enriched["Endpoint.HostedZoneId"] = inst.Endpoint.HostedZoneId;
|
|
19012
|
-
if (inst.DBInstanceArn) enriched["Arn"] = inst.DBInstanceArn;
|
|
19558
|
+
Object.assign(enriched, dbInstanceAttributes(inst));
|
|
19013
19559
|
log.debug(`Enriched RDS DBInstance ${physicalId} with Endpoint/Port/Arn from DescribeDBInstances`);
|
|
19014
19560
|
}
|
|
19015
19561
|
} catch (error) {
|
|
@@ -21148,7 +21694,7 @@ async function publishToSns(topicArn, request) {
|
|
|
21148
21694
|
}
|
|
21149
21695
|
async function invokeLambda(serviceToken, request) {
|
|
21150
21696
|
if (localCustomResourceRuntimeActive()) {
|
|
21151
|
-
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-
|
|
21697
|
+
const { invokeCustomResourceFunctionLocally } = await import("./custom-resource-runtime-2Kfh-v8P.js");
|
|
21152
21698
|
const local = await invokeCustomResourceFunctionLocally({
|
|
21153
21699
|
lambda: this.lambdaClient,
|
|
21154
21700
|
s3: this.s3Client
|
|
@@ -22086,6 +22632,7 @@ const NESTED_REQUIRED = /* @__PURE__ */ new Map([
|
|
|
22086
22632
|
]],
|
|
22087
22633
|
["PlacementConstraints", ["Type"]],
|
|
22088
22634
|
["ProxyConfiguration", ["ContainerName"]],
|
|
22635
|
+
["TrustedExecutionConfiguration", ["IsolationMode"]],
|
|
22089
22636
|
["Volumes.EFSVolumeConfiguration", ["FilesystemId"]],
|
|
22090
22637
|
["Volumes.FSxWindowsFileServerVolumeConfiguration", ["FileSystemId", "RootDirectory"]],
|
|
22091
22638
|
["Volumes.FSxWindowsFileServerVolumeConfiguration.AuthorizationConfig", ["CredentialsParameter", "Domain"]],
|
|
@@ -23186,7 +23733,7 @@ const PROPERTY_SHAPES = /* @__PURE__ */ new Map([
|
|
|
23186
23733
|
["AWS::ECR::Repository", "{\"EncryptionConfiguration\":\"object\",\"ImageScanningConfiguration\":\"object\",\"ImageTagMutabilityExclusionFilters\":\"array\",\"ImageTagMutabilityExclusionFilters[]\":\"object\",\"LifecyclePolicy\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
23187
23734
|
["AWS::ECS::Cluster", "{\"CapacityProviders\":\"array\",\"ClusterSettings\":\"array\",\"ClusterSettings[]\":\"object\",\"Configuration\":\"object\",\"Configuration.ExecuteCommandConfiguration\":\"object\",\"Configuration.ExecuteCommandConfiguration.LogConfiguration\":\"object\",\"Configuration.ManagedStorageConfiguration\":\"object\",\"DefaultCapacityProviderStrategy\":\"array\",\"DefaultCapacityProviderStrategy[]\":\"object\",\"ServiceConnectDefaults\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\"}"],
|
|
23188
23735
|
["AWS::ECS::Service", "{\"CapacityProviderStrategy\":\"array\",\"CapacityProviderStrategy[]\":\"object\",\"DeploymentConfiguration\":\"object\",\"DeploymentConfiguration.Alarms\":\"object\",\"DeploymentConfiguration.Alarms.AlarmNames\":\"array\",\"DeploymentConfiguration.CanaryConfiguration\":\"object\",\"DeploymentConfiguration.DeploymentCircuitBreaker\":\"object\",\"DeploymentConfiguration.DeploymentCircuitBreaker.ThresholdConfiguration\":\"object\",\"DeploymentConfiguration.EarlySuccessCriteria\":\"object\",\"DeploymentConfiguration.LifecycleHooks\":\"array\",\"DeploymentConfiguration.LifecycleHooks[]\":\"object\",\"DeploymentConfiguration.LifecycleHooks[].LifecycleStages\":\"array\",\"DeploymentConfiguration.LifecycleHooks[].TimeoutConfiguration\":\"object\",\"DeploymentConfiguration.LinearConfiguration\":\"object\",\"DeploymentController\":\"object\",\"ForceNewDeployment\":\"object\",\"GatewayConnectors\":\"array\",\"GatewayConnectors[]\":\"object\",\"GatewayConnectors[].Filters\":\"object\",\"GatewayConnectors[].Filters.AccessTypes\":\"array\",\"GatewayConnectors[].HealthCheck\":\"object\",\"GatewayConnectors[].HealthCheck.Matcher\":\"object\",\"LoadBalancers\":\"array\",\"LoadBalancers[]\":\"object\",\"LoadBalancers[].AdvancedConfiguration\":\"object\",\"Monitoring\":\"object\",\"Monitoring.MetricConfigurations\":\"array\",\"Monitoring.MetricConfigurations[]\":\"object\",\"Monitoring.MetricConfigurations[].MetricNames\":\"array\",\"NetworkConfiguration\":\"object\",\"NetworkConfiguration.AwsvpcConfiguration\":\"object\",\"NetworkConfiguration.AwsvpcConfiguration.SecurityGroups\":\"array\",\"NetworkConfiguration.AwsvpcConfiguration.Subnets\":\"array\",\"PlacementConstraints\":\"array\",\"PlacementConstraints[]\":\"object\",\"PlacementStrategies\":\"array\",\"PlacementStrategies[]\":\"object\",\"ServiceConnectConfiguration\":\"object\",\"ServiceConnectConfiguration.AccessLogConfiguration\":\"object\",\"ServiceConnectConfiguration.ContainerConfigurations\":\"array\",\"ServiceConnectConfiguration.ContainerConfigurations[]\":\"object\",\"ServiceConnectConfiguration.LogConfiguration\":\"object\",\"ServiceConnectConfiguration.LogConfiguration.Options\":\"object\",\"ServiceConnectConfiguration.LogConfiguration.SecretOptions\":\"array\",\"ServiceConnectConfiguration.LogConfiguration.SecretOptions[]\":\"object\",\"ServiceConnectConfiguration.Services\":\"array\",\"ServiceConnectConfiguration.Services[]\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases\":\"array\",\"ServiceConnectConfiguration.Services[].ClientAliases[]\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules.Header\":\"object\",\"ServiceConnectConfiguration.Services[].ClientAliases[].TestTrafficRules.Header.Value\":\"object\",\"ServiceConnectConfiguration.Services[].Timeout\":\"object\",\"ServiceConnectConfiguration.Services[].Tls\":\"object\",\"ServiceConnectConfiguration.Services[].Tls.IssuerCertificateAuthority\":\"object\",\"ServiceRegistries\":\"array\",\"ServiceRegistries[]\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"VolumeConfigurations\":\"array\",\"VolumeConfigurations[]\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications\":\"array\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[]\":\"object\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[].Tags\":\"array\",\"VolumeConfigurations[].ManagedEBSVolume.TagSpecifications[].Tags[]\":\"object\",\"VpcLatticeConfigurations\":\"array\",\"VpcLatticeConfigurations[]\":\"object\",\"VpcLatticeConfigurations[].AdvancedConfiguration\":\"object\"}"],
|
|
23189
|
-
["AWS::ECS::TaskDefinition", "{\"ContainerDefinitions\":\"array\",\"ContainerDefinitions[]\":\"object\",\"ContainerDefinitions[].Command\":\"array\",\"ContainerDefinitions[].CredentialSpecs\":\"array\",\"ContainerDefinitions[].DependsOn\":\"array\",\"ContainerDefinitions[].DependsOn[]\":\"object\",\"ContainerDefinitions[].DnsSearchDomains\":\"array\",\"ContainerDefinitions[].DnsServers\":\"array\",\"ContainerDefinitions[].DockerLabels\":\"object\",\"ContainerDefinitions[].DockerSecurityOptions\":\"array\",\"ContainerDefinitions[].EntryPoint\":\"array\",\"ContainerDefinitions[].Environment\":\"array\",\"ContainerDefinitions[].EnvironmentFiles\":\"array\",\"ContainerDefinitions[].EnvironmentFiles[]\":\"object\",\"ContainerDefinitions[].Environment[]\":\"object\",\"ContainerDefinitions[].ExtraHosts\":\"array\",\"ContainerDefinitions[].ExtraHosts[]\":\"object\",\"ContainerDefinitions[].FirelensConfiguration\":\"object\",\"ContainerDefinitions[].FirelensConfiguration.Options\":\"object\",\"ContainerDefinitions[].HealthCheck\":\"object\",\"ContainerDefinitions[].HealthCheck.Command\":\"array\",\"ContainerDefinitions[].Links\":\"array\",\"ContainerDefinitions[].LinuxParameters\":\"object\",\"ContainerDefinitions[].LinuxParameters.Capabilities\":\"object\",\"ContainerDefinitions[].LinuxParameters.Capabilities.Add\":\"array\",\"ContainerDefinitions[].LinuxParameters.Capabilities.Drop\":\"array\",\"ContainerDefinitions[].LinuxParameters.Devices\":\"array\",\"ContainerDefinitions[].LinuxParameters.Devices[]\":\"object\",\"ContainerDefinitions[].LinuxParameters.Devices[].Permissions\":\"array\",\"ContainerDefinitions[].LinuxParameters.Tmpfs\":\"array\",\"ContainerDefinitions[].LinuxParameters.Tmpfs[]\":\"object\",\"ContainerDefinitions[].LinuxParameters.Tmpfs[].MountOptions\":\"array\",\"ContainerDefinitions[].LogConfiguration\":\"object\",\"ContainerDefinitions[].LogConfiguration.Options\":\"object\",\"ContainerDefinitions[].LogConfiguration.SecretOptions\":\"array\",\"ContainerDefinitions[].LogConfiguration.SecretOptions[]\":\"object\",\"ContainerDefinitions[].MountPoints\":\"array\",\"ContainerDefinitions[].MountPoints[]\":\"object\",\"ContainerDefinitions[].PortMappings\":\"array\",\"ContainerDefinitions[].PortMappings[]\":\"object\",\"ContainerDefinitions[].RepositoryCredentials\":\"object\",\"ContainerDefinitions[].ResourceRequirements\":\"array\",\"ContainerDefinitions[].ResourceRequirements[]\":\"object\",\"ContainerDefinitions[].ResourceRequirements[].SharingStrategy\":\"object\",\"ContainerDefinitions[].ResourceRequirements[].SharingStrategy.NvidiaMps\":\"object\",\"ContainerDefinitions[].RestartPolicy\":\"object\",\"ContainerDefinitions[].RestartPolicy.IgnoredExitCodes\":\"array\",\"ContainerDefinitions[].Secrets\":\"array\",\"ContainerDefinitions[].Secrets[]\":\"object\",\"ContainerDefinitions[].SystemControls\":\"array\",\"ContainerDefinitions[].SystemControls[]\":\"object\",\"ContainerDefinitions[].Ulimits\":\"array\",\"ContainerDefinitions[].Ulimits[]\":\"object\",\"ContainerDefinitions[].VolumesFrom\":\"array\",\"ContainerDefinitions[].VolumesFrom[]\":\"object\",\"EphemeralStorage\":\"object\",\"InferenceAccelerators\":\"array\",\"InferenceAccelerators[]\":\"object\",\"PlacementConstraints\":\"array\",\"PlacementConstraints[]\":\"object\",\"ProxyConfiguration\":\"object\",\"ProxyConfiguration.ProxyConfigurationProperties\":\"array\",\"ProxyConfiguration.ProxyConfigurationProperties[]\":\"object\",\"RequiresCompatibilities\":\"array\",\"RuntimePlatform\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"Volumes\":\"array\",\"Volumes[]\":\"object\",\"Volumes[].DockerVolumeConfiguration\":\"object\",\"Volumes[].DockerVolumeConfiguration.DriverOpts\":\"object\",\"Volumes[].DockerVolumeConfiguration.Labels\":\"object\",\"Volumes[].EFSVolumeConfiguration\":\"object\",\"Volumes[].EFSVolumeConfiguration.AuthorizationConfig\":\"object\",\"Volumes[].FSxWindowsFileServerVolumeConfiguration\":\"object\",\"Volumes[].FSxWindowsFileServerVolumeConfiguration.AuthorizationConfig\":\"object\",\"Volumes[].Host\":\"object\",\"Volumes[].S3FilesVolumeConfiguration\":\"object\"}"],
|
|
23736
|
+
["AWS::ECS::TaskDefinition", "{\"ContainerDefinitions\":\"array\",\"ContainerDefinitions[]\":\"object\",\"ContainerDefinitions[].Command\":\"array\",\"ContainerDefinitions[].CredentialSpecs\":\"array\",\"ContainerDefinitions[].DependsOn\":\"array\",\"ContainerDefinitions[].DependsOn[]\":\"object\",\"ContainerDefinitions[].DnsSearchDomains\":\"array\",\"ContainerDefinitions[].DnsServers\":\"array\",\"ContainerDefinitions[].DockerLabels\":\"object\",\"ContainerDefinitions[].DockerSecurityOptions\":\"array\",\"ContainerDefinitions[].EntryPoint\":\"array\",\"ContainerDefinitions[].Environment\":\"array\",\"ContainerDefinitions[].EnvironmentFiles\":\"array\",\"ContainerDefinitions[].EnvironmentFiles[]\":\"object\",\"ContainerDefinitions[].Environment[]\":\"object\",\"ContainerDefinitions[].ExtraHosts\":\"array\",\"ContainerDefinitions[].ExtraHosts[]\":\"object\",\"ContainerDefinitions[].FirelensConfiguration\":\"object\",\"ContainerDefinitions[].FirelensConfiguration.Options\":\"object\",\"ContainerDefinitions[].HealthCheck\":\"object\",\"ContainerDefinitions[].HealthCheck.Command\":\"array\",\"ContainerDefinitions[].Links\":\"array\",\"ContainerDefinitions[].LinuxParameters\":\"object\",\"ContainerDefinitions[].LinuxParameters.Capabilities\":\"object\",\"ContainerDefinitions[].LinuxParameters.Capabilities.Add\":\"array\",\"ContainerDefinitions[].LinuxParameters.Capabilities.Drop\":\"array\",\"ContainerDefinitions[].LinuxParameters.Devices\":\"array\",\"ContainerDefinitions[].LinuxParameters.Devices[]\":\"object\",\"ContainerDefinitions[].LinuxParameters.Devices[].Permissions\":\"array\",\"ContainerDefinitions[].LinuxParameters.Tmpfs\":\"array\",\"ContainerDefinitions[].LinuxParameters.Tmpfs[]\":\"object\",\"ContainerDefinitions[].LinuxParameters.Tmpfs[].MountOptions\":\"array\",\"ContainerDefinitions[].LogConfiguration\":\"object\",\"ContainerDefinitions[].LogConfiguration.Options\":\"object\",\"ContainerDefinitions[].LogConfiguration.SecretOptions\":\"array\",\"ContainerDefinitions[].LogConfiguration.SecretOptions[]\":\"object\",\"ContainerDefinitions[].MountPoints\":\"array\",\"ContainerDefinitions[].MountPoints[]\":\"object\",\"ContainerDefinitions[].PortMappings\":\"array\",\"ContainerDefinitions[].PortMappings[]\":\"object\",\"ContainerDefinitions[].RepositoryCredentials\":\"object\",\"ContainerDefinitions[].ResourceRequirements\":\"array\",\"ContainerDefinitions[].ResourceRequirements[]\":\"object\",\"ContainerDefinitions[].ResourceRequirements[].SharingStrategy\":\"object\",\"ContainerDefinitions[].ResourceRequirements[].SharingStrategy.NvidiaMps\":\"object\",\"ContainerDefinitions[].RestartPolicy\":\"object\",\"ContainerDefinitions[].RestartPolicy.IgnoredExitCodes\":\"array\",\"ContainerDefinitions[].Secrets\":\"array\",\"ContainerDefinitions[].Secrets[]\":\"object\",\"ContainerDefinitions[].SystemControls\":\"array\",\"ContainerDefinitions[].SystemControls[]\":\"object\",\"ContainerDefinitions[].Ulimits\":\"array\",\"ContainerDefinitions[].Ulimits[]\":\"object\",\"ContainerDefinitions[].VolumesFrom\":\"array\",\"ContainerDefinitions[].VolumesFrom[]\":\"object\",\"EphemeralStorage\":\"object\",\"InferenceAccelerators\":\"array\",\"InferenceAccelerators[]\":\"object\",\"PlacementConstraints\":\"array\",\"PlacementConstraints[]\":\"object\",\"ProxyConfiguration\":\"object\",\"ProxyConfiguration.ProxyConfigurationProperties\":\"array\",\"ProxyConfiguration.ProxyConfigurationProperties[]\":\"object\",\"RequiresCompatibilities\":\"array\",\"RuntimePlatform\":\"object\",\"Tags\":\"array\",\"Tags[]\":\"object\",\"TrustedExecutionConfiguration\":\"object\",\"Volumes\":\"array\",\"Volumes[]\":\"object\",\"Volumes[].DockerVolumeConfiguration\":\"object\",\"Volumes[].DockerVolumeConfiguration.DriverOpts\":\"object\",\"Volumes[].DockerVolumeConfiguration.Labels\":\"object\",\"Volumes[].EFSVolumeConfiguration\":\"object\",\"Volumes[].EFSVolumeConfiguration.AuthorizationConfig\":\"object\",\"Volumes[].FSxWindowsFileServerVolumeConfiguration\":\"object\",\"Volumes[].FSxWindowsFileServerVolumeConfiguration.AuthorizationConfig\":\"object\",\"Volumes[].Host\":\"object\",\"Volumes[].S3FilesVolumeConfiguration\":\"object\"}"],
|
|
23190
23737
|
["AWS::EFS::AccessPoint", "{\"AccessPointTags\":\"array\",\"AccessPointTags[]\":\"object\",\"PosixUser\":\"object\",\"PosixUser.SecondaryGids\":\"array\",\"RootDirectory\":\"object\",\"RootDirectory.CreationInfo\":\"object\"}"],
|
|
23191
23738
|
["AWS::EFS::FileSystem", "{\"BackupPolicy\":\"object\",\"FileSystemPolicy\":\"object\",\"FileSystemProtection\":\"object\",\"FileSystemTags\":\"array\",\"FileSystemTags[]\":\"object\",\"LifecyclePolicies\":\"array\",\"LifecyclePolicies[]\":\"object\",\"ReplicationConfiguration\":\"object\",\"ReplicationConfiguration.Destinations\":\"array\",\"ReplicationConfiguration.Destinations[]\":\"object\"}"],
|
|
23192
23739
|
["AWS::EFS::MountTarget", "{\"SecurityGroups\":\"array\"}"],
|
|
@@ -24297,7 +24844,7 @@ async function ccRoutedInstanceTakesNoSnapshot(input) {
|
|
|
24297
24844
|
if (resourceType !== "AWS::RDS::DBInstance") return false;
|
|
24298
24845
|
if (region === void 0 || region === "") return false;
|
|
24299
24846
|
const mask = input.mask ?? ((text) => text);
|
|
24300
|
-
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-
|
|
24847
|
+
const { describeDBInstanceInRegion, isLiveReadReplica } = await import("./read-replica-iA8yd-HO.js").then((n) => n.l);
|
|
24301
24848
|
let reason;
|
|
24302
24849
|
try {
|
|
24303
24850
|
const live = await describeDBInstanceInRegion(physicalId, region);
|
|
@@ -24392,103 +24939,6 @@ function maskedRecordRemedyFor(reads, resources, causeScoped = false) {
|
|
|
24392
24939
|
return [parts.join(" "), ...commandLines].join("\n");
|
|
24393
24940
|
}
|
|
24394
24941
|
|
|
24395
|
-
// src/provisioning/secret-physical-id.ts
|
|
24396
|
-
const APPSYNC_APIKEY_ARN_RESOURCE_PATH = /^apis\/([^/|]+)\/apikeys?\/([^/|]+)$/;
|
|
24397
|
-
const APPSYNC_ARN = /^arn:[^:]+:appsync:[^:]*:[^:]*:(.+)$/;
|
|
24398
|
-
const SUBSTRING_FLOOR = 4;
|
|
24399
|
-
function maskedSecretSegment(segment) {
|
|
24400
|
-
return `****${segment.slice(-4)}`;
|
|
24401
|
-
}
|
|
24402
|
-
function secretPhysicalIdSegment(resourceType, physicalId) {
|
|
24403
|
-
if (resourceType !== "AWS::AppSync::ApiKey") return void 0;
|
|
24404
|
-
if (typeof physicalId !== "string" || physicalId === "") return void 0;
|
|
24405
|
-
const parts = physicalId.split("|");
|
|
24406
|
-
if (parts.length === 2 && parts[0] !== "" && parts[1] !== "") return parts[1];
|
|
24407
|
-
const arn = APPSYNC_ARN.exec(physicalId);
|
|
24408
|
-
const path = arn ? APPSYNC_APIKEY_ARN_RESOURCE_PATH.exec(arn[1]) : null;
|
|
24409
|
-
if (path) return path[2];
|
|
24410
|
-
return physicalId;
|
|
24411
|
-
}
|
|
24412
|
-
function maskSegmentsInText(text, segments) {
|
|
24413
|
-
let out = text;
|
|
24414
|
-
for (const segment of segments) {
|
|
24415
|
-
if (out === segment) return maskedSecretSegment(segment);
|
|
24416
|
-
if (segment.length >= SUBSTRING_FLOOR && out.includes(segment)) out = out.split(segment).join(maskedSecretSegment(segment));
|
|
24417
|
-
}
|
|
24418
|
-
return out;
|
|
24419
|
-
}
|
|
24420
|
-
function displayPhysicalId(resourceType, physicalId) {
|
|
24421
|
-
const segment = secretPhysicalIdSegment(resourceType, physicalId);
|
|
24422
|
-
if (segment === void 0 || typeof physicalId !== "string") return physicalId;
|
|
24423
|
-
return maskSegmentsInText(physicalId, [segment]);
|
|
24424
|
-
}
|
|
24425
|
-
function maskSecretSegmentsDeep(value, segments) {
|
|
24426
|
-
if (segments.length === 0) return value;
|
|
24427
|
-
const ordered = [...new Set(segments)].sort((a, b) => b.length - a.length);
|
|
24428
|
-
const walk = (v) => {
|
|
24429
|
-
if (typeof v === "string") return maskSegmentsInText(v, ordered);
|
|
24430
|
-
if (Array.isArray(v)) return v.map(walk);
|
|
24431
|
-
if (v !== null && typeof v === "object") {
|
|
24432
|
-
const out = {};
|
|
24433
|
-
for (const [k, child] of Object.entries(v)) out[k] = walk(child);
|
|
24434
|
-
return out;
|
|
24435
|
-
}
|
|
24436
|
-
return v;
|
|
24437
|
-
};
|
|
24438
|
-
return walk(value);
|
|
24439
|
-
}
|
|
24440
|
-
function segmentOfRecord(record) {
|
|
24441
|
-
if (record === null || typeof record !== "object") return void 0;
|
|
24442
|
-
const r = record;
|
|
24443
|
-
return secretPhysicalIdSegment(r.resourceType, r.physicalId);
|
|
24444
|
-
}
|
|
24445
|
-
function stringLeavesOf(value, out = []) {
|
|
24446
|
-
if (typeof value === "string") out.push(value);
|
|
24447
|
-
else if (Array.isArray(value)) for (const v of value) stringLeavesOf(v, out);
|
|
24448
|
-
else if (value !== null && typeof value === "object") for (const v of Object.values(value)) stringLeavesOf(v, out);
|
|
24449
|
-
return out;
|
|
24450
|
-
}
|
|
24451
|
-
function secretNamedAttributeLeavesOf$1(record) {
|
|
24452
|
-
if (record === null || typeof record !== "object") return [];
|
|
24453
|
-
const r = record;
|
|
24454
|
-
if (r.resourceType !== "AWS::CloudFormation::Stack") return [];
|
|
24455
|
-
const names = r.secretNamedAttributes;
|
|
24456
|
-
const attributes = r.attributes;
|
|
24457
|
-
if (!Array.isArray(names) || attributes === null || typeof attributes !== "object") return [];
|
|
24458
|
-
const leaves = [];
|
|
24459
|
-
for (const name of names) {
|
|
24460
|
-
if (typeof name !== "string" || !Object.hasOwn(attributes, name)) continue;
|
|
24461
|
-
for (const leaf of stringLeavesOf(attributes[name])) if (leaf !== "" && leaf !== "***" && !leaf.includes("{{resolve:")) leaves.push(leaf);
|
|
24462
|
-
}
|
|
24463
|
-
return leaves;
|
|
24464
|
-
}
|
|
24465
|
-
function secretSegmentsOfState(state) {
|
|
24466
|
-
if (state === null || typeof state !== "object") return [];
|
|
24467
|
-
const s = state;
|
|
24468
|
-
const segments = [];
|
|
24469
|
-
const add = (record) => {
|
|
24470
|
-
const segment = segmentOfRecord(record);
|
|
24471
|
-
if (segment !== void 0) segments.push(segment);
|
|
24472
|
-
};
|
|
24473
|
-
if (s.resources !== null && typeof s.resources === "object" && !Array.isArray(s.resources)) for (const record of Object.values(s.resources)) {
|
|
24474
|
-
add(record);
|
|
24475
|
-
segments.push(...secretNamedAttributeLeavesOf$1(record));
|
|
24476
|
-
}
|
|
24477
|
-
for (const list of [s.orphans, s.supersededResources]) {
|
|
24478
|
-
if (!Array.isArray(list)) continue;
|
|
24479
|
-
for (const entry of list) {
|
|
24480
|
-
if (entry === null || typeof entry !== "object") continue;
|
|
24481
|
-
const record = entry.state;
|
|
24482
|
-
add(record);
|
|
24483
|
-
segments.push(...secretNamedAttributeLeavesOf$1(record));
|
|
24484
|
-
}
|
|
24485
|
-
}
|
|
24486
|
-
return segments;
|
|
24487
|
-
}
|
|
24488
|
-
function withSecretPhysicalIdsMaskedInState(state, segments = secretSegmentsOfState(state)) {
|
|
24489
|
-
return maskSecretSegmentsDeep(state, segments);
|
|
24490
|
-
}
|
|
24491
|
-
|
|
24492
24942
|
// src/types/deployment-events.ts
|
|
24493
24943
|
function extractDeploymentEventError(err) {
|
|
24494
24944
|
if (!(err instanceof Error)) return {
|
|
@@ -25953,8 +26403,8 @@ async function verifyRestoreSourceIdentity(input) {
|
|
|
25953
26403
|
if (input.resourceType !== "AWS::RDS::DBCluster") return;
|
|
25954
26404
|
const source = input.properties["SourceDbClusterResourceId"];
|
|
25955
26405
|
if (typeof source !== "string" || source === "") return;
|
|
25956
|
-
const
|
|
25957
|
-
|
|
26406
|
+
const recordedValue = input.attributes?.["DBClusterResourceId"];
|
|
26407
|
+
const recorded = typeof recordedValue === "string" && recordedValue !== "" ? recordedValue : void 0;
|
|
25958
26408
|
const refuse = (reason) => {
|
|
25959
26409
|
throw markNonRetryable(new ProvisioningError(safeMsg`${input.resourceType} ${input.logicalId}: ${reason}; nothing was changed.`, input.resourceType, input.logicalId, input.physicalId));
|
|
25960
26410
|
};
|
|
@@ -25978,8 +26428,9 @@ async function verifyRestoreSourceIdentity(input) {
|
|
|
25978
26428
|
} catch (error) {
|
|
25979
26429
|
failure = `the read failed (${error?.name ?? "Error"})`;
|
|
25980
26430
|
}
|
|
25981
|
-
|
|
25982
|
-
if (
|
|
26431
|
+
const own = [recorded, typeof liveId === "string" && liveId !== "" ? liveId : void 0];
|
|
26432
|
+
if (own.some((id) => id !== void 0 && id.toLowerCase() === source.toLowerCase())) refuse("SourceDbClusterResourceId must be another cluster's than the one this replaces");
|
|
26433
|
+
if (own[1] === void 0 && recorded === void 0) refuse(`SourceDbClusterResourceId may name the cluster this replacement deletes first, and its identity could not be verified (${failure || "no resource id was read"}). Name the source with SourceDBClusterIdentifier instead, or retry`);
|
|
25983
26434
|
}
|
|
25984
26435
|
async function verifyInstancePointInTimeSource(input) {
|
|
25985
26436
|
const nonEmpty = (key) => {
|
|
@@ -25991,15 +26442,21 @@ async function verifyInstancePointInTimeSource(input) {
|
|
|
25991
26442
|
const backupsRegion = declaredBackups?.split(":")[3];
|
|
25992
26443
|
const backups = declaredBackups !== void 0 && (backupsRegion === void 0 || backupsRegion === "" || backupsRegion === input.region) ? declaredBackups : void 0;
|
|
25993
26444
|
if (resourceId === void 0 && backups === void 0) return;
|
|
25994
|
-
const
|
|
25995
|
-
|
|
26445
|
+
const recordedValue = input.attributes?.["DbiResourceId"];
|
|
26446
|
+
const recorded = typeof recordedValue === "string" && recordedValue !== "" ? recordedValue : void 0;
|
|
25996
26447
|
const key = backups !== void 0 ? "SourceDBInstanceAutomatedBackupsArn" : "SourceDbiResourceId";
|
|
25997
26448
|
const refuse = (reason) => {
|
|
25998
26449
|
throw markNonRetryable(new ProvisioningError(safeMsg`${input.resourceType} ${input.logicalId}: ${reason}; nothing was changed.`, input.resourceType, input.logicalId, input.physicalId));
|
|
25999
26450
|
};
|
|
26000
26451
|
const unverified = (failure) => refuse(`${key} may name the DB instance this replacement deletes first, and its identity could not be verified (${failure}). Name the source with SourceDBInstanceIdentifier instead, or retry`);
|
|
26001
26452
|
const provider = input.provider();
|
|
26002
|
-
if (provider?.resourceIdentity === void 0)
|
|
26453
|
+
if (provider?.resourceIdentity === void 0) {
|
|
26454
|
+
if (recorded !== void 0 && backups === void 0) {
|
|
26455
|
+
if (resourceId !== void 0 && resourceId.toLowerCase() === recorded.toLowerCase()) refuse("SourceDbiResourceId must be another DB instance's than the one this replaces");
|
|
26456
|
+
return;
|
|
26457
|
+
}
|
|
26458
|
+
return unverified("no provider can read it");
|
|
26459
|
+
}
|
|
26003
26460
|
const read = provider.resourceIdentity.bind(provider);
|
|
26004
26461
|
const identity = async (id) => {
|
|
26005
26462
|
let answer;
|
|
@@ -26011,17 +26468,22 @@ async function verifyInstancePointInTimeSource(input) {
|
|
|
26011
26468
|
if (answer === void 0 || answer === "") return unverified("no resource id was read");
|
|
26012
26469
|
return answer;
|
|
26013
26470
|
};
|
|
26014
|
-
let
|
|
26015
|
-
if (
|
|
26016
|
-
|
|
26471
|
+
let live;
|
|
26472
|
+
if (recorded === void 0) {
|
|
26473
|
+
live = await identity(input.physicalId);
|
|
26017
26474
|
if (live === RESOURCE_NOT_FOUND) return unverified("it was not found");
|
|
26018
|
-
|
|
26475
|
+
} else try {
|
|
26476
|
+
const answer = await read(input.physicalId, input.resourceType, { expectedRegion: input.region });
|
|
26477
|
+
live = answer === "" ? void 0 : answer;
|
|
26478
|
+
} catch {
|
|
26479
|
+
live = void 0;
|
|
26019
26480
|
}
|
|
26020
|
-
|
|
26481
|
+
const own = [recorded, live === RESOURCE_NOT_FOUND ? void 0 : live].filter((id) => id !== void 0);
|
|
26482
|
+
if (resourceId !== void 0 && own.some((id) => id.toLowerCase() === resourceId.toLowerCase())) refuse("SourceDbiResourceId must be another DB instance's than the one this replaces");
|
|
26021
26483
|
if (backups !== void 0) {
|
|
26022
26484
|
const owner = await identity(backups);
|
|
26023
26485
|
if (owner === RESOURCE_NOT_FOUND) refuse("SourceDBInstanceAutomatedBackupsArn names no automated backup this account can read, so the restore after the delete would fail");
|
|
26024
|
-
if (owner !== RESOURCE_NOT_FOUND &&
|
|
26486
|
+
if (owner !== RESOURCE_NOT_FOUND && own.some((id) => id.toLowerCase() === owner.toLowerCase())) refuse("SourceDBInstanceAutomatedBackupsArn must name another DB instance's automated backups than the one this replaces");
|
|
26025
26487
|
}
|
|
26026
26488
|
}
|
|
26027
26489
|
|
|
@@ -29455,7 +29917,7 @@ function updatePartialMessage(reason) {
|
|
|
29455
29917
|
|
|
29456
29918
|
// src/deployment/rollback-executor/replay-noecho.ts
|
|
29457
29919
|
const NOECHO_REPLAY_READBACK_TIMEOUT_MS = 3e4;
|
|
29458
|
-
const NESTED_STACK_TYPE$
|
|
29920
|
+
const NESTED_STACK_TYPE$4 = "AWS::CloudFormation::Stack";
|
|
29459
29921
|
function coordinatePath(coordinate) {
|
|
29460
29922
|
let path = "";
|
|
29461
29923
|
for (const segment of coordinate) path += typeof segment === "number" ? `[${segment}]` : path === "" ? segment : `.${segment}`;
|
|
@@ -29541,7 +30003,7 @@ async function substituteMarkedNoEchoLeaves(input) {
|
|
|
29541
30003
|
if (desired === void 0) return identity;
|
|
29542
30004
|
const pending = (noEchoLeavesOf(baseline) ?? []).filter((coordinate) => carriesSecretMask(valueAtCoordinate(desired, coordinate)));
|
|
29543
30005
|
if (pending.length === 0) return identity;
|
|
29544
|
-
if (live.resourceType === NESTED_STACK_TYPE$
|
|
30006
|
+
if (live.resourceType === NESTED_STACK_TYPE$4 && baseline.resourceType === NESTED_STACK_TYPE$4 && live.provisionedBy !== "cc-api" && !routedVia.includes("cc-api")) return {
|
|
29545
30007
|
...identity,
|
|
29546
30008
|
inert: pending
|
|
29547
30009
|
};
|
|
@@ -29903,7 +30365,7 @@ function equalModuloMarkedMask(state, aws, mask, coordinate, isMarked, isWithinM
|
|
|
29903
30365
|
const b = jsonForm(aws);
|
|
29904
30366
|
if (isMarked(coordinate) && b !== void 0 && b !== null) {
|
|
29905
30367
|
if (a === mask) return true;
|
|
29906
|
-
if (isWithinMarked(coordinate) ? isWhollyMask$1(a, mask) : sameJson(a, wholeMaskOf(b, mask))) return holdsMask(a, mask);
|
|
30368
|
+
if (isWithinMarked(coordinate) ? isWhollyMask$1(a, mask) : sameJson(a, wholeMaskOf(b, mask))) return holdsMask$1(a, mask);
|
|
29907
30369
|
}
|
|
29908
30370
|
if (a === mask && (typeof b === "string" || typeof b === "number" || typeof b === "boolean")) return true;
|
|
29909
30371
|
if (a === b) return true;
|
|
@@ -29932,12 +30394,12 @@ function isWhollyMask$1(value, mask) {
|
|
|
29932
30394
|
if (isPlainObject$5(node)) return Object.values(node).every(walk);
|
|
29933
30395
|
return false;
|
|
29934
30396
|
};
|
|
29935
|
-
return walk(value) && holdsMask(value, mask);
|
|
30397
|
+
return walk(value) && holdsMask$1(value, mask);
|
|
29936
30398
|
}
|
|
29937
|
-
function holdsMask(value, mask) {
|
|
30399
|
+
function holdsMask$1(value, mask) {
|
|
29938
30400
|
if (value === mask) return true;
|
|
29939
|
-
if (Array.isArray(value)) return value.some((v) => holdsMask(v, mask));
|
|
29940
|
-
if (isPlainObject$5(value)) return Object.values(value).some((v) => holdsMask(v, mask));
|
|
30401
|
+
if (Array.isArray(value)) return value.some((v) => holdsMask$1(v, mask));
|
|
30402
|
+
if (isPlainObject$5(value)) return Object.values(value).some((v) => holdsMask$1(v, mask));
|
|
29941
30403
|
return false;
|
|
29942
30404
|
}
|
|
29943
30405
|
function sameJson(a, b) {
|
|
@@ -33816,7 +34278,7 @@ async function collectNestedChildUnaddressed(fn) {
|
|
|
33816
34278
|
|
|
33817
34279
|
// src/deployment/nested-child-journal.ts
|
|
33818
34280
|
const NESTED_PENDING_PARENT_REASON = "nested-pending-parent";
|
|
33819
|
-
const NESTED_STACK_TYPE$
|
|
34281
|
+
const NESTED_STACK_TYPE$3 = "AWS::CloudFormation::Stack";
|
|
33820
34282
|
const MAX_NESTED_WALK_DEPTH = 32;
|
|
33821
34283
|
function nestedChildStackName(parentStackName, logicalId) {
|
|
33822
34284
|
return `${parentStackName}~${logicalId}`;
|
|
@@ -33879,7 +34341,7 @@ function recordDisplacedSkips(recordEvent, stackName, ops) {
|
|
|
33879
34341
|
});
|
|
33880
34342
|
}
|
|
33881
34343
|
function revertedNestedRowIds(ops) {
|
|
33882
|
-
return ops.filter((op) => op.resourceType === NESTED_STACK_TYPE$
|
|
34344
|
+
return ops.filter((op) => op.resourceType === NESTED_STACK_TYPE$3 && op.changeType === "UPDATE").map((op) => op.logicalId);
|
|
33883
34345
|
}
|
|
33884
34346
|
const revertRunStorage = new AsyncLocalStorage();
|
|
33885
34347
|
function withNestedRevertRun(runId, fn) {
|
|
@@ -33905,7 +34367,7 @@ async function dropNestedChildJournals(args) {
|
|
|
33905
34367
|
if (!isPlainRecord(resources)) return;
|
|
33906
34368
|
if (depthExceeded(depth, parentStackName, logger)) return;
|
|
33907
34369
|
for (const [logicalId, record] of Object.entries(resources)) {
|
|
33908
|
-
if (!isPlainRecord(record) || record["resourceType"] !== NESTED_STACK_TYPE$
|
|
34370
|
+
if (!isPlainRecord(record) || record["resourceType"] !== NESTED_STACK_TYPE$3) continue;
|
|
33909
34371
|
const child = nestedChildStackName(parentStackName, logicalId);
|
|
33910
34372
|
try {
|
|
33911
34373
|
const data = await stateBackend.getState(child, region);
|
|
@@ -43939,14 +44401,14 @@ function logicalIdToPath(records, template) {
|
|
|
43939
44401
|
}
|
|
43940
44402
|
|
|
43941
44403
|
// src/deployment/deployment-approval.ts
|
|
43942
|
-
const NESTED_STACK_TYPE$
|
|
44404
|
+
const NESTED_STACK_TYPE$2 = "AWS::CloudFormation::Stack";
|
|
43943
44405
|
async function requireDeploymentApproval(args) {
|
|
43944
44406
|
const level = args.options.requireApproval ?? "never";
|
|
43945
44407
|
const approve = args.options.approveDeployment;
|
|
43946
44408
|
if (level === "never" || approve === void 0) return false;
|
|
43947
44409
|
const changes = [...args.changes].filter((c) => c.changeType !== "NO_CHANGE" && !isNoEchoPromotionOnly(c));
|
|
43948
44410
|
const destructiveChanges = findDestructiveChanges(args.stackName, changes, args.records, args.template, new Set(args.recreateTargetIds ?? []));
|
|
43949
|
-
const onlyNestedUpdates = changes.every((c) => c.changeType === "UPDATE" && c.resourceType === NESTED_STACK_TYPE$
|
|
44411
|
+
const onlyNestedUpdates = changes.every((c) => c.changeType === "UPDATE" && c.resourceType === NESTED_STACK_TYPE$2);
|
|
43950
44412
|
const security = level === "broadening" ? await diffSecurity({
|
|
43951
44413
|
stackName: args.stackName,
|
|
43952
44414
|
changes,
|
|
@@ -43989,7 +44451,7 @@ async function checkDestructivePlan(args) {
|
|
|
43989
44451
|
if (hook === void 0) return;
|
|
43990
44452
|
const changes = [...args.changes].filter((c) => c.changeType !== "NO_CHANGE" && !isNoEchoPromotionOnly(c));
|
|
43991
44453
|
const destroying = findDestructiveChanges(args.stackName, changes, args.records, args.template, new Set(args.recreateTargetIds ?? [])).filter((c) => c.impact !== "WILL_ORPHAN");
|
|
43992
|
-
const nestedRowChanges = changes.some((c) => c.resourceType === NESTED_STACK_TYPE$
|
|
44454
|
+
const nestedRowChanges = changes.some((c) => c.resourceType === NESTED_STACK_TYPE$2 && (c.changeType === "CREATE" || c.changeType === "UPDATE"));
|
|
43993
44455
|
if (destroying.length === 0 && !nestedRowChanges) return;
|
|
43994
44456
|
await hook(args.stackName, destroying);
|
|
43995
44457
|
}
|
|
@@ -45618,7 +46080,11 @@ async function provisionUpdate(engine, logicalId, change, stateResources, stackN
|
|
|
45618
46080
|
const lateReplacementDeclined = /* @__PURE__ */ new Set();
|
|
45619
46081
|
const differsWhy = (key) => !lateReplacementDeclined.has(key) ? "differs; the provider is not known to report this property exactly, so the difference may be its normalization" : lateCrossPrefixRefused ? "differs; the replacement was refused: see the state-prefix warning above" : `differs; the replacement was not approved (--require-approval=${engine.options.requireApproval ?? "never"})`;
|
|
45620
46082
|
if (witnessMigrates && !typeChanged && echoCandidates.length > 0 && hasAddressablePhysicalId(currentResource)) await readOnce();
|
|
45621
|
-
|
|
46083
|
+
const unchangedApartFromHeal = !typeChanged && lostChild === void 0 && recreateDirectionFor(engine.options, stackName, logicalId) === void 0 && recordMatchesDesired && unsettledNames.size === 0;
|
|
46084
|
+
const mayTakeNoChangeSkip = unchangedApartFromHeal && change.nestedChildHeal !== true;
|
|
46085
|
+
const healRowReadsRedacted = change.nestedChildHeal === true && unchangedApartFromHeal && !suppliesFreshMaskOnlyValue && (context.redactedAttributeReads?.length ?? 0) > 0;
|
|
46086
|
+
if (healRowReadsRedacted) engine.logger.warn(safeMsg`${logicalId}: the nested stack is not updated to re-spell its SSM parameter name (go-to-k/cdkd#6282): its Parameters read a value cdkd stores masked. It is re-spelled by the next deploy that changes this nested stack; until then each deploy checks it again and repeats this warning.`);
|
|
46087
|
+
if (mayTakeNoChangeSkip && !suppliesFreshMaskOnlyValue || healRowReadsRedacted) {
|
|
45622
46088
|
if (provenanceUnchanged.length > 0) stateResources[logicalId] = withRefreshedReadVersions(stateResources[logicalId] ?? currentResource, provenanceUnchanged);
|
|
45623
46089
|
if (change.attributeChanges && change.attributeChanges.length > 0) {
|
|
45624
46090
|
applyAttributeOnlyUpdate(change.attributeChanges);
|
|
@@ -45788,7 +46254,7 @@ async function provisionUpdate(engine, logicalId, change, stateResources, stackN
|
|
|
45788
46254
|
if (macReadsOther.size > 0) engine.logger.debug(safeMsg`${logicalId}: ${[...macReadsOther].sort().join(", ")} carry the NoEcho values they were last sent, but also read a value their MACs do not cover (a resource attribute, a plain parameter) with no equal, fully resolved input binding: compared as without a MAC`);
|
|
45789
46255
|
if (macChangedPaths.size > 0) engine.logger.info(safeMsg` ${logicalId}: sending ${[...macChangedPaths].sort().join(", ")}: a NoEcho parameter value it reads changed since the last deploy.`);
|
|
45790
46256
|
const confirmedPaths = /* @__PURE__ */ new Set([...noEchoHeldPaths, ...parameterSettledPaths]);
|
|
45791
|
-
if (confirmedPaths.size > 0 &&
|
|
46257
|
+
if (confirmedPaths.size > 0 && mayTakeNoChangeSkip && Object.keys(resolvedProps).every((key) => confirmedPaths.has(key) || otherFreshAt(key).length === 0 && !pendingParameterLeaves.has(key))) {
|
|
45792
46258
|
engine.logger.debug(safeMsg`Skipping ${logicalId}: AWS already holds every NoEcho value it carries, and nothing else changed`);
|
|
45793
46259
|
const staleHeld = staleCoordinates.filter((coordinate) => typeof coordinate[0] === "string" && parameterHeldKeys.has(coordinate[0]));
|
|
45794
46260
|
if (staleHeld.length > 0) {
|
|
@@ -46867,7 +47333,7 @@ async function settleJournalAtStart(engine, { stackName, template, currentState,
|
|
|
46867
47333
|
}
|
|
46868
47334
|
|
|
46869
47335
|
// src/utils/nested-template-cycle.ts
|
|
46870
|
-
const NESTED_STACK_TYPE = "AWS::CloudFormation::Stack";
|
|
47336
|
+
const NESTED_STACK_TYPE$1 = "AWS::CloudFormation::Stack";
|
|
46871
47337
|
function isAbsoluteAssetPath(p) {
|
|
46872
47338
|
return path.isAbsolute(p) || p.startsWith("/");
|
|
46873
47339
|
}
|
|
@@ -46888,7 +47354,7 @@ function listNestedTemplateRows(template) {
|
|
|
46888
47354
|
const rows = [];
|
|
46889
47355
|
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
46890
47356
|
const row = resource;
|
|
46891
|
-
if (row?.Type !== NESTED_STACK_TYPE) continue;
|
|
47357
|
+
if (row?.Type !== NESTED_STACK_TYPE$1) continue;
|
|
46892
47358
|
const assetPath = row.Metadata?.["aws:asset:path"];
|
|
46893
47359
|
if (typeof assetPath !== "string" || assetPath.length === 0) continue;
|
|
46894
47360
|
rows.push({
|
|
@@ -47458,7 +47924,7 @@ function inheritedProvenanceForChildDiff(args) {
|
|
|
47458
47924
|
}
|
|
47459
47925
|
|
|
47460
47926
|
// src/deployment/deploy-engine/deploy-flow/diff.ts
|
|
47461
|
-
async function calculateDeployDiff(engine, { stackName, currentState, effectiveTemplate, parameterValues, conditions, clock }) {
|
|
47927
|
+
async function calculateDeployDiff(engine, { stackName, currentState, effectiveTemplate, parameterValues, conditions, clock, forcedNestedChildRuns }) {
|
|
47462
47928
|
const diffResolverContext = buildResolverContext(engine.resolverContextDeps(), {
|
|
47463
47929
|
template: effectiveTemplate,
|
|
47464
47930
|
resources: currentState.resources,
|
|
@@ -47482,9 +47948,227 @@ async function calculateDeployDiff(engine, { stackName, currentState, effectiveT
|
|
|
47482
47948
|
changes: await engine.diffCalculator.calculateDiff(currentState, effectiveTemplate, diffResolveFn, makeCanonicalizePropertiesFn(engine.providerRegistry), engine.providerRegistry.getAllowedUnsupportedProperties?.(), freshNoEchoParametersWithDeclared(engine.noEchoRun.inheritedNoEchoParameters, effectiveTemplate), diffLogMasker(engine.secretsRun, engine.maskingDeps(), diffResolverContext.recordedSecretValues, effectiveTemplate, parameterValues, currentState.resources), recreateTargetIdsFor(engine.options.recreateTargets, stackName), maskedInputs, engine.options.refusalRecovery, noEchoDiffComparison(engine.noEchoRun, engine.noEchoDeps(), currentState.resources, effectiveTemplate, conditions, parameterValues, stackName), {
|
|
47483
47949
|
...engine.options.inheritedReferenceProvenance && { inherited: engine.options.inheritedReferenceProvenance },
|
|
47484
47950
|
crossStackOutputs: crossStackOutputProvenanceSource(crossStackReads, engine.recordedImports, engine.stateBackend)
|
|
47485
|
-
})
|
|
47951
|
+
}, forcedNestedChildRuns)
|
|
47952
|
+
};
|
|
47953
|
+
}
|
|
47954
|
+
|
|
47955
|
+
// src/deployment/ssm-slashed-name-heal.ts
|
|
47956
|
+
const SSM_PARAMETER = "AWS::SSM::Parameter";
|
|
47957
|
+
function isObject$1(value) {
|
|
47958
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
47959
|
+
}
|
|
47960
|
+
function generatedNames(logicalId, stackName, stackInstanceId, record) {
|
|
47961
|
+
const names = [withStackScope({
|
|
47962
|
+
stackName,
|
|
47963
|
+
stackInstanceId: void 0,
|
|
47964
|
+
nameGenerations: void 0
|
|
47965
|
+
}, () => generatedNameFor(SSM_PARAMETER, logicalId))];
|
|
47966
|
+
if (stackInstanceId !== void 0) {
|
|
47967
|
+
const generation = nameGenerationOf(record, logicalId);
|
|
47968
|
+
names.push(withStackScope({
|
|
47969
|
+
stackName,
|
|
47970
|
+
stackInstanceId,
|
|
47971
|
+
nameGenerations: /* @__PURE__ */ new Map([[logicalId, generation]])
|
|
47972
|
+
}, () => generatedNameFor(SSM_PARAMETER, logicalId)));
|
|
47973
|
+
}
|
|
47974
|
+
return names;
|
|
47975
|
+
}
|
|
47976
|
+
function healedRecord(logicalId, record, template, stackName, stackInstanceId) {
|
|
47977
|
+
if (!isObject$1(record) || record["resourceType"] !== SSM_PARAMETER) return void 0;
|
|
47978
|
+
const physicalId = record["physicalId"];
|
|
47979
|
+
if (typeof physicalId !== "string" || !/^\/[^/]+$/.test(physicalId)) return void 0;
|
|
47980
|
+
const declared = template.Resources?.[logicalId];
|
|
47981
|
+
if (!isObject$1(declared) || declared["Type"] !== SSM_PARAMETER) return void 0;
|
|
47982
|
+
const properties = declared["Properties"] ?? {};
|
|
47983
|
+
if (!isObject$1(properties) || properties["Name"]) return void 0;
|
|
47984
|
+
const recordedProperties = record["properties"];
|
|
47985
|
+
if (isObject$1(recordedProperties) && recordedProperties["Name"]) return void 0;
|
|
47986
|
+
const state = record;
|
|
47987
|
+
const to = physicalId.slice(1);
|
|
47988
|
+
let names;
|
|
47989
|
+
try {
|
|
47990
|
+
names = generatedNames(logicalId, stackName, stackInstanceId, state);
|
|
47991
|
+
} catch {
|
|
47992
|
+
return;
|
|
47993
|
+
}
|
|
47994
|
+
if (!names.includes(to)) return void 0;
|
|
47995
|
+
const observed = state.observedProperties;
|
|
47996
|
+
return {
|
|
47997
|
+
record: {
|
|
47998
|
+
...state,
|
|
47999
|
+
physicalId: to,
|
|
48000
|
+
...isObject$1(observed) && observed["Name"] === physicalId && { observedProperties: {
|
|
48001
|
+
...observed,
|
|
48002
|
+
Name: to
|
|
48003
|
+
} }
|
|
48004
|
+
},
|
|
48005
|
+
heal: {
|
|
48006
|
+
logicalId,
|
|
48007
|
+
from: physicalId,
|
|
48008
|
+
to
|
|
48009
|
+
}
|
|
48010
|
+
};
|
|
48011
|
+
}
|
|
48012
|
+
function healSlashedSsmParameterNames(state, template, stackName) {
|
|
48013
|
+
const resources = state.resources ?? {};
|
|
48014
|
+
const heals = [];
|
|
48015
|
+
if (!isObject$1(resources)) return {
|
|
48016
|
+
resources,
|
|
48017
|
+
heals
|
|
48018
|
+
};
|
|
48019
|
+
let stackInstanceId;
|
|
48020
|
+
try {
|
|
48021
|
+
stackInstanceId = stackInstanceIdOf(state, stackName);
|
|
48022
|
+
} catch {
|
|
48023
|
+
return {
|
|
48024
|
+
resources,
|
|
48025
|
+
heals
|
|
48026
|
+
};
|
|
48027
|
+
}
|
|
48028
|
+
let healedResources;
|
|
48029
|
+
for (const [logicalId, record] of Object.entries(resources)) {
|
|
48030
|
+
const result = healedRecord(logicalId, record, template, stackName, stackInstanceId);
|
|
48031
|
+
if (result === void 0) continue;
|
|
48032
|
+
healedResources ??= { ...resources };
|
|
48033
|
+
healedResources[logicalId] = result.record;
|
|
48034
|
+
heals.push(result.heal);
|
|
48035
|
+
}
|
|
48036
|
+
return {
|
|
48037
|
+
resources: healedResources ?? resources,
|
|
48038
|
+
heals
|
|
48039
|
+
};
|
|
48040
|
+
}
|
|
48041
|
+
function slashedSsmNameHealNote(heal) {
|
|
48042
|
+
return safeMsg`SSM parameter ${heal.logicalId}: its recorded name ${heal.from} is ` + safeMsg`re-spelled ${heal.to} (the same parameter in SSM), so Ref and CDK's ` + "grantRead / grantWrite ARN name it; resources referencing it update to the new spelling (go-to-k/cdkd#6274)";
|
|
48043
|
+
}
|
|
48044
|
+
function slashedSsmNameHealPendingNote(heal, stackName) {
|
|
48045
|
+
return safeMsg`SSM parameter ${heal.logicalId} of nested stack ${stackName}: its recorded name ` + safeMsg`${heal.from} is re-spelled ${heal.to} on the next deploy that updates this nested ` + `stack, not on this one (go-to-k/cdkd#6274)`;
|
|
48046
|
+
}
|
|
48047
|
+
function slashedSsmNameHealAdoptedNote(heal) {
|
|
48048
|
+
return safeMsg`SSM parameter ${heal.logicalId} (adopted back): the deploy re-spells its recorded ` + safeMsg`name ${heal.from} as ${heal.to} and updates resources referencing it; this ` + `preview does not show those updates (go-to-k/cdkd#6274)`;
|
|
48049
|
+
}
|
|
48050
|
+
function readsRef(value, logicalId) {
|
|
48051
|
+
if (Array.isArray(value)) return value.some((item) => readsRef(item, logicalId));
|
|
48052
|
+
if (!isObject$1(value)) return false;
|
|
48053
|
+
if (value["Ref"] === logicalId) return true;
|
|
48054
|
+
const sub = value["Fn::Sub"];
|
|
48055
|
+
const subText = Array.isArray(sub) ? sub[0] : sub;
|
|
48056
|
+
if (typeof subText === "string" && subText.includes(`\${${logicalId}}`)) return true;
|
|
48057
|
+
return Object.values(value).some((child) => readsRef(child, logicalId));
|
|
48058
|
+
}
|
|
48059
|
+
function healsReadByExports(heals, template) {
|
|
48060
|
+
const exported = Object.values(template.Outputs ?? {}).filter((output) => isObject$1(output) && output["Export"] !== void 0);
|
|
48061
|
+
return heals.filter((heal) => exported.some((output) => readsRef(output.Value, heal.logicalId)));
|
|
48062
|
+
}
|
|
48063
|
+
|
|
48064
|
+
// src/deployment/nested-ssm-name-check.ts
|
|
48065
|
+
const NESTED_STACK_TYPE = "AWS::CloudFormation::Stack";
|
|
48066
|
+
function isObject(value) {
|
|
48067
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
48068
|
+
}
|
|
48069
|
+
function holdsMask(value, depth = 0) {
|
|
48070
|
+
if (depth > 64) return true;
|
|
48071
|
+
if (typeof value === "string") return value.includes("***");
|
|
48072
|
+
if (Array.isArray(value)) return value.some((item) => holdsMask(item, depth + 1));
|
|
48073
|
+
if (isObject(value)) return Object.values(value).some((item) => holdsMask(item, depth + 1));
|
|
48074
|
+
return false;
|
|
48075
|
+
}
|
|
48076
|
+
function recordedNestedRows(template, records) {
|
|
48077
|
+
const rows = [];
|
|
48078
|
+
let any = false;
|
|
48079
|
+
const resources = isObject(template.Resources) ? template.Resources : {};
|
|
48080
|
+
for (const [logicalId, resource] of Object.entries(resources)) {
|
|
48081
|
+
if (!isObject(resource) || resource["Type"] !== NESTED_STACK_TYPE) continue;
|
|
48082
|
+
any = true;
|
|
48083
|
+
const record = isObject(records) && Object.hasOwn(records, logicalId) ? records[logicalId] : void 0;
|
|
48084
|
+
if (isObject(record) && record["resourceType"] === NESTED_STACK_TYPE) rows.push(logicalId);
|
|
48085
|
+
}
|
|
48086
|
+
return {
|
|
48087
|
+
rows,
|
|
48088
|
+
any
|
|
47486
48089
|
};
|
|
47487
48090
|
}
|
|
48091
|
+
function hasNestedStackRows(template) {
|
|
48092
|
+
return recordedNestedRows(template, void 0).any;
|
|
48093
|
+
}
|
|
48094
|
+
async function checkLevel(stackName, region, template, records, loader, chain, readRecord) {
|
|
48095
|
+
const forcedRows = /* @__PURE__ */ new Set();
|
|
48096
|
+
const deferredRows = /* @__PURE__ */ new Set();
|
|
48097
|
+
let complete = true;
|
|
48098
|
+
const force = (logicalId) => {
|
|
48099
|
+
const properties = records?.[logicalId]?.properties;
|
|
48100
|
+
(holdsMask(properties) ? deferredRows : forcedRows).add(logicalId);
|
|
48101
|
+
};
|
|
48102
|
+
await Promise.all(recordedNestedRows(template, records).rows.map(async (logicalId) => {
|
|
48103
|
+
const child = loader(logicalId);
|
|
48104
|
+
if (child === void 0) return;
|
|
48105
|
+
if (chain.has(child.identity)) {
|
|
48106
|
+
complete = false;
|
|
48107
|
+
return;
|
|
48108
|
+
}
|
|
48109
|
+
const childStackName = `${stackName}~${logicalId}`;
|
|
48110
|
+
let state;
|
|
48111
|
+
let heals;
|
|
48112
|
+
try {
|
|
48113
|
+
state = await readRecord(childStackName, region);
|
|
48114
|
+
if (!isObject(state)) return;
|
|
48115
|
+
heals = healSlashedSsmParameterNames(state, child.template, childStackName).heals.length;
|
|
48116
|
+
} catch {
|
|
48117
|
+
complete = false;
|
|
48118
|
+
return;
|
|
48119
|
+
}
|
|
48120
|
+
if (heals > 0) {
|
|
48121
|
+
force(logicalId);
|
|
48122
|
+
return;
|
|
48123
|
+
}
|
|
48124
|
+
if (state.nestedSsmNamesChecked === true) return;
|
|
48125
|
+
const below = await checkLevel(childStackName, region, child.template, isObject(state.resources) ? state.resources : void 0, child.childTemplate, new Set(chain).add(child.identity), readRecord);
|
|
48126
|
+
if (below.forcedRows.size > 0) force(logicalId);
|
|
48127
|
+
else if (below.deferredRows.size > 0) deferredRows.add(logicalId);
|
|
48128
|
+
if (!below.complete) complete = false;
|
|
48129
|
+
}));
|
|
48130
|
+
return {
|
|
48131
|
+
forcedRows,
|
|
48132
|
+
deferredRows,
|
|
48133
|
+
complete
|
|
48134
|
+
};
|
|
48135
|
+
}
|
|
48136
|
+
async function checkNestedSsmNames(args) {
|
|
48137
|
+
const { state, template, stackName, region, nestedTemplates, readRecord } = args;
|
|
48138
|
+
if (state.nestedSsmNamesChecked === true || !hasNestedStackRows(template)) return void 0;
|
|
48139
|
+
const loader = childTemplateLoader(nestedTemplates);
|
|
48140
|
+
if (loader === void 0) return {
|
|
48141
|
+
forcedRows: /* @__PURE__ */ new Set(),
|
|
48142
|
+
deferredRows: /* @__PURE__ */ new Set(),
|
|
48143
|
+
complete: false
|
|
48144
|
+
};
|
|
48145
|
+
return checkLevel(stackName, region, template, isObject(state.resources) ? state.resources : void 0, loader, /* @__PURE__ */ new Set(), readRecord);
|
|
48146
|
+
}
|
|
48147
|
+
async function forcedChildrenChecked(args) {
|
|
48148
|
+
const { forcedRows, stackName, region, nestedTemplates, readRecord } = args;
|
|
48149
|
+
if (forcedRows.size === 0) return true;
|
|
48150
|
+
const loader = childTemplateLoader(nestedTemplates);
|
|
48151
|
+
if (loader === void 0) return false;
|
|
48152
|
+
return (await Promise.all([...forcedRows].map(async (logicalId) => {
|
|
48153
|
+
const child = loader(logicalId);
|
|
48154
|
+
if (child === void 0) return false;
|
|
48155
|
+
const childStackName = `${stackName}~${logicalId}`;
|
|
48156
|
+
try {
|
|
48157
|
+
const state = await readRecord(childStackName, region);
|
|
48158
|
+
if (!isObject(state)) return false;
|
|
48159
|
+
if (healSlashedSsmParameterNames(state, child.template, childStackName).heals.length > 0) return false;
|
|
48160
|
+
return !hasNestedStackRows(child.template) || state.nestedSsmNamesChecked === true;
|
|
48161
|
+
} catch {
|
|
48162
|
+
return false;
|
|
48163
|
+
}
|
|
48164
|
+
}))).every(Boolean);
|
|
48165
|
+
}
|
|
48166
|
+
function nestedSsmNameDeferredNote(logicalId) {
|
|
48167
|
+
return safeMsg`Nested stack ${logicalId}: a nested stack record below it holds an SSM parameter ` + "name cdkd generated before go-to-k/cdkd#6272, but the nested stack holding it reads a value cdkd stores masked, so it is not updated for that; the name is re-spelled by the next deploy that changes the nested stack whose Parameters read that value (go-to-k/cdkd#6282)";
|
|
48168
|
+
}
|
|
48169
|
+
function nestedSsmNameRowNote(logicalId) {
|
|
48170
|
+
return safeMsg`Nested stack ${logicalId}: a nested stack record below it holds an SSM parameter ` + "name cdkd generated before go-to-k/cdkd#6272, so this deploy updates the nested stack to re-spell it (go-to-k/cdkd#6282)";
|
|
48171
|
+
}
|
|
47488
48172
|
|
|
47489
48173
|
// src/deployment/export-change-guard.ts
|
|
47490
48174
|
async function findAffectedExports({ template, conditions, changes, currentState, resolve, replaces }) {
|
|
@@ -47592,7 +48276,7 @@ async function scanActiveConsumers(producerStack, producerRegion, ctx, onUnreada
|
|
|
47592
48276
|
}
|
|
47593
48277
|
|
|
47594
48278
|
// src/deployment/deploy-engine/deploy-flow/plan-checks.ts
|
|
47595
|
-
async function refuseUnsafePlan(engine, { stackName, currentState, effectiveTemplate, parameterValues, conditions, changes, diffResolverContext }) {
|
|
48279
|
+
async function refuseUnsafePlan(engine, { stackName, ssmNameHeals = [], currentState, effectiveTemplate, parameterValues, conditions, changes, diffResolverContext }) {
|
|
47596
48280
|
const nestedStackTypeChanges = findNestedStackTypeChanges({
|
|
47597
48281
|
changes,
|
|
47598
48282
|
stateResources: currentState.resources
|
|
@@ -47600,6 +48284,7 @@ async function refuseUnsafePlan(engine, { stackName, currentState, effectiveTemp
|
|
|
47600
48284
|
if (nestedStackTypeChanges.length > 0) throw markNonRetryable(new CdkdError(renderNestedStackTypeChangeRefusal(nestedStackTypeChanges, stackName), "TYPE_CHANGE_NESTED_STACK"));
|
|
47601
48285
|
await refuseInUseExportChanges(engine, {
|
|
47602
48286
|
stackName,
|
|
48287
|
+
ssmNameHeals,
|
|
47603
48288
|
currentState,
|
|
47604
48289
|
effectiveTemplate,
|
|
47605
48290
|
conditions,
|
|
@@ -47627,7 +48312,7 @@ async function refuseUnsafePlan(engine, { stackName, currentState, effectiveTemp
|
|
|
47627
48312
|
forceStatefulRecreation: engine.options.forceStatefulRecreation === true
|
|
47628
48313
|
});
|
|
47629
48314
|
}
|
|
47630
|
-
async function refuseInUseExportChanges(engine, { stackName, currentState, effectiveTemplate, conditions, changes, diffResolverContext }) {
|
|
48315
|
+
async function refuseInUseExportChanges(engine, { stackName, ssmNameHeals, currentState, effectiveTemplate, conditions, changes, diffResolverContext }) {
|
|
47631
48316
|
const affected = await findAffectedExports({
|
|
47632
48317
|
template: effectiveTemplate,
|
|
47633
48318
|
conditions,
|
|
@@ -47667,7 +48352,8 @@ async function refuseInUseExportChanges(engine, { stackName, currentState, effec
|
|
|
47667
48352
|
if (refused.length > 0 || unreadable.length > 0) throw new ExportInUseError(stackName, engine.stackRegion, refused, {
|
|
47668
48353
|
unreadable,
|
|
47669
48354
|
affectedExportNames: affected.map((a) => a.exportName),
|
|
47670
|
-
nested: engine.options.parentStackInfo !== void 0
|
|
48355
|
+
nested: engine.options.parentStackInfo !== void 0,
|
|
48356
|
+
respelledSsmParameters: refused.length > 0 ? healsReadByExports(ssmNameHeals, effectiveTemplate).map((heal) => heal.logicalId) : []
|
|
47671
48357
|
});
|
|
47672
48358
|
}
|
|
47673
48359
|
|
|
@@ -47746,7 +48432,7 @@ function keptWholeReasonText(reason) {
|
|
|
47746
48432
|
}
|
|
47747
48433
|
|
|
47748
48434
|
// src/deployment/deploy-engine/deploy-flow/no-change.ts
|
|
47749
|
-
async function deployWithoutChanges(engine, { stackName, template, currentState, currentEtag, effectiveTemplate, outputsDigestSource, parameterValues, conditions, conditionVerdicts, migrationPending, maskedFingerprintsBackfilled, orphansChanged, terminationProtectionChanged, resolveStackInstanceId, startProvenanceCapture, startTime, clock }) {
|
|
48435
|
+
async function deployWithoutChanges(engine, { stackName, template, currentState, currentEtag, effectiveTemplate, outputsDigestSource, parameterValues, conditions, conditionVerdicts, migrationPending, maskedFingerprintsBackfilled, orphansChanged, terminationProtectionChanged, ssmNamesHealed, nestedSsmNamesMarked, resolveStackInstanceId, startProvenanceCapture, startTime, clock }) {
|
|
47750
48436
|
engine.logger.info("No changes detected. Stack is up to date.");
|
|
47751
48437
|
startProvenanceCapture();
|
|
47752
48438
|
const supersededChanged = engine.options.dryRun ? false : await retryCarriedSupersededResources(engine, currentState, supersededResourcesOf(currentState), currentState.resources);
|
|
@@ -47788,7 +48474,7 @@ async function deployWithoutChanges(engine, { stackName, template, currentState,
|
|
|
47788
48474
|
stackName
|
|
47789
48475
|
});
|
|
47790
48476
|
const outputProvenanceBackfill = !outputsChanged && currentState.outputReferenceProvenance === void 0 && engine.provenanceBaseline?.tokenFree === false && engine.outputReferenceProvenanceFor(persistedOutputs, redactOutputs(engine.maskingDeps(), persistedOutputs)) !== void 0;
|
|
47791
|
-
if (observedRefresh || outputProvenanceBackfill || maskedFingerprintsBackfilled || conditionVerdictsChanged || outputsChanged || exportSetChanged || skippedOutputsChanged || orphansChanged || supersededChanged || terminationProtectionChanged || healedAttributesPending) {
|
|
48477
|
+
if (observedRefresh || outputProvenanceBackfill || maskedFingerprintsBackfilled || conditionVerdictsChanged || outputsChanged || exportSetChanged || skippedOutputsChanged || orphansChanged || supersededChanged || terminationProtectionChanged || ssmNamesHealed || nestedSsmNamesMarked || healedAttributesPending) {
|
|
47792
48478
|
await resolveStackInstanceId();
|
|
47793
48479
|
try {
|
|
47794
48480
|
const refreshedState = {
|
|
@@ -48031,6 +48717,24 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48031
48717
|
const retainedAtFirstDeploy = idArrivesLater && !engine.options.dryRun ? Promise.resolve().then(() => engine.stateBackend.loadRetainedRecord(stackName, engine.stackRegion)) : void 0;
|
|
48032
48718
|
const retainedForWarning = retainedAtFirstDeploy?.then((retained) => retained ?? loadKeptForWarning(keptHistorySources(engine), stackName, engine.stackRegion)).catch(() => null);
|
|
48033
48719
|
if (idArrivesLater && !engine.options.dryRun) engine.stateBackend.prefetchStackInstanceSibling?.(stackName, engine.stackRegion);
|
|
48720
|
+
const ssmNameHeals = [];
|
|
48721
|
+
const healSsmNames = () => {
|
|
48722
|
+
const healed = healSlashedSsmParameterNames(currentState, template, stackName);
|
|
48723
|
+
if (healed.heals.length === 0) return;
|
|
48724
|
+
currentState.resources = healed.resources;
|
|
48725
|
+
for (const heal of healed.heals) engine.logger.info(slashedSsmNameHealNote(heal));
|
|
48726
|
+
ssmNameHeals.push(...healed.heals);
|
|
48727
|
+
};
|
|
48728
|
+
healSsmNames();
|
|
48729
|
+
const nestedSsmCheck = checkNestedSsmNames({
|
|
48730
|
+
state: currentState,
|
|
48731
|
+
template,
|
|
48732
|
+
stackName,
|
|
48733
|
+
region: engine.stackRegion,
|
|
48734
|
+
nestedTemplates: getCurrentNestedStackContext()?.nestedTemplates,
|
|
48735
|
+
readRecord: async (name, region) => (await engine.stateBackend.getState(name, region))?.state
|
|
48736
|
+
});
|
|
48737
|
+
nestedSsmCheck.catch(() => void 0);
|
|
48034
48738
|
engine.rebaseline(currentState.resources ?? {});
|
|
48035
48739
|
engine.runProducerRegionEvidence = () => producerRegionEvidence(engine.rollbackDeps(), currentState);
|
|
48036
48740
|
const firstDeployIdentityRead = idArrivesLater && engine.stateBackend.peekStackInstanceSibling ? engine.options.dryRun ? Promise.resolve(null) : engine.stateBackend.peekStackInstanceSibling(stackName, engine.stackRegion) : void 0;
|
|
@@ -48112,6 +48816,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48112
48816
|
captureStoredNoEchoNamingValues(engine.secretsRun, engine.maskingDeps(), currentState.resources, effectiveTemplate, conditions);
|
|
48113
48817
|
engine.secretsRun.preDeploySecretNamedRecords = secretNamedRecordNeedles(currentState.resources, stateNamingSecrets(engine.secretsRun));
|
|
48114
48818
|
if (Object.keys(orphanPlan.adopted).length > 0) {
|
|
48819
|
+
healSsmNames();
|
|
48115
48820
|
stampReasonlessParameterRefusals(engine.logger, currentState.resources, template);
|
|
48116
48821
|
if (backfillMaskedPropertyFingerprints(currentState.resources, template, backfillNoEchoValues) > 0) maskedFingerprintsBackfilled = true;
|
|
48117
48822
|
}
|
|
@@ -48120,13 +48825,18 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48120
48825
|
currentState,
|
|
48121
48826
|
effectiveTemplate
|
|
48122
48827
|
});
|
|
48828
|
+
const nestedCheck = await nestedSsmCheck;
|
|
48829
|
+
for (const row of nestedCheck?.forcedRows ?? []) engine.logger.info(nestedSsmNameRowNote(row));
|
|
48830
|
+
for (const row of nestedCheck?.deferredRows ?? []) engine.logger.info(nestedSsmNameDeferredNote(row));
|
|
48831
|
+
const marksNestedCheck = nestedCheck?.complete === true && !Object.values(orphanPlan.adopted).some((r) => r.resourceType === "AWS::CloudFormation::Stack");
|
|
48123
48832
|
const { diffResolverContext, maskedInputs, changes } = await calculateDeployDiff(engine, {
|
|
48124
48833
|
stackName,
|
|
48125
48834
|
currentState,
|
|
48126
48835
|
effectiveTemplate,
|
|
48127
48836
|
parameterValues,
|
|
48128
48837
|
conditions,
|
|
48129
|
-
clock
|
|
48838
|
+
clock,
|
|
48839
|
+
forcedNestedChildRuns: nestedCheck?.forcedRows
|
|
48130
48840
|
});
|
|
48131
48841
|
clock.lap("diff");
|
|
48132
48842
|
createOnlyPrefetch.cancel();
|
|
@@ -48138,6 +48848,7 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48138
48848
|
}
|
|
48139
48849
|
await refuseUnsafePlan(engine, {
|
|
48140
48850
|
stackName,
|
|
48851
|
+
ssmNameHeals,
|
|
48141
48852
|
currentState,
|
|
48142
48853
|
effectiveTemplate,
|
|
48143
48854
|
parameterValues,
|
|
@@ -48174,25 +48885,30 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48174
48885
|
};
|
|
48175
48886
|
const hasChanges = engine.diffCalculator.hasChanges(changes);
|
|
48176
48887
|
clock.lap("post-diff checks");
|
|
48177
|
-
if (!hasChanges)
|
|
48178
|
-
|
|
48179
|
-
|
|
48180
|
-
|
|
48181
|
-
|
|
48182
|
-
|
|
48183
|
-
|
|
48184
|
-
|
|
48185
|
-
|
|
48186
|
-
|
|
48187
|
-
|
|
48188
|
-
|
|
48189
|
-
|
|
48190
|
-
|
|
48191
|
-
|
|
48192
|
-
|
|
48193
|
-
|
|
48194
|
-
|
|
48195
|
-
|
|
48888
|
+
if (!hasChanges) {
|
|
48889
|
+
if (marksNestedCheck) currentState.nestedSsmNamesChecked = true;
|
|
48890
|
+
return await deployWithoutChanges(engine, {
|
|
48891
|
+
stackName,
|
|
48892
|
+
template,
|
|
48893
|
+
currentState,
|
|
48894
|
+
currentEtag,
|
|
48895
|
+
effectiveTemplate,
|
|
48896
|
+
outputsDigestSource,
|
|
48897
|
+
parameterValues,
|
|
48898
|
+
conditions,
|
|
48899
|
+
conditionVerdicts,
|
|
48900
|
+
migrationPending,
|
|
48901
|
+
maskedFingerprintsBackfilled,
|
|
48902
|
+
orphansChanged,
|
|
48903
|
+
terminationProtectionChanged,
|
|
48904
|
+
ssmNamesHealed: ssmNameHeals.length > 0,
|
|
48905
|
+
nestedSsmNamesMarked: marksNestedCheck,
|
|
48906
|
+
resolveStackInstanceId,
|
|
48907
|
+
startProvenanceCapture,
|
|
48908
|
+
startTime,
|
|
48909
|
+
clock
|
|
48910
|
+
});
|
|
48911
|
+
}
|
|
48196
48912
|
const createChanges = engine.diffCalculator.filterByType(changes, "CREATE");
|
|
48197
48913
|
const updateChanges = engine.diffCalculator.filterByType(changes, "UPDATE");
|
|
48198
48914
|
const deleteChanges = engine.diffCalculator.filterByType(changes, "DELETE");
|
|
@@ -48238,6 +48954,13 @@ async function doDeployWithPrefetch(engine, stackName, template, createOnlyPrefe
|
|
|
48238
48954
|
} catch {}
|
|
48239
48955
|
await engine.observedCapture.drainObservedCaptures(newState.resources);
|
|
48240
48956
|
clock.lap("observed-state drain");
|
|
48957
|
+
if (marksNestedCheck && await forcedChildrenChecked({
|
|
48958
|
+
forcedRows: nestedCheck?.forcedRows ?? /* @__PURE__ */ new Set(),
|
|
48959
|
+
stackName,
|
|
48960
|
+
region: engine.stackRegion,
|
|
48961
|
+
nestedTemplates: getCurrentNestedStackContext()?.nestedTemplates,
|
|
48962
|
+
readRecord: async (name, region) => (await engine.stateBackend.getState(name, region))?.state
|
|
48963
|
+
})) newState.nestedSsmNamesChecked = true;
|
|
48241
48964
|
const [newEtag] = await Promise.all([engine.stateBackend.saveState(stackName, engine.stackRegion, engine.withParentInfo(conditionVerdicts ? {
|
|
48242
48965
|
...newState,
|
|
48243
48966
|
conditionVerdicts
|
|
@@ -48523,5 +49246,5 @@ var DeployEngine = class {
|
|
|
48523
49246
|
}
|
|
48524
49247
|
};
|
|
48525
49248
|
|
|
48526
|
-
export { vectorIndexesForCreate as $, sendableAssumeRoleCommand as $a, flattenAssetPlaceholders as $c, isFinalSnapshotError as $i, equalModuloMarkedMask as $n, isWarmThroughputDecrease as $o, noEchoParameterValueSeed as $r, malformedExportSourceWarning as $s, dropSettledNestedJournals as $t, PROTECTION_PROPERTY_BY_TYPE as A, setResolvedResourceTimeouts as Aa, withoutSdkUnwiredProperties as Ac, withAttemptedItemsMasked as Ai, decodeListingKey as Al, findRefactorHints as An, referenceTokensIn as Ao, nameGenerationCarriedFrom as Ar, refuseMalformedResourceEntriesForDeploy as As, keptForRetainedRecord as At, reverseMapStreamPolicy as B, isAlwaysLiveAttribute as Ba, rebuildClientForBucketRegion as Bc, secretNamedRecordNeedles as Bi, describeFileReadFailure as Bl, looselyEqual as Bn, containsIntrinsic as Bo, namesAnyDeclaredParameter as Br, refuseMalformedResourcePropertiesForDestroy as Bs, readsOnlyNoEchoParameters as Bt, refusePendingMovesOut as C, localCustomResourceRuntimeActive as Ca, hasReadableOutputs as Cc, green as Ci, warnWholeAssemblyAsSource as Cl, noEchoMacBinding as Cn, promoteInPlaceAttributeDependents as Co, REDACTED_DELETE_ADDRESS_SKIP_REASON as Cr, isReadableResourceEntry as Cs, maskedLogger as Ct, diffSecurity as D, CloudControlProvider as Da, findSdkUnwiredProperties as Dc, noEchoComparisonForTemplate as Di, ssmResolvedValueType as Dl, constructPathOf as Dn, recordedProvenanceOf as Do, segmentCleanupOptions as Dr, malformedScrubResourceEntriesRefusalMessage as Ds, S3_AUTO_DELETE_OBJECTS_TAG as Dt, serviceTokenBlockingReason as E, waitForLambdaFunctionActive as Ea, findHandledUnwrittenCreateOnly as Ec, noEchoAttributeNamesOf as Ei, isListParameterType as El, noEchoValueMacsOf as En, recordedOutputReferenceRegions as Eo, redactedDeleteAddressSkip as Er, malformedResourceEntriesWarning as Es, ECR_AUTO_DELETE_IMAGES_TAG as Et, STREAM_POLICY_KEY as F, deleteSkipReason as Fa, S3StateBackend as Fc, namingSecretsWithRecordedNoEcho as Fi, hasPlainPrototype as Fl, changedReferenceInDiff as Fn, carriesDynamicReference as Fo, retiredNameGenerationsLeaving as Fr, repairMalformedResourceEntriesForReadOnly as Fs, refactorMarkerRefusalMessage as Ft, streamTagsMatchDeclared as G, producerLookupOver as Ga, isAccessDenied$1 as Gc, maskedSecretSegment as Gi, clearBucketRegionCache as Gl, referencedLogicalIds as Gn, isPlainReferenceTo as Go, exportAliasCollisionScrubWarning as Gr, UNREADABLE_ORPHANS_CONTAINER_ROW as Gs, isAccessDeniedError as Gt, streamDeclaresTags as H, stackIdTailOf as Ha, CrossPrefixScanCache as Hc, storedSecretNameNeedles as Hi, namesTheSameDirectory as Hl, parseMappingFile as Hn, replacementSidesForLog as Ho, resourcesNamingDeclaredParameter as Hr, refuseMalformedResourcePropertiesForExport as Hs, markRefusedBeforeApplying as Ht, STREAM_TAGS_KEY as I, withIndeterminateGuard as Ia, splitImportedOps as Ic, orphanRecordsPrintingBag as Ii, nullPrototypeRecord as Il, changedReferencePath as In, keepsSecretReferenceToken as Io, withNameGenerationReached as Ir, unreadableResourceEntries as Is, refuseRefactorMarker as It, planTimeToLive as J, assertFlagRoleArn as Ja, withStackInstanceIdWithheld as Jc, ATOMIC_FINAL_SNAPSHOT_TYPES as Ji, DELETED_RESOURCE_REMEDY as Jn, isStatefulRecreateTargetForReplace as Jo, secretSafeKeyDisplay as Jr, malformedOrphansWarning as Js, pendingRequestCount as Jt, isTtlAlreadyDisabled as K, refuseUnreadableCdkCrossAccountRefs as Ka, isNotImplemented as Kc, secretSegmentsOfState as Ki, resolveBucketRegion as Kl, replayFailedOperations as Kn, shownType as Ko, secretBearing as Kr, hasReadableOrphans as Ks, lookupEachName as Kt, declaredStreamPolicyMember as L, isWaitAbandonedError as La, isKnownTokenFreeState as Lc, secretNamePrintingBag as Li, ownValue as Ll, changedReferenceReason as Ln, withSharedDrainBudget as Lo, getCurrentProducerRegions as Lr, malformedDriftResourcePropertiesWarning as Ls, sameMove as Lt, perType as M, UNSPECIFIED_SKIP_REASON as Ma, NO_CC_HANDLERS_REASON as Mc, completedReplayEntries as Mi, synthesizedStacks as Ml, movedToHint as Mn, isImpossibleEmptyStoredAttribute as Mo, nameScopeOf as Mr, refuseMalformedResourceEntriesForImport as Ms, readRefactorMarker as Mt, readProtection as N, deleteIndeterminateGuards as Na, hasNoCloudControlHandlers as Nc, journaledOrphanPrintingBag as Ni, defineOwnKey as Nl, rollbackOrphanIds as Nn, carriesFetchableDynamicReference as No, retiredAfterRollback as Nr, refuseMalformedResourceEntriesForImportSave as Ns, readRefactorMarkerOnce as Nt, recordedProtectionEvidence as O, waitForGoneAfterDelete as Oa, unwrittenCreateOnlyReplacement as Oc, noEchoExactEchoLeavesOf as Oi, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ol, findDestructiveChanges as On, recordedReferenceRegions as Oo, removeProtectionTypeList as Or, refuseMalformedResourceAttributesForOrphan as Os, hasCdkAutoDeleteTag as Ot, DynamoDBGlobalTableProvider as P, deleteLeftInPlace as Pa, TemplateParser as Pc, maskEventTextWithBoundBags as Pi, hasOwnKey as Pl, withMovedTo as Pn, isNamelessDynamicReferenceError as Po, retiredNameGenerationsAfter as Pr, refuseMalformedResourceEntriesForOrphan as Ps, refactorMarkerMovesOf as Pt, readbackVectorIndexes as Q, parseIamRoleArn as Qa, createAssetRedirectResolver as Qc, effectiveDeletionPolicy as Qi, calculateResourceDrift as Qn, coerceWarmThroughput as Qo, isWholeDynamicReferenceValue as Qr, malformedExportNamesWarning as Qs, displacedPhysicalIdShown as Qt, declaredStreamTagsMember as R, IntrinsicFunctionResolver as Ra, hasReasonlessBaselineRefusal as Rc, secretNamePrintingBags as Ri, absoluteAssemblyPathEscape as Rl, differingRemedy as Rn, namesRecreatedParent as Ro, inheritProducerRegions as Rr, malformedResourcePropertiesWarning as Rs, updateRefactorMarker as Rt, pendingMovesRefusalMessage as S, localCustomResourceCommand as Sa, displayLogicalId as Sc, gray as Si, warnAbsoluteAssetPath as Sl, createNoEchoValueMacs as Sn, extractGetAttRefs as So, findNestedStackTypeChanges as Sr, unreadableOrphanRecords as Ss, deleteTableWithIndexBusyRetry as St, findServiceTokenRefusals as T, withCustomResourceStack as Ta, findActionableSdkUnwired as Tc, yellow as Ti, SSM_PARAMETER_VALUE_PREFIX as Tl, noEchoMacVerdict as Tn, outputReferenceProvenanceOf as To, redactedDeleteAddressFields as Tr, malformedLocalResourcesWarning as Ts, waitForIndexesSettled as Tt, streamMemberRefusals as U, isSettledInstanceState as Ua, applyCrossPrefixScan as Uc, extractDeploymentEventError as Ui, renderAssemblyPathEscape as Ul, propertiesChangedReason as Un, siblingsOf as Uo, WITHHELD_NAME_DISPLAY as Ur, refuseMalformedResourcePropertiesForOrphan as Us, formatResourceLine as Ut, streamDeclaresPolicy as V, poisonRenderedSpellingsCollidingIn as Va, CrossPrefixReadError as Vc, stateSecretNameNeedles as Vi, displayAssemblyPath as Vl, mappingPairs as Vn, markNewValueKnownAfterDeploy as Vo, reachableDivergentParameters as Vr, refuseMalformedResourcePropertiesForDrift as Vs, getPriorAttempts as Vt, streamPolicyMatchesDeclared as W, resolveDynamicReferences as Wa, crossPrefixDeniedWarning as Wc, APPSYNC_APIKEY_ARN_RESOURCE_PATH as Wi, resolveAssemblyPath as Wl, proposeRenames as Wn, findReplacedReadersOfRecreateTargets as Wo, displayTextOrWithheld as Wr, repairMalformedResourcePropertiesForReadOnly as Ws, chunks as Wt, sendTtlWaitingOutRateLimit as X, explicitRoleArnOrThrow as Xa, stringifyValue as Xc, ccRoutedFinalSnapshotError as Xi, settleUnsettledPrevious as Xn, renderStatefulReason as Xo, exportNameNoEchoParameters as Xr, refuseMalformedOrphansForDestroy as Xs, NESTED_PENDING_PARENT_REASON as Xt, readTtlSpec as Y, assertSendableRoleArn as Ya, isSensitiveAttributeName as Yc, PRE_DELETE_SNAPSHOT_TYPES as Yi, recordAfterRollbackUpdate as Yn, isStatefulRecreateTargetSync as Yo, carriedExportAliasExposure as Yr, refuseMalformedOrphans as Ys, resolvePendingCloudControlRequests as Yt, planVectorIndexUpdates as Z, isIamRoleArn as Za, buildAssetRedirectMap as Zc, ccRoutedInstanceTakesNoSnapshot as Zi, withUnprovenUnsettled as Zn, WARM_THROUGHPUT_MEMBERS as Zo, exportNameSecretExposure as Zr, repairMalformedOrphansForReadOnly as Zs, displacedOpClause as Zt, listNestedTemplateRows as _, withPrintingSecrets as _a, JSON_LISTING_HOLE_VALUE as _c, supersededHolderOf as _i, AssetManifestLoader as _l, makeSiblingClaimReader as _n, cfnRefValueFromPhysicalId as _o, replacementNeverSwapped as _r, refuseMalformedOrphanRecords as _s, resolveDynamoDbDeleteBudgetClock as _t, scanActiveConsumers as a, ProviderRegistry as aa, refuseMalformedOutputsForDestroy as ac, DEFAULT_RESOURCE_WARN_AFTER_MS as ai, rewriteTemplateAssetReferences as al, withNestedRevertRun as an, classifyReplaySecretRegion as ao, ledgerForStack as ar, movedMaskedProperties as as, planContributorInsightsOp as at, hasPendingMovesOut as b, customResourcesFailedWithoutApp as ba, STATE_RESOURCES_MALFORMED as bc, bold as bi, parseAssetManifestBody as bl, DeploymentEventsStore as bn, refStateLookupFromResource as bo, resolveReplacementOldType as br, repairMalformedOrphanRecordsForReadOnly as bs, INDEX_SETTLE_POLL_INTERVAL_MS as bt, inheritedProvenanceForChildDiff as c, wouldReturnToSdkProvider as ca, refuseDivergentRecordRegionForDestroy as cc, destroyStackRecordsView as ci, buildDenyExternalAccessPolicy as cl, withNestedStackContext as cn, s3BucketArn as co, acquireIdempotencyToken as cr, passedParameterClassesOf as cs, reverseMapIndexContributorInsights as ct, conditionInputsFrom as d, customResourceResponseExpirationWarning as da, malformedStateRefusalMessage as dc, replacedDeleteFailureVerdict as di, getBootstrapMarkerKey as dl, dropFailedHint as dn, s3BucketRegionalDomainName as do, demoteSupersededOrphans as dr, deployRefusesOrphanRowsReason as ds, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as dt, refusesFinalSnapshot as ea, malformedLocalOutputsWarning as ec, collectDeclaredOutputNames as ei, isDefaultBootstrapBucketName as el, getNestedRevertRun as en, AWS_CREDENTIAL_ENV_KEYS as eo, equalModuloMask as er, toCfnInteger as es, vectorIndexesSettled as et, parentSuppliedValues as f, responsePresignClient as fa, refuseMalformedResourcesForDeploy as fc, deleteSupersededEntry as fi, parseBootstrapMarker as fl, isHandledOrphan as fn, s3BucketWebsiteUrl as fo, isJournaledOrphan as fr, isReadableOrphanRecord as fs, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as ft, isAbsoluteAssetPath as g, getCurrentResourceSecrets as ga, repairMalformedResourcesForReadOnly as gc, supersededHeldByOtherTypeWarning as gi, BOOTSTRAP_MARKER_PREFIX as gl, makeForeignHolderScan as gn, AWS_NO_VALUE as go, recordUnderIdIsNotOwn as gr, previewableOrphanRecords as gs, deleteBudgetKey as gt, findNestedTemplateTreeDefect as h, isCustomResourceType as ha, refuseMalformedState as hc, supersededAfterRollback as hi, validateContainerRepoName as hl, sameJournaledOrphans as hn, parameterTypeMayLoseSecretIdentity as ho, recheckFailedPlan as hr, malformedOrphanRowsKeptWarning as hs, compensateRemovedDeletionProtection as ht, mergeNoChangeOutputs as i, CC_BROKEN_REASON as ia, refuseMalformedOutputs as ic, DEFAULT_RESOURCE_TIMEOUT_MS as ii, redirectFileAsset as il, revertedNestedRowIds as in, classifyRecordedSecretRegion as io, earliestDefined as ir, maskedPropertyFingerprintsOf as is, indexDeclaresContributorInsights as it, isProtectionValueActive as j, RollbackInlinePolicyWriters as ja, withoutUnwrittenSdkUnwiredProperties as jc, createReadOnlyAttributeHealerFactory as ji, rememberSynthesizedStacks as jl, hintSidesOf as jn, getAccountInfo as jo, nameGenerationHighWaterOf as jr, refuseMalformedResourceEntriesForDestroy as js, recordRetainedForReadoption as jt, recordedProtectionNote as k, resolvedResourceTimeoutMs as ka, withoutAcceptedSdkUnwiredProperties as kc, noEchoParameterNamesOf as ki, purgeNoncurrentKeyVersions as kl, formatDestructiveChange as kn, referenceProvenanceOf as ko, orphanNeedsIdentity as kr, refuseMalformedResourceEntries as ks, isTruthyCfnBoolean as kt, makeCanonicalizePropertiesFn as l, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as la, malformedRenderedContainersWarning as lc, getStackRecords as li, assertAssetBucketRegion as ll, deleteJournaledOrphans as ln, s3BucketDomainName as lo, planRollback as lr, declaresNoEcho as ls, reverseMapTableContributorInsights as lt, childTemplateLoader as m, readsNoEchoDeleteValues as ma, refuseMalformedResourcesForExport as mc, isSupersededResourceRecord as mi, validateAssetBucketName as ml, loadJournaledOrphans as mn, isUnboundTemplateParameter as mo, planFailedOps as mr, malformedOrphanRecordsWarning as ms, beginDeleteWait as mt, isSecretBearingReferenceString as n, createPreDeleteFinalSnapshot as na, malformedOutputsWarning as nc, isExportAliasCollision as ni, loadPublishableAssetManifest as nl, recordDisplacedSkips as nn, callerEnvCredentials as no, updatePartialMessage as nr, tryGetTopLevelWriteOnlyProperties as ns, CONTRIBUTOR_INSIGHTS_KEY as nt, inRunStackKey as o, ccBrokenReason as oa, repairMalformedOutputsForReadOnly as oc, maskingRetryLogger as oi, AssetModeResolver as ol, collectNestedChildUnaddressed as on, producerRegionsFromState as oo, reserveStackCreateToken as or, parameterInputsFor as os, planIndexContributorInsightsOps as ot, readRecordedConditionVerdicts as p, TemplateNoEchoReresolver as pa, refuseMalformedResourcesForDestroy as pc, holdsSupersededResources as pi, readBootstrapMarkerBody as pl, journaledOrphanLines as pn, coerceParameterTypedValue as po, isReplacementOrphan as pr, malformedOrphanRecordsRefusalMessage as ps, DYNAMODB_DELETE_POLL_COST_MS as pt, isTtlRateLimited as q, applyRoleArnIfSet as qa, stackInstanceIdOf as qc, withSecretPhysicalIdsMaskedInState as qi, replayRollback as qn, MULTI_REGION_RECREATE_BLOCKED_TYPES as qo, secretBearingStateKeyWarning as qr, malformedOrphansRefusalMessage as qs, withApiLimit as qt, keptWholeReasonText as r, buildFinalSnapshotIdentifier as ra, refuseMalformedNestedChildOutputs as rc, bindingSkippedOutputs as ri, redirectDockerAsset as rl, revertNestedChildFromJournal as rn, envCredentialsAreAssumedRole as ro, updatePartialReason as rr, inputFingerprinter as rs, contributorInsightsRefusals as rt, crossStackOutputProvenanceSource as s, isCustomResource as sa, STATE_REGION_DIVERGED as sc, awaitInFlightSibling as si, ensureAssetStorage as sl, getCurrentNestedStackContext as sn, regionLessSecretName as so, withCreateTokenLedger as sr, maskedInputProof as ss, readContributorInsightsSpec as st, DeployEngine as t, unsupportedFinalSnapshotError as ta, malformedOutputsRefusalMessage as tc, collectPublishedOutputNames as ti, isDefaultBootstrapRepoName as tl, nestedChildStackName as tn, applyCallerIdentityCredentials as to, undeclaredEmptyObservedKeys as tr, toFiniteNumber as ts, vectorIndexesShapeDetail as tt, conditionFingerprint as u, applyCustomResourceResponseExpiration as ua, malformedResourcesWarning as uc, withStackRecords as ui, isCrossRegionRedirect as ul, dropFailedCommands as un, s3BucketDualStackDomainName as uo, seedsDeleteFirstGuard as ur, maskedPropertyFingerprint as us, stripIndexContributorInsights as ut, renderNestedTemplateTreeDefect as v, NO_LOCAL_CUSTOM_RESOURCES_FLAG as va, accountArgs as vc, supersededResourcesOf as vi, getDockerImageBySourceHash as vl, planOrphanAdoption as vn, isStalePlaceholderArnAttribute as vo, IMPLICIT_DELETE_DEPENDENCIES as vr, refuseMalformedOrphanRecordsForDestroy as vs, resolveDynamoDbDeleteBudgetMs as vt, deferredServiceTokenWarning as w, setLocalCustomResourceRuntimeEnabled as wa, hasReadableResources as wc, red as wi, missingStateBucketRemedy as wl, noEchoMacParametersOf as wn, keepHeldTokenProvenance as wo, isRedactedRecordedValue as wr, malformedLocalResourceEntriesWarning as ws, relayedIndexBusyDelete as wt, pendingMovesOutOf as x, customResourcesRunWithoutApp as xa, UNREADABLE_RESOURCES_MAP_ROW as xc, cyan as xi, resolveFileAssetSourcePath as xl, NOECHO_MAC_KEY_ALIAS as xn, parseWebACLArn as xo, withPreviousPolicies as xr, unpreviewableOrphanRecords as xs, TABLE_INDEX_NOUN as xt, templateIdentity as y, customResourceStackName as ya, withheldAccountClause as yc, withoutSuperseded as yi, isCfnTemplateAssetPath as yl, DeploymentEventsReader as yn, lacksRecordedTableArn as yo, computeImplicitDeleteEdges as yr, refuseMalformedOrphansForOrphan as ys, DELETE_INDEX_WAIT_PROCEED_NOTE as yt, planStreamMemberOps as z, isSelectOutOfBounds as za, hasUnverifiableParameterRefusal as zc, secretNamedAttributeNamesOf as zi, assemblyPathEscape as zl, isPairableType as zn, INTRINSIC_KEYS as zo, computeParameterTaint as zr, refuseMalformedResourceProperties as zs, macWriteOnlyKeys as zt };
|
|
48527
|
-
//# sourceMappingURL=deploy-engine-
|
|
49249
|
+
export { isTtlAlreadyDisabled as $, refuseUnreadableCdkCrossAccountRefs as $a, isAccessDenied$1 as $c, ccRoutedFinalSnapshotError as $i, resolveAssemblyPath as $l, replayFailedOperations as $n, isPlainReferenceTo as $o, secretBearing as $r, UNREADABLE_ORPHANS_CONTAINER_ROW as $s, lookupEachName as $t, refusePendingMovesOut as A, CloudControlProvider as Aa, displayLogicalId as Ac, green as Ai, resolveFileAssetSourcePath as Al, noEchoMacBinding as An, extractGetAttRefs as Ao, REDACTED_DELETE_ADDRESS_SKIP_REASON as Ar, unreadableOrphanRecords as As, maskedLogger as At, readProtection as B, isWaitAbandonedError as Ba, NO_CC_HANDLERS_REASON as Bc, journaledOrphanPrintingBag as Bi, rememberSynthesizedStacks as Bl, rollbackOrphanIds as Bn, isImpossibleEmptyStoredAttribute as Bo, retiredAfterRollback as Br, refuseMalformedResourceEntriesForImport as Bs, readRefactorMarkerOnce as Bt, isAbsoluteAssetPath as C, customResourcesFailedWithoutApp as Ca, refuseMalformedState as Cc, supersededHeldByOtherTypeWarning as Ci, validateAssetBucketName as Cl, makeForeignHolderScan as Cn, AWS_NO_VALUE as Co, recordUnderIdIsNotOwn as Cr, malformedOrphanRowsKeptWarning as Cs, deleteBudgetKey as Ct, hasPendingMovesOut as D, setLocalCustomResourceRuntimeEnabled as Da, withheldAccountClause as Dc, bold as Di, getDockerImageBySourceHash as Dl, DeploymentEventsStore as Dn, lacksRecordedRefArn as Do, resolveReplacementOldType as Dr, refuseMalformedOrphansForOrphan as Ds, INDEX_SETTLE_POLL_INTERVAL_MS as Dt, templateIdentity as E, localCustomResourceRuntimeActive as Ea, accountArgs as Ec, withoutSuperseded as Ei, AssetManifestLoader as El, DeploymentEventsReader as En, refStateLookupFromResource as Eo, computeImplicitDeleteEdges as Er, refuseMalformedOrphanRecordsForDestroy as Es, DELETE_INDEX_WAIT_PROCEED_NOTE as Et, recordedProtectionEvidence as F, UNSPECIFIED_SKIP_REASON as Fa, findSdkUnwiredProperties as Fc, noEchoExactEchoLeavesOf as Fi, isListParameterType as Fl, findDestructiveChanges as Fn, recordedProvenanceOf as Fo, removeProtectionTypeList as Fr, malformedScrubResourceEntriesRefusalMessage as Fs, hasCdkAutoDeleteTag as Ft, declaredStreamTagsMember as G, stackIdTailOf as Ga, isKnownTokenFreeState as Gc, secretNamePrintingBags as Gi, nullPrototypeRecord as Gl, differingRemedy as Gn, withSharedDrainBudget as Go, inheritProducerRegions as Gr, malformedDriftResourcePropertiesWarning as Gs, updateRefactorMarker as Gt, STREAM_POLICY_KEY as H, isSelectOutOfBounds as Ha, TemplateParser as Hc, namingSecretsWithRecordedNoEcho as Hi, defineOwnKey as Hl, changedReferenceInDiff as Hn, isNamelessDynamicReferenceError as Ho, retiredNameGenerationsLeaving as Hr, refuseMalformedResourceEntriesForOrphan as Hs, refactorMarkerRefusalMessage as Ht, recordedProtectionNote as I, deleteIndeterminateGuards as Ia, unwrittenCreateOnlyReplacement as Ic, noEchoParameterNamesOf as Ii, ssmResolvedValueType as Il, formatDestructiveChange as In, recordedReferenceRegions as Io, orphanNeedsIdentity as Ir, refuseMalformedResourceAttributesForOrphan as Is, isTruthyCfnBoolean as It, streamDeclaresPolicy as J, maskedSecretSegment as Ja, rebuildClientForBucketRegion as Jc, stateSecretNameNeedles as Ji, assemblyPathEscape as Jl, mappingPairs as Jn, containsIntrinsic as Jo, reachableDivergentParameters as Jr, refuseMalformedResourcePropertiesForDestroy as Js, getPriorAttempts as Jt, planStreamMemberOps as K, isSettledInstanceState as Ka, hasReasonlessBaselineRefusal as Kc, secretNamedAttributeNamesOf as Ki, ownValue as Kl, isPairableType as Kn, namesRecreatedParent as Ko, computeParameterTaint as Kr, malformedResourcePropertiesWarning as Ks, macWriteOnlyKeys as Kt, PROTECTION_PROPERTY_BY_TYPE as L, deleteLeftInPlace as La, withoutAcceptedSdkUnwiredProperties as Lc, withAttemptedItemsMasked as Li, CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION as Ll, findRefactorHints as Ln, referenceProvenanceOf as Lo, nameGenerationCarriedFrom as Lr, refuseMalformedResourceEntries as Ls, keptForRetainedRecord as Lt, findServiceTokenRefusals as M, resolvedResourceTimeoutMs as Ma, hasReadableResources as Mc, yellow as Mi, warnWholeAssemblyAsSource as Ml, noEchoMacVerdict as Mn, keepHeldTokenProvenance as Mo, redactedDeleteAddressFields as Mr, malformedLocalResourceEntriesWarning as Ms, waitForIndexesSettled as Mt, serviceTokenBlockingReason as N, setResolvedResourceTimeouts as Na, findActionableSdkUnwired as Nc, noEchoAttributeNamesOf as Ni, missingStateBucketRemedy as Nl, noEchoValueMacsOf as Nn, outputReferenceProvenanceOf as No, redactedDeleteAddressSkip as Nr, malformedLocalResourcesWarning as Ns, ECR_AUTO_DELETE_IMAGES_TAG as Nt, pendingMovesOutOf as O, withCustomResourceStack as Oa, STATE_RESOURCES_MALFORMED as Oc, cyan as Oi, isCfnTemplateAssetPath as Ol, NOECHO_MAC_KEY_ALIAS as On, lacksRecordedTableArn as Oo, withPreviousPolicies as Or, repairMalformedOrphanRecordsForReadOnly as Os, TABLE_INDEX_NOUN as Ot, diffSecurity as P, RollbackInlinePolicyWriters as Pa, findHandledUnwrittenCreateOnly as Pc, noEchoComparisonForTemplate as Pi, SSM_PARAMETER_VALUE_PREFIX as Pl, constructPathOf as Pn, recordedOutputReferenceRegions as Po, segmentCleanupOptions as Pr, malformedResourceEntriesWarning as Ps, S3_AUTO_DELETE_OBJECTS_TAG as Pt, streamTagsMatchDeclared as Q, producerLookupOver as Qa, crossPrefixDeniedWarning as Qc, PRE_DELETE_SNAPSHOT_TYPES as Qi, renderAssemblyPathEscape as Ql, referencedLogicalIds as Qn, findReplacedReadersOfRecreateTargets as Qo, exportAliasCollisionScrubWarning as Qr, repairMalformedResourcePropertiesForReadOnly as Qs, isAccessDeniedError as Qt, isProtectionValueActive as R, deleteSkipReason as Ra, withoutSdkUnwiredProperties as Rc, createReadOnlyAttributeHealerFactory as Ri, purgeNoncurrentKeyVersions as Rl, hintSidesOf as Rn, referenceTokensIn as Ro, nameGenerationHighWaterOf as Rr, refuseMalformedResourceEntriesForDeploy as Rs, recordRetainedForReadoption as Rt, findNestedTemplateTreeDefect as S, customResourceStackName as Sa, refuseMalformedResourcesForExport as Sc, supersededAfterRollback as Si, readBootstrapMarkerBody as Sl, sameJournaledOrphans as Sn, parameterTypeMayLoseSecretIdentity as So, recheckFailedPlan as Sr, malformedOrphanRecordsWarning as Ss, compensateRemovedDeletionProtection as St, renderNestedTemplateTreeDefect as T, localCustomResourceCommand as Ta, JSON_LISTING_HOLE_VALUE as Tc, supersededResourcesOf as Ti, BOOTSTRAP_MARKER_PREFIX as Tl, planOrphanAdoption as Tn, isStalePlaceholderArnAttribute as To, IMPLICIT_DELETE_DEPENDENCIES as Tr, refuseMalformedOrphanRecords as Ts, resolveDynamoDbDeleteBudgetMs as Tt, STREAM_TAGS_KEY as U, isAlwaysLiveAttribute as Ua, S3StateBackend as Uc, orphanRecordsPrintingBag as Ui, hasOwnKey as Ul, changedReferencePath as Un, carriesDynamicReference as Uo, withNameGenerationReached as Ur, repairMalformedResourceEntriesForReadOnly as Us, refuseRefactorMarker as Ut, DynamoDBGlobalTableProvider as V, IntrinsicFunctionResolver as Va, hasNoCloudControlHandlers as Vc, maskEventTextWithBoundBags as Vi, synthesizedStacks as Vl, withMovedTo as Vn, carriesFetchableDynamicReference as Vo, retiredNameGenerationsAfter as Vr, refuseMalformedResourceEntriesForImportSave as Vs, refactorMarkerMovesOf as Vt, declaredStreamPolicyMember as W, poisonRenderedSpellingsCollidingIn as Wa, splitImportedOps as Wc, secretNamePrintingBag as Wi, hasPlainPrototype as Wl, changedReferenceReason as Wn, keepsSecretReferenceToken as Wo, getCurrentProducerRegions as Wr, unreadableResourceEntries as Ws, sameMove as Wt, streamMemberRefusals as X, withSecretPhysicalIdsMaskedInState as Xa, CrossPrefixScanCache as Xc, extractDeploymentEventError as Xi, displayAssemblyPath as Xl, propertiesChangedReason as Xn, replacementSidesForLog as Xo, WITHHELD_NAME_DISPLAY as Xr, refuseMalformedResourcePropertiesForExport as Xs, formatResourceLine as Xt, streamDeclaresTags as Y, secretSegmentsOfState as Ya, CrossPrefixReadError as Yc, storedSecretNameNeedles as Yi, describeFileReadFailure as Yl, parseMappingFile as Yn, markNewValueKnownAfterDeploy as Yo, resourcesNamingDeclaredParameter as Yr, refuseMalformedResourcePropertiesForDrift as Ys, markRefusedBeforeApplying as Yt, streamPolicyMatchesDeclared as Z, resolveDynamicReferences as Za, applyCrossPrefixScan as Zc, ATOMIC_FINAL_SNAPSHOT_TYPES as Zi, namesTheSameDirectory as Zl, proposeRenames as Zn, siblingsOf as Zo, displayTextOrWithheld as Zr, refuseMalformedResourcePropertiesForOrphan as Zs, chunks as Zt, conditionFingerprint as _, readsNoEchoDeleteValues as _a, malformedRenderedContainersWarning as _c, withStackRecords as _i, buildDenyExternalAccessPolicy as _l, dropFailedCommands as _n, s3BucketDualStackDomainName as _o, seedsDeleteFirstGuard as _r, declaresNoEcho as _s, stripIndexContributorInsights as _t, scanActiveConsumers as a, createPreDeleteFinalSnapshot as aa, repairMalformedOrphansForReadOnly as ac, isWholeDynamicReferenceValue as ai, stringifyValue as al, displacedPhysicalIdShown as an, parseIamRoleArn as ao, calculateResourceDrift as ar, WARM_THROUGHPUT_MEMBERS as as, readbackVectorIndexes as at, readRecordedConditionVerdicts as b, withPrintingSecrets as ba, refuseMalformedResourcesForDeploy as bc, holdsSupersededResources as bi, getBootstrapMarkerKey as bl, journaledOrphanLines as bn, coerceParameterTypedValue as bo, isReplacementOrphan as br, isReadableOrphanRecord as bs, DYNAMODB_DELETE_POLL_COST_MS as bt, nestedSsmNameDeferredNote as c, ProviderRegistry as ca, malformedLocalOutputsWarning as cc, collectPublishedOutputNames as ci, flattenAssetPlaceholders as cl, nestedChildStackName as cn, applyCallerIdentityCredentials as co, undeclaredEmptyObservedKeys as cr, toCfnInteger as cs, vectorIndexesShapeDetail as ct, slashedSsmNameHealAdoptedNote as d, wouldReturnToSdkProvider as da, refuseMalformedNestedChildOutputs as dc, DEFAULT_RESOURCE_TIMEOUT_MS as di, loadPublishableAssetManifest as dl, revertedNestedRowIds as dn, classifyRecordedSecretRegion as do, earliestDefined as dr, inputFingerprinter as ds, indexDeclaresContributorInsights as dt, ccRoutedInstanceTakesNoSnapshot as ea, hasReadableOrphans as ec, secretBearingStateKeyWarning as ei, isNotImplemented as el, withApiLimit as en, applyRoleArnIfSet as eo, replayRollback as er, shownType as es, isTtlRateLimited as et, clearBucketRegionCache as eu, slashedSsmNameHealNote as f, CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID as fa, refuseMalformedOutputs as fc, DEFAULT_RESOURCE_WARN_AFTER_MS as fi, redirectDockerAsset as fl, withNestedRevertRun as fn, classifyReplaySecretRegion as fo, ledgerForStack as fr, maskedPropertyFingerprintsOf as fs, planContributorInsightsOp as ft, makeCanonicalizePropertiesFn as g, TemplateNoEchoReresolver as ga, refuseDivergentRecordRegionForDestroy as gc, getStackRecords as gi, ensureAssetStorage as gl, deleteJournaledOrphans as gn, s3BucketDomainName as go, planRollback as gr, passedParameterClassesOf as gs, reverseMapTableContributorInsights as gt, inheritedProvenanceForChildDiff as h, responsePresignClient as ha, STATE_REGION_DIVERGED as hc, destroyStackRecordsView as hi, AssetModeResolver as hl, withNestedStackContext as hn, s3BucketArn as ho, acquireIdempotencyToken as hr, maskedInputProof as hs, reverseMapIndexContributorInsights as ht, mergeNoChangeOutputs as i, unsupportedFinalSnapshotError as ia, refuseMalformedOrphansForDestroy as ic, exportNameSecretExposure as ii, isSensitiveAttributeName as il, displacedOpClause as in, isIamRoleArn as io, withUnprovenUnsettled as ir, renderStatefulReason as is, planVectorIndexUpdates as it, deferredServiceTokenWarning as j, waitForGoneAfterDelete as ja, hasReadableOutputs as jc, red as ji, warnAbsoluteAssetPath as jl, noEchoMacParametersOf as jn, promoteInPlaceAttributeDependents as jo, isRedactedRecordedValue as jr, isReadableResourceEntry as js, relayedIndexBusyDelete as jt, pendingMovesRefusalMessage as k, waitForLambdaFunctionActive as ka, UNREADABLE_RESOURCES_MAP_ROW as kc, gray as ki, parseAssetManifestBody as kl, createNoEchoValueMacs as kn, parseWebACLArn as ko, findNestedStackTypeChanges as kr, unpreviewableOrphanRecords as ks, deleteTableWithIndexBusyRetry as kt, nestedSsmNameRowNote as l, ccBrokenReason as la, malformedOutputsRefusalMessage as lc, isExportAliasCollision as li, isDefaultBootstrapBucketName as ll, recordDisplacedSkips as ln, callerEnvCredentials as lo, updatePartialMessage as lr, toFiniteNumber as ls, CONTRIBUTOR_INSIGHTS_KEY as lt, crossStackOutputProvenanceSource as m, customResourceResponseExpirationWarning as ma, repairMalformedOutputsForReadOnly as mc, awaitInFlightSibling as mi, rewriteTemplateAssetReferences as ml, getCurrentNestedStackContext as mn, regionLessSecretName as mo, withCreateTokenLedger as mr, parameterInputsFor as ms, readContributorInsightsSpec as mt, isSecretBearingReferenceString as n, isFinalSnapshotError as na, malformedOrphansWarning as nc, carriedExportAliasExposure as ni, withStackInstanceIdWithheld as nl, resolvePendingCloudControlRequests as nn, assertSendableRoleArn as no, recordAfterRollbackUpdate as nr, isStatefulRecreateTargetForReplace as ns, readTtlSpec as nt, inRunStackKey as o, buildFinalSnapshotIdentifier as oa, malformedExportNamesWarning as oc, noEchoParameterValueSeed as oi, buildAssetRedirectMap as ol, dropSettledNestedJournals as on, sendableAssumeRoleCommand as oo, equalModuloMarkedMask as or, coerceWarmThroughput as os, vectorIndexesForCreate as ot, slashedSsmNameHealPendingNote as p, applyCustomResourceResponseExpiration as pa, refuseMalformedOutputsForDestroy as pc, maskingRetryLogger as pi, redirectFileAsset as pl, collectNestedChildUnaddressed as pn, producerRegionsFromState as po, reserveStackCreateToken as pr, movedMaskedProperties as ps, planIndexContributorInsightsOps as pt, reverseMapStreamPolicy as q, APPSYNC_APIKEY_ARN_RESOURCE_PATH as qa, hasUnverifiableParameterRefusal as qc, secretNamedRecordNeedles as qi, absoluteAssemblyPathEscape as ql, looselyEqual as qn, INTRINSIC_KEYS as qo, namesAnyDeclaredParameter as qr, refuseMalformedResourceProperties as qs, readsOnlyNoEchoParameters as qt, keptWholeReasonText as r, refusesFinalSnapshot as ra, refuseMalformedOrphans as rc, exportNameNoEchoParameters as ri, isSecretValuedAttribute as rl, NESTED_PENDING_PARENT_REASON as rn, explicitRoleArnOrThrow as ro, settleUnsettledPrevious as rr, isStatefulRecreateTargetSync as rs, sendTtlWaitingOutRateLimit as rt, checkNestedSsmNames as s, CC_BROKEN_REASON as sa, malformedExportSourceWarning as sc, collectDeclaredOutputNames as si, createAssetRedirectResolver as sl, getNestedRevertRun as sn, AWS_CREDENTIAL_ENV_KEYS as so, equalModuloMask as sr, isWarmThroughputDecrease as ss, vectorIndexesSettled as st, DeployEngine as t, effectiveDeletionPolicy as ta, malformedOrphansRefusalMessage as tc, secretSafeKeyDisplay as ti, stackInstanceIdOf as tl, pendingRequestCount as tn, assertFlagRoleArn as to, DELETED_RESOURCE_REMEDY as tr, MULTI_REGION_RECREATE_BLOCKED_TYPES as ts, planTimeToLive as tt, resolveBucketRegion as tu, healSlashedSsmParameterNames as u, isCustomResource as ua, malformedOutputsWarning as uc, bindingSkippedOutputs as ui, isDefaultBootstrapRepoName as ul, revertNestedChildFromJournal as un, envCredentialsAreAssumedRole as uo, updatePartialReason as ur, tryGetTopLevelWriteOnlyProperties as us, contributorInsightsRefusals as ut, conditionInputsFrom as v, isCustomResourceType as va, malformedResourcesWarning as vc, replacedDeleteFailureVerdict as vi, assertAssetBucketRegion as vl, dropFailedHint as vn, s3BucketRegionalDomainName as vo, demoteSupersededOrphans as vr, maskedPropertyFingerprint as vs, DYNAMODB_DELETE_DEADLINE_MARGIN_MS as vt, listNestedTemplateRows as w, customResourcesRunWithoutApp as wa, repairMalformedResourcesForReadOnly as wc, supersededHolderOf as wi, validateContainerRepoName as wl, makeSiblingClaimReader as wn, cfnRefValueFromPhysicalId as wo, replacementNeverSwapped as wr, previewableOrphanRecords as ws, resolveDynamoDbDeleteBudgetClock as wt, childTemplateLoader as x, NO_LOCAL_CUSTOM_RESOURCES_FLAG as xa, refuseMalformedResourcesForDestroy as xc, isSupersededResourceRecord as xi, parseBootstrapMarker as xl, loadJournaledOrphans as xn, isUnboundTemplateParameter as xo, planFailedOps as xr, malformedOrphanRecordsRefusalMessage as xs, beginDeleteWait as xt, parentSuppliedValues as y, getCurrentResourceSecrets as ya, malformedStateRefusalMessage as yc, deleteSupersededEntry as yi, isCrossRegionRedirect as yl, isHandledOrphan as yn, s3BucketWebsiteUrl as yo, isJournaledOrphan as yr, deployRefusesOrphanRowsReason as ys, DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS as yt, perType as z, withIndeterminateGuard as za, withoutUnwrittenSdkUnwiredProperties as zc, completedReplayEntries as zi, decodeListingKey as zl, movedToHint as zn, getAccountInfo as zo, nameScopeOf as zr, refuseMalformedResourceEntriesForDestroy as zs, readRefactorMarker as zt };
|
|
49250
|
+
//# sourceMappingURL=deploy-engine-DLmPF7r5.js.map
|