@cdkd/cli 0.335.0 → 0.336.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{asg-provider-pl5tnbiA.js → asg-provider-Kmj1OMXP.js} +2 -2
  2. package/dist/{asg-provider-pl5tnbiA.js.map → asg-provider-Kmj1OMXP.js.map} +1 -1
  3. package/dist/cli.js +2 -2
  4. package/dist/{db-instance-modify-retry-CD7NSyq4.js → db-instance-modify-retry-CQLlNArd.js} +2 -2
  5. package/dist/{db-instance-modify-retry-CD7NSyq4.js.map → db-instance-modify-retry-CQLlNArd.js.map} +1 -1
  6. package/dist/{deploy-engine-iQpILlcZ.js → deploy-engine-C1sQP24T.js} +20 -9
  7. package/dist/deploy-engine-C1sQP24T.js.map +1 -0
  8. package/dist/ecr-uri-EPT8p1G0.js +93 -0
  9. package/dist/ecr-uri-EPT8p1G0.js.map +1 -0
  10. package/dist/{iam-role-provider-jC3_bsf-.js → iam-role-provider-DF2RT3QW.js} +2 -2
  11. package/dist/{iam-role-provider-jC3_bsf-.js.map → iam-role-provider-DF2RT3QW.js.map} +1 -1
  12. package/dist/index.js +2 -2
  13. package/dist/{neptune-provider-CNEMvt4t.js → neptune-provider-DYvMIjKO.js} +3 -3
  14. package/dist/{neptune-provider-CNEMvt4t.js.map → neptune-provider-DYvMIjKO.js.map} +1 -1
  15. package/dist/{program-DaGdaozO.js → program-B8rxD6E3.js} +5 -89
  16. package/dist/program-B8rxD6E3.js.map +1 -0
  17. package/dist/{provider-classes-ZpRORGt2.js → provider-classes-BxlB3pLK.js} +8 -8
  18. package/dist/{provider-classes-ZpRORGt2.js.map → provider-classes-BxlB3pLK.js.map} +1 -1
  19. package/dist/{rds-provider-Ce7ua-ww.js → rds-provider-DuzqwKfc.js} +38 -9
  20. package/dist/rds-provider-DuzqwKfc.js.map +1 -0
  21. package/dist/{read-replica-BJAUZwWe.js → read-replica-BHKXELki.js} +27 -2
  22. package/dist/read-replica-BHKXELki.js.map +1 -0
  23. package/dist/{version-BxcTCG5i.js → version-hOdgRlOf.js} +2 -2
  24. package/dist/{version-BxcTCG5i.js.map → version-hOdgRlOf.js.map} +1 -1
  25. package/package.json +1 -1
  26. package/dist/deploy-engine-iQpILlcZ.js.map +0 -1
  27. package/dist/program-DaGdaozO.js.map +0 -1
  28. package/dist/rds-provider-Ce7ua-ww.js.map +0 -1
  29. package/dist/read-replica-BJAUZwWe.js.map +0 -1
@@ -2,10 +2,11 @@ import { a as runWithStackAwsClients, i as resetAwsClients, l as s3ClientDefault
2
2
  import { $ as safeMsg, B as SAFE_MSG_ALTERED_CHAR, C as PATTERN_B_RESOURCE_TYPES, F as isNameGeneration, G as cutMarker, H as STACK_REF_MAX_CODE_POINTS, J as displaySafe, K as displayAwsMessage, L as withSkipPrefix, Q as plainIdentOr, R as withStackScope, S as PATTERN_B_NAME_PROPERTIES, T as generateResourceName, U as UNRENDERABLE, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, _ as explicitNamePropertyFor, a as safeStringify, c as isStdoutReservedForPayload, d as runStackBuffered, et as stringifyJsonPayload, l as reserveStdoutForPayload, m as getLiveRenderer, n as describeAwsFailure, nt as truncateCodePoints, q as displayIdent, s as getLogger, tt as terminalSafe, w as derivesPatternBName, x as PATTERN_B_NAME_OPTIONS } from "./aws-failure-text-CoS1huLy.js";
3
3
  import { B as isMarkedNonRetryable, D as escapeRegExp, G as CrossAccountSecretRefusalError, H as markNonRetryable, I as isRetryableTransientError, J as MalformedProducerRecordRefusalError, K as DynamicReferenceRegionAmbiguousError, L as isTransientServerError, N as isAmbiguousOutcomeError, O as stripControlChars, Q as DeployCancelledError, R as retryClassificationText, St as setPasteableVerbFlags, V as isThrottlingError, Y as AccountIdUnavailableError, Z as CdkdError, _ as StackTerminationProtectionError, _t as quotedOrDescribed, a as normalizeAwsError, at as SynthesisError, bt as withheldTargetClause, c as withErrorHandling, dt as commandHole, et as LocalInvokeBuildError$1, g as StackHasActiveImportsError, gt as plainOrDescribed, h as ResourceUpdateNotSupportedError, i as credentialFingerprint, it as StateError, k as stripForDisplay, l as LocalStartServiceError, lt as SHELL_ACTIVE_WHY, m as PartialFailureError, mt as pasteableCommand, n as ambientCredentialConfig, nt as ProvisioningError, o as formatError, p as NestedStackChildDirectDestroyError, pt as isInertUnquoted, q as IntrinsicResolutionRefusalError, r as clientDefaultsFor, rt as ResourceTimeoutError, st as TIMEOUT_FLAG_RESOURCE_TYPE, t as ambientClientDefaults, vt as shellBoundedDisplay, xt as setPasteableRunFlags, yt as shellQuote } from "./ambient-client-defaults-B9bnuob2.js";
4
4
  import { a as setAssumedRoleCredentials, d as formatAuthority, i as getPreAssumeEnvCredentials, n as awsClientDefaults, r as getAssumedRoleCredentials, u as runInStackAwsScope } from "./aws-client-defaults-BLXFsfMa.js";
5
- import { $a as envCredentialsAreAssumedRole, $c as liveMatchesUnresolvedTokenFrame, $l as importableOutputs, $n as demoteSupersededOrphans, $r as isSupersededResourceRecord, $s as malformedOutputsRefusalMessage, $t as displacedPhysicalIdShown, $u as getDockerCmd, A as recordedProtectionEvidence, Ad as refuseFailedLookups, Ai as extractDeploymentEventError, An as isPairableType, Ar as secretBearing, As as refuseMalformedResourceEntriesForDestroy, Au as assertAssetBucketRegion, Bc as isMarkedCoordinate, Bd as nullPrototypeRecord, Bi as isFinalSnapshotError, Bl as recordProvenPublicExpression, Bn as calculateResourceDrift, Bo as isStatefulRecreateTargetSync, Br as isExportAliasCollision, Bs as refuseMalformedResourcePropertiesForExport, Bt as readRefactorMarkerOnce, Bu as describeDockerCapturedOutput, C as pendingMovesOutOf, Ca as deleteIndeterminateGuards, Cc as findActionableSdkUnwired, Cd as uploadCfnTemplate, Ci as orphanRecordsPrintingBag, Cl as isUncertifiedBaselineMaskPosition, Cn as findDestructiveChanges, Co as isImpossibleEmptyStoredAttribute, Cr as computeParameterTaint, Cs as malformedLocalResourceEntriesWarning, Cu as buildAssetRedirectMap, D as findServiceTokenRefusals, Dd as PARTITION_TABLE, Di as secretNamedRecordNeedles, Dl as inheritNestedStackParameterAssociations, Dn as movedToHint, Do as keepsSecretReferenceToken, Dr as WITHHELD_NAME_DISPLAY, Ds as refuseMalformedResourceAttributesForOrphan, Du as AssetModeResolver, E as deferredServiceTokenWarning, Ec as unwrittenCreateOnlyReplacement, Ed as expectedOwnerParam, El as identityKeyFor, En as hintSidesOf, Eo as carriesDynamicReference, Er as resourcesNamingDeclaredParameter, Es as malformedScrubResourceEntriesRefusalMessage, Eu as rewriteTemplateAssetReferences, F as readProtection, Fa as isWaitAbandonedError, Fd as parseFailureDebugDetail, Fi as ATOMIC_FINAL_SNAPSHOT_TYPES, Fl as provenPublicValue, Fn as replayFailedOperations, Fo as withoutUnsettledProperties, Fr as exportNameSecretExposure, Fs as unreadableResourceEntries, Ft as IMPLICIT_DELETE_DEPENDENCIES, Fu as validateAssetBucketName, Ga as assertFlagRoleArn, Gc as noEchoCoordinatesOf, Gd as renderAssemblyPathEscape, Gl as isLockInfoExpired, Gn as updatePartialReason, Gs as malformedOrphansRefusalMessage, Gt as updateRefactorMarker, Gu as redactDockerArgvValues, Ha as producerLookupOver, Hc as maskReadbackAtCoordinates, Hd as absoluteAssemblyPathEscape, Hi as unsupportedFinalSnapshotError, Hl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as equalModuloMask, Hr as DEFAULT_RESOURCE_TIMEOUT_MS, Hs as repairMalformedResourcePropertiesForReadOnly, Ht as refactorMarkerRefusalMessage, Hu as describeDockerFailure, Ia as DiffCalculator, Id as utf8ByteLength, Ii as PRE_DELETE_SNAPSHOT_TYPES, Il as recordMaskOnlyValue, In as replayRollback, Io as findReplacedReadersOfRecreateTargets, Ir as isWholeDynamicReferenceValue, Is as malformedDriftResourcePropertiesWarning, It as computeImplicitDeleteEdges, Iu as validateContainerRepoName, Ja as isIamRoleArn, Jd as injectedAwsRegionValue, Jl as acceptedCreateOnlyDropsOf, Jr as withStackRecords, Js as refuseMalformedOrphansForDestroy, Jt as formatResourceLine, Ju as partitionSensitiveEnv, Ka as assertSendableRoleArn, Kc as noEchoLeavesOf, Kd as resolveAssemblyPath, Kl as S3StateBackend, Kr as destroyStackRecordsView, Ks as malformedOrphansWarning, Ku as dockerSpawnEnvWithSensitive, La as IntrinsicFunctionResolver, Lc as DagBuilder, Ld as defineOwnKey, Li as ccRoutedFinalSnapshotError, Ll as recordMaskOnlyValuesIn, Ln as recordAfterRollbackUpdate, Lo as shownType, Lr as noEchoParameterValueSeed, Ls as malformedResourcePropertiesWarning, Lt as keptForRetainedRecord, Lu as BOOTSTRAP_MARKER_PREFIX, M as PROTECTION_PROPERTY_BY_TYPE, Md as StageLoadError, Ml as recordNestedStackParameterExpressions, Mn as mappingPairs, Mo as unsettledItemsOf, Mr as secretSafeKeyDisplay, Ms as refuseMalformedResourceEntriesForImportSave, Mu as getBootstrapMarkerKey, N as isProtectionValueActive, Nd as processStackMessages, Ni as secretSegmentsOfState, Nl as splitGetAttStringForm, Nn as parseMappingFile, No as unsettledPropertiesOf, Nr as carriedExportAliasExposure, Ns as refuseMalformedResourceEntriesForOrphan, Nu as parseBootstrapMarker, O as serviceTokenBlockingReason, Oc as NO_CC_HANDLERS_REASON, Od as canonicalizeRegion, Oi as stateSecretNameNeedles, On as rollbackOrphanIds, Oo as withSharedDrainBudget, Or as displayTextOrWithheld, Os as refuseMalformedResourceEntries, Ou as ensureAssetStorage, P as perType, Pd as describeJsonParseFailure, Pi as withSecretPhysicalIdsMaskedInState, Pl as carriesSecretMask, Pn as proposeRenames, Po as withUnsettledProperties, Pr as exportNameNoEchoParameters, Ps as repairMalformedResourceEntriesForReadOnly, Pt as withResourceDeadline, Pu as readBootstrapMarkerBody, Qa as callerEnvCredentials, Qc as valueAtCoordinate, Ql as importableOutputKeys, Qn as seedsDeleteFirstGuard, Qr as holdsSupersededResources, Qs as malformedLocalOutputsWarning, Qt as displacedOpClause, Qu as formatDockerLoginError, Ra as isAlwaysLiveAttribute, Rc as TemplateParser, Rd as hasOwnKey, Ri as ccRoutedInstanceTakesNoSnapshot, Rl as recordNoEchoAttributeValues, Rn as settleUnsettledPrevious, Ro as MULTI_REGION_RECREATE_BLOCKED_TYPES, Rr as collectDeclaredOutputNames, Rs as refuseMalformedResourcePropertiesForDestroy, Rt as recordRetainedForReadoption, Ru as buildDockerImage, S as hasPendingMovesOut, Sa as UNSPECIFIED_SKIP_REASON, Sc as hasReadableResources, Sd as findLargeInlineResources, Si as namingSecretsWithRecordedNoEcho, Sl as dynamicReferenceTokens, Sn as constructPathOf$1, So as getAccountInfo, Sr as inheritProducerRegions, Ss as isReadableResourceEntry, Su as WorkGraph, T as refusePendingMovesOut, Ta as deleteSkipReason, Td as decodeListingKey, Ti as secretNamePrintingBags, Tl as pathCrossesDottedKey, Tn as findRefactorHints, To as isNamelessDynamicReferenceError, Tr as reachableDivergentParameters, Ts as malformedResourceEntriesWarning, Tu as loadPublishableAssetManifest, Ua as refuseUnreadableCdkCrossAccountRefs, Uc as maskWholeValue, Ud as describeFileReadFailure, Ui as createPreDeleteFinalSnapshot, Ul as isSingleDynamicReferenceToken, Un as undeclaredEmptyObservedKeys, Ur as DEFAULT_RESOURCE_WARN_AFTER_MS, Us as UNREADABLE_ORPHANS_CONTAINER_ROW, Ut as refuseRefactorMarker, Uu as redactedCause, Va as resolveDynamicReferences, Vc as maskAtCoordinates, Vd as ownValue, Vi as refusesFinalSnapshot, Vl as wholeStringLeavesOf, Vn as equalModuloMarkedMask, Vo as renderStatefulReason, Vr as bindingSkippedOutputs, Vs as refuseMalformedResourcePropertiesForOrphan, Vt as refactorMarkerMovesOf, Vu as describeDockerExecFailure, Wa as applyRoleArnIfSet, Wc as maskedLeafCoordinatesOf, Wd as displayAssemblyPath, Wi as buildFinalSnapshotIdentifier, Wl as LockManager, Wn as updatePartialMessage, Wr as maskingRetryLogger, Ws as hasReadableOrphans, Wt as sameMove, Wu as redactedDockerCause, Xa as AWS_CREDENTIAL_ENV_KEYS, Xc as readsNoEchoSource, Xd as resolveBucketRegion, Xl as exportNamesCarriedFrom, Xr as addSuperseded, Xs as malformedExportNamesWarning, Xt as resolvePendingCloudControlRequests, Xu as isDockerClientEnvKey, Ya as sendableAssumeRoleCommand, Yc as readbackPathFor, Yl as describeRegionValueKind, Yn as withCreateTokenLedger, Ys as repairMalformedOrphansForReadOnly, Yt as pendingRequestCount, Yu as warnFinchArgvExposure, Za as applyCallerIdentityCredentials, Zc as recordedNoEchoValuesOf, Zl as hasReadableExportSet, Zn as planRollback, Zr as deleteSupersededEntry, Zs as malformedExportSourceWarning, Zt as NESTED_PENDING_PARENT_REASON, Zu as isMalformedEnvKey, _ as findNestedTemplateTreeDefect, _c as withheldAccountClause, _d as warnDeprecatedNoPrefixCliFlag, _i as withAttemptedItemsMasked, _l as maskSecretsInText, _n as makeForeignHolderScan, _r as retiredAfterRollback, _s as refuseMalformedOrphanRecordsForDestroy, _u as stackInstanceIdOf, aa as isCustomResource, ac as STATE_REGION_DIVERGED, ad as synthesisStatusMessage, ai as withoutSuperseded, al as createUnionSecretMasker, an as revertedNestedRowIds, ar as replacementNeverSwapped, as as describeTypeWithThrottleRetry, au as hasReasonlessBaselineRefusal, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bc as displayLogicalId, bd as CFN_TEMPLATE_URL_LIMIT, bi as journaledOrphanPrintingBag, bn as DeploymentEventsReader, bo as recordedOutputReferenceRegions, br as withNameGenerationReached, bs as unpreviewableOrphanRecords, bu as isSensitiveAttributeName, c as mergeNoChangeOutputs, ca as applyCustomResourceResponseExpiration, cc as malformedResourcesWarning, cd as loadCdkJson, ci as cyan, cl as logOnlyValueCount, cn as getCurrentNestedStackContext, cu as renderPhaseTimings, d as makeCanonicalizePropertiesFn, da as readsNoEchoDeleteValues, dc as refuseMalformedResourcesForDestroy, dd as resolveCaptureObservedState, di as red, dl as recordLogOnlyValue, dn as dropFailedCommands, do as parameterTypeMayLoseSecretIdentity, ds as isReadableOrphanRecord, du as CrossPrefixReadError, ec as malformedOutputsWarning, ed as runDockerForeground, ei as removeSuperseded, en as dropSettledNestedJournals, eo as classifyRecordedSecretRegion, er as isJournaledOrphan, eu as isReadableBag, f as conditionFingerprint, fa as isCustomResourceType$1, fc as refuseMalformedResourcesForExport, fd as resolveSkipPrefix, fi as yellow, fl as shareLogOnlyValues, fn as dropFailedHint, fo as AWS_NO_VALUE, fr as removeProtectionTypeList, fs as malformedOrphanRecordsRefusalMessage, fu as CrossPrefixScanCache, g as childTemplateLoader, ga as CloudControlProvider, gc as accountArgs, gd as stateBucketExistenceConfirmed, gi as noEchoParameterNamesOf, gl as maskSecretsInError, gn as sameJournaledOrphans, go as refStateLookupFromResource, gr as nameScopeOf, gs as refuseMalformedOrphanRecords, gu as isNotImplemented, h as readRecordedConditionVerdicts, hc as JSON_LISTING_HOLE_VALUE, hd as resolveUseCdkBootstrapAssets, hi as noEchoExactEchoLeavesOf, hl as errorCauseChain, hn as loadJournaledOrphans, ho as lacksRecordedTableArn, hr as nameGenerationHighWaterOf, hs as previewableOrphanRecords, hu as isAccessDenied, ia as ccBrokenReason, ic as repairMalformedOutputsForReadOnly, id as Synthesizer, ii as supersededResourcesOf, il as carryLogOnlyValues, ir as recordUnderIdIsNotOwn, is as templateResourceTypes, iu as stackInstanceIdCarriedFrom, j as recordedProtectionNote, jd as AssemblyReader, jl as recordPhysicalNameCopy, jn as looselyEqual, jo as unsettledItemsField, jr as secretBearingStateKeyWarning, js as refuseMalformedResourceEntriesForImport, ju as isCrossRegionRedirect, k as diffSecurity, kc as hasNoCloudControlHandlers, kd as derivePartitionAndUrlSuffix, ki as storedSecretNameNeedles, kl as physicalNameCopiesOf, kn as withMovedTo, ko as INTRINSIC_KEYS, kr as exportAliasCollisionScrubWarning, ks as refuseMalformedResourceEntriesForDeploy, ku as buildDenyExternalAccessPolicy, l as crossStackOutputProvenanceSource, la as customResourceResponseExpirationWarning, lc as malformedStateRefusalMessage, ld as resolveApp, li as gray, ll as printingCorpusOf, ln as withNestedStackContext, lo as coerceParameterTypedValue, ls as declaresNoEcho, lu as timePhase, m as parentSuppliedValues, ma as withPrintingSecrets, mc as repairMalformedResourcesForReadOnly, md as resolveStateBucketWithDefaultAndSource, mi as noEchoComparisonForTemplate, ml as createSecretMasker, mn as journaledOrphanLines, mo as isStalePlaceholderArnAttribute, mr as nameGenerationCarriedFrom, ms as malformedOrphanRowsKeptWarning, mu as crossPrefixDeniedWarning, na as CC_BROKEN_REASON, nc as refuseMalformedOutputs, nd as AssetManifestLoader, ni as supersededHeldByOtherTypeWarning, nn as nestedChildStackName$1, no as producerRegionsFromState, nr as planFailedOps, nu as orphansCarriedFrom, o as isSecretBearingReferenceString, oa as wouldReturnToSdkProvider, oc as refuseDivergentRecordRegionForDestroy, od as getDefaultStateBucketName, ol as hasMaskableValues, on as withNestedRevertRun, or as resolveReplacementOldType, os as withRetry, ou as hasUnverifiableParameterRefusal, p as conditionInputsFrom, pc as refuseMalformedState, pd as resolveStateBucketWithDefault, pi as noEchoAttributeNamesOf, pl as unionOfSecretBags, pn as isHandledOrphan, po as cfnRefValueFromPhysicalId, pr as orphanNeedsIdentity, ps as malformedOrphanRecordsWarning, pu as applyCrossPrefixScan, qa as explicitRoleArnOrThrow, qc as noEchoOutputsComparison, qd as injectAwsRegion, ql as splitImportedOps, qn as ledgerForStack, qo as coerceCfnBoolean, qs as refuseMalformedOrphans, qu as finchSecretArgvRefusal, ra as ProviderRegistry, rc as refuseMalformedOutputsForDestroy, rd as getDockerImageBySourceHash, ri as supersededHolderOf, rn as recordDisplacedSkips, ro as regionLessSecretName, rr as recheckFailedPlan, rs as prefetchCreateOnlyPropertyPaths, ru as shouldRetainResource, s as keptWholeReasonText, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sc as malformedRenderedContainersWarning, sd as getLegacyStateBucketName, si as bold, sl as literalSplitDelimitersOf, sn as collectNestedChildUnaddressed, sr as findNestedStackTypeChanges, ss as parameterInputsFor, su as PhaseClock, t as DeployEngine, td as runDockerStreaming, ti as supersededAfterRollback, tl as redactForState, to as classifyReplaySecretRegion, tr as isReplacementOrphan, tu as orphansAfterRollback, u as inheritedProvenanceForChildDiff, ua as TemplateNoEchoReresolver, uc as refuseMalformedResourcesForDeploy, ud as resolveAutoAssetStorage, ui as green, ul as recordLogOnlyParameterValue, un as deleteJournaledOrphans, uo as isUnboundTemplateParameter, us as deployRefusesOrphanRowsReason, uu as rebuildClientForBucketRegion, v as isAbsoluteAssetPath, vc as STATE_RESOURCES_MALFORMED, vd as ssmResolvedValueType, vi as createReadOnlyAttributeHealerFactory, vl as scrubResourceRecord, vn as makeSiblingClaimReader, vo as keepHeldTokenProvenance, vr as retiredNameGenerationsAfter, vs as refuseMalformedOrphansForOrphan, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as deleteLeftInPlace, wc as findHandledUnwrittenCreateOnly, wd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, wi as secretNamePrintingBag, wl as spelledKeysOf, wn as formatDestructiveChange, wo as carriesFetchableDynamicReference, wr as namesAnyDeclaredParameter, ws as malformedLocalResourcesWarning, wu as createAssetRedirectResolver, x as templateIdentity, xa as RollbackInlinePolicyWriters, xc as hasReadableOutputs, xd as MIGRATE_TMP_PREFIX, xi as maskEventTextWithBoundBags, xl as DYNAMIC_REFERENCE_TOKEN_SCAN, xn as DeploymentEventsStore, xo as recordedReferenceRegions, xs as unreadableOrphanRecords, xu as stringifyValue, y as listNestedTemplateRows, ya as setResolvedResourceTimeouts, yc as UNREADABLE_RESOURCES_MAP_ROW, yd as CFN_TEMPLATE_BODY_LIMIT, yi as completedReplayEntries, yl as withPhysicalNameCopies, yn as planOrphanAdoption, yr as retiredNameGenerationsLeaving, ys as repairMalformedOrphanRecordsForReadOnly, yu as AssetPublisher, za as poisonRenderedSpellingsCollidingIn, zc as canonicalCoordinates, zd as hasPlainPrototype, zi as effectiveDeletionPolicy, zl as recordNoEchoParameterFreshValue, zn as withUnprovenUnsettled, zo as isStatefulRecreateTargetForReplace, zr as collectPublishedOutputNames, zs as refuseMalformedResourcePropertiesForDrift, zt as readRefactorMarker, zu as resolveDockerContextDirectory } from "./deploy-engine-iQpILlcZ.js";
5
+ import { $a as envCredentialsAreAssumedRole, $c as liveMatchesUnresolvedTokenFrame, $l as importableOutputs, $n as demoteSupersededOrphans, $r as isSupersededResourceRecord, $s as malformedOutputsRefusalMessage, $t as displacedPhysicalIdShown, $u as getDockerCmd, A as recordedProtectionEvidence, Ad as refuseFailedLookups, Ai as extractDeploymentEventError, An as isPairableType, Ar as secretBearing, As as refuseMalformedResourceEntriesForDestroy, Au as assertAssetBucketRegion, Bc as isMarkedCoordinate, Bd as nullPrototypeRecord, Bi as isFinalSnapshotError, Bl as recordProvenPublicExpression, Bn as calculateResourceDrift, Bo as isStatefulRecreateTargetSync, Br as isExportAliasCollision, Bs as refuseMalformedResourcePropertiesForExport, Bt as readRefactorMarkerOnce, Bu as describeDockerCapturedOutput, C as pendingMovesOutOf, Ca as deleteIndeterminateGuards, Cc as findActionableSdkUnwired, Cd as uploadCfnTemplate, Ci as orphanRecordsPrintingBag, Cl as isUncertifiedBaselineMaskPosition, Cn as findDestructiveChanges, Co as isImpossibleEmptyStoredAttribute, Cr as computeParameterTaint, Cs as malformedLocalResourceEntriesWarning, Cu as buildAssetRedirectMap, D as findServiceTokenRefusals, Dd as PARTITION_TABLE, Di as secretNamedRecordNeedles, Dl as inheritNestedStackParameterAssociations, Dn as movedToHint, Do as keepsSecretReferenceToken, Dr as WITHHELD_NAME_DISPLAY, Ds as refuseMalformedResourceAttributesForOrphan, Du as AssetModeResolver, E as deferredServiceTokenWarning, Ec as unwrittenCreateOnlyReplacement, Ed as expectedOwnerParam, El as identityKeyFor, En as hintSidesOf, Eo as carriesDynamicReference, Er as resourcesNamingDeclaredParameter, Es as malformedScrubResourceEntriesRefusalMessage, Eu as rewriteTemplateAssetReferences, F as readProtection, Fa as isWaitAbandonedError, Fd as parseFailureDebugDetail, Fi as ATOMIC_FINAL_SNAPSHOT_TYPES, Fl as provenPublicValue, Fn as replayFailedOperations, Fo as withoutUnsettledProperties, Fr as exportNameSecretExposure, Fs as unreadableResourceEntries, Ft as IMPLICIT_DELETE_DEPENDENCIES, Fu as validateAssetBucketName, Ga as assertFlagRoleArn, Gc as noEchoCoordinatesOf, Gd as renderAssemblyPathEscape, Gl as isLockInfoExpired, Gn as updatePartialReason, Gs as malformedOrphansRefusalMessage, Gt as updateRefactorMarker, Gu as redactDockerArgvValues, Ha as producerLookupOver, Hc as maskReadbackAtCoordinates, Hd as absoluteAssemblyPathEscape, Hi as unsupportedFinalSnapshotError, Hl as WHOLE_DYNAMIC_REFERENCE_PATTERN, Hn as equalModuloMask, Hr as DEFAULT_RESOURCE_TIMEOUT_MS, Hs as repairMalformedResourcePropertiesForReadOnly, Ht as refactorMarkerRefusalMessage, Hu as describeDockerFailure, Ia as DiffCalculator, Id as utf8ByteLength, Ii as PRE_DELETE_SNAPSHOT_TYPES, Il as recordMaskOnlyValue, In as replayRollback, Io as findReplacedReadersOfRecreateTargets, Ir as isWholeDynamicReferenceValue, Is as malformedDriftResourcePropertiesWarning, It as computeImplicitDeleteEdges, Iu as validateContainerRepoName, Ja as isIamRoleArn, Jd as injectedAwsRegionValue, Jl as acceptedCreateOnlyDropsOf, Jr as withStackRecords, Js as refuseMalformedOrphansForDestroy, Jt as formatResourceLine, Ju as partitionSensitiveEnv, Ka as assertSendableRoleArn, Kc as noEchoLeavesOf, Kd as resolveAssemblyPath, Kl as S3StateBackend, Kr as destroyStackRecordsView, Ks as malformedOrphansWarning, Ku as dockerSpawnEnvWithSensitive, La as IntrinsicFunctionResolver, Lc as DagBuilder, Ld as defineOwnKey, Li as ccRoutedFinalSnapshotError, Ll as recordMaskOnlyValuesIn, Ln as recordAfterRollbackUpdate, Lo as shownType, Lr as noEchoParameterValueSeed, Ls as malformedResourcePropertiesWarning, Lt as keptForRetainedRecord, Lu as BOOTSTRAP_MARKER_PREFIX, M as PROTECTION_PROPERTY_BY_TYPE, Md as StageLoadError, Ml as recordNestedStackParameterExpressions, Mn as mappingPairs, Mo as unsettledItemsOf, Mr as secretSafeKeyDisplay, Ms as refuseMalformedResourceEntriesForImportSave, Mu as getBootstrapMarkerKey, N as isProtectionValueActive, Nd as processStackMessages, Ni as secretSegmentsOfState, Nl as splitGetAttStringForm, Nn as parseMappingFile, No as unsettledPropertiesOf, Nr as carriedExportAliasExposure, Ns as refuseMalformedResourceEntriesForOrphan, Nu as parseBootstrapMarker, O as serviceTokenBlockingReason, Oc as NO_CC_HANDLERS_REASON, Od as canonicalizeRegion, Oi as stateSecretNameNeedles, On as rollbackOrphanIds, Oo as withSharedDrainBudget, Or as displayTextOrWithheld, Os as refuseMalformedResourceEntries, Ou as ensureAssetStorage, P as perType, Pd as describeJsonParseFailure, Pi as withSecretPhysicalIdsMaskedInState, Pl as carriesSecretMask, Pn as proposeRenames, Po as withUnsettledProperties, Pr as exportNameNoEchoParameters, Ps as repairMalformedResourceEntriesForReadOnly, Pt as withResourceDeadline, Pu as readBootstrapMarkerBody, Qa as callerEnvCredentials, Qc as valueAtCoordinate, Ql as importableOutputKeys, Qn as seedsDeleteFirstGuard, Qr as holdsSupersededResources, Qs as malformedLocalOutputsWarning, Qt as displacedOpClause, Qu as formatDockerLoginError, Ra as isAlwaysLiveAttribute, Rc as TemplateParser, Rd as hasOwnKey, Ri as ccRoutedInstanceTakesNoSnapshot, Rl as recordNoEchoAttributeValues, Rn as settleUnsettledPrevious, Ro as MULTI_REGION_RECREATE_BLOCKED_TYPES, Rr as collectDeclaredOutputNames, Rs as refuseMalformedResourcePropertiesForDestroy, Rt as recordRetainedForReadoption, Ru as buildDockerImage, S as hasPendingMovesOut, Sa as UNSPECIFIED_SKIP_REASON, Sc as hasReadableResources, Sd as findLargeInlineResources, Si as namingSecretsWithRecordedNoEcho, Sl as dynamicReferenceTokens, Sn as constructPathOf$1, So as getAccountInfo, Sr as inheritProducerRegions, Ss as isReadableResourceEntry, Su as WorkGraph, T as refusePendingMovesOut, Ta as deleteSkipReason, Td as decodeListingKey, Ti as secretNamePrintingBags, Tl as pathCrossesDottedKey, Tn as findRefactorHints, To as isNamelessDynamicReferenceError, Tr as reachableDivergentParameters, Ts as malformedResourceEntriesWarning, Tu as loadPublishableAssetManifest, Ua as refuseUnreadableCdkCrossAccountRefs, Uc as maskWholeValue, Ud as describeFileReadFailure, Ui as createPreDeleteFinalSnapshot, Ul as isSingleDynamicReferenceToken, Un as undeclaredEmptyObservedKeys, Ur as DEFAULT_RESOURCE_WARN_AFTER_MS, Us as UNREADABLE_ORPHANS_CONTAINER_ROW, Ut as refuseRefactorMarker, Uu as redactedCause, Va as resolveDynamicReferences, Vc as maskAtCoordinates, Vd as ownValue, Vi as refusesFinalSnapshot, Vl as wholeStringLeavesOf, Vn as equalModuloMarkedMask, Vo as renderStatefulReason, Vr as bindingSkippedOutputs, Vs as refuseMalformedResourcePropertiesForOrphan, Vt as refactorMarkerMovesOf, Vu as describeDockerExecFailure, Wa as applyRoleArnIfSet, Wc as maskedLeafCoordinatesOf, Wd as displayAssemblyPath, Wi as buildFinalSnapshotIdentifier, Wl as LockManager, Wn as updatePartialMessage, Wr as maskingRetryLogger, Ws as hasReadableOrphans, Wt as sameMove, Wu as redactedDockerCause, Xa as AWS_CREDENTIAL_ENV_KEYS, Xc as readsNoEchoSource, Xd as resolveBucketRegion, Xl as exportNamesCarriedFrom, Xr as addSuperseded, Xs as malformedExportNamesWarning, Xt as resolvePendingCloudControlRequests, Xu as isDockerClientEnvKey, Ya as sendableAssumeRoleCommand, Yc as readbackPathFor, Yl as describeRegionValueKind, Yn as withCreateTokenLedger, Ys as repairMalformedOrphansForReadOnly, Yt as pendingRequestCount, Yu as warnFinchArgvExposure, Za as applyCallerIdentityCredentials, Zc as recordedNoEchoValuesOf, Zl as hasReadableExportSet, Zn as planRollback, Zr as deleteSupersededEntry, Zs as malformedExportSourceWarning, Zt as NESTED_PENDING_PARENT_REASON, Zu as isMalformedEnvKey, _ as findNestedTemplateTreeDefect, _c as withheldAccountClause, _d as warnDeprecatedNoPrefixCliFlag, _i as withAttemptedItemsMasked, _l as maskSecretsInText, _n as makeForeignHolderScan, _r as retiredAfterRollback, _s as refuseMalformedOrphanRecordsForDestroy, _u as stackInstanceIdOf, aa as isCustomResource, ac as STATE_REGION_DIVERGED, ad as synthesisStatusMessage, ai as withoutSuperseded, al as createUnionSecretMasker, an as revertedNestedRowIds, ar as replacementNeverSwapped, as as describeTypeWithThrottleRetry, au as hasReasonlessBaselineRefusal, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bc as displayLogicalId, bd as CFN_TEMPLATE_URL_LIMIT, bi as journaledOrphanPrintingBag, bn as DeploymentEventsReader, bo as recordedOutputReferenceRegions, br as withNameGenerationReached, bs as unpreviewableOrphanRecords, bu as isSensitiveAttributeName, c as mergeNoChangeOutputs, ca as applyCustomResourceResponseExpiration, cc as malformedResourcesWarning, cd as loadCdkJson, ci as cyan, cl as logOnlyValueCount, cn as getCurrentNestedStackContext, cu as renderPhaseTimings, d as makeCanonicalizePropertiesFn, da as readsNoEchoDeleteValues, dc as refuseMalformedResourcesForDestroy, dd as resolveCaptureObservedState, di as red, dl as recordLogOnlyValue, dn as dropFailedCommands, do as parameterTypeMayLoseSecretIdentity, ds as isReadableOrphanRecord, du as CrossPrefixReadError, ec as malformedOutputsWarning, ed as runDockerForeground, ei as removeSuperseded, en as dropSettledNestedJournals, eo as classifyRecordedSecretRegion, er as isJournaledOrphan, eu as isReadableBag, f as conditionFingerprint, fa as isCustomResourceType$1, fc as refuseMalformedResourcesForExport, fd as resolveSkipPrefix, fi as yellow, fl as shareLogOnlyValues, fn as dropFailedHint, fo as AWS_NO_VALUE, fr as removeProtectionTypeList, fs as malformedOrphanRecordsRefusalMessage, fu as CrossPrefixScanCache, g as childTemplateLoader, ga as CloudControlProvider, gc as accountArgs, gd as stateBucketExistenceConfirmed, gi as noEchoParameterNamesOf, gl as maskSecretsInError, gn as sameJournaledOrphans, go as refStateLookupFromResource, gr as nameScopeOf, gs as refuseMalformedOrphanRecords, gu as isNotImplemented, h as readRecordedConditionVerdicts, hc as JSON_LISTING_HOLE_VALUE, hd as resolveUseCdkBootstrapAssets, hi as noEchoExactEchoLeavesOf, hl as errorCauseChain, hn as loadJournaledOrphans, ho as lacksRecordedTableArn, hr as nameGenerationHighWaterOf, hs as previewableOrphanRecords, hu as isAccessDenied, ia as ccBrokenReason, ic as repairMalformedOutputsForReadOnly, id as Synthesizer, ii as supersededResourcesOf, il as carryLogOnlyValues, ir as recordUnderIdIsNotOwn, is as templateResourceTypes, iu as stackInstanceIdCarriedFrom, j as recordedProtectionNote, jd as AssemblyReader, jl as recordPhysicalNameCopy, jn as looselyEqual, jo as unsettledItemsField, jr as secretBearingStateKeyWarning, js as refuseMalformedResourceEntriesForImport, ju as isCrossRegionRedirect, k as diffSecurity, kc as hasNoCloudControlHandlers, kd as derivePartitionAndUrlSuffix, ki as storedSecretNameNeedles, kl as physicalNameCopiesOf, kn as withMovedTo, ko as INTRINSIC_KEYS, kr as exportAliasCollisionScrubWarning, ks as refuseMalformedResourceEntriesForDeploy, ku as buildDenyExternalAccessPolicy, l as crossStackOutputProvenanceSource, la as customResourceResponseExpirationWarning, lc as malformedStateRefusalMessage, ld as resolveApp, li as gray, ll as printingCorpusOf, ln as withNestedStackContext, lo as coerceParameterTypedValue, ls as declaresNoEcho, lu as timePhase, m as parentSuppliedValues, ma as withPrintingSecrets, mc as repairMalformedResourcesForReadOnly, md as resolveStateBucketWithDefaultAndSource, mi as noEchoComparisonForTemplate, ml as createSecretMasker, mn as journaledOrphanLines, mo as isStalePlaceholderArnAttribute, mr as nameGenerationCarriedFrom, ms as malformedOrphanRowsKeptWarning, mu as crossPrefixDeniedWarning, na as CC_BROKEN_REASON, nc as refuseMalformedOutputs, nd as AssetManifestLoader, ni as supersededHeldByOtherTypeWarning, nn as nestedChildStackName$1, no as producerRegionsFromState, nr as planFailedOps, nu as orphansCarriedFrom, o as isSecretBearingReferenceString, oa as wouldReturnToSdkProvider, oc as refuseDivergentRecordRegionForDestroy, od as getDefaultStateBucketName, ol as hasMaskableValues, on as withNestedRevertRun, or as resolveReplacementOldType, os as withRetry, ou as hasUnverifiableParameterRefusal, p as conditionInputsFrom, pc as refuseMalformedState, pd as resolveStateBucketWithDefault, pi as noEchoAttributeNamesOf, pl as unionOfSecretBags, pn as isHandledOrphan, po as cfnRefValueFromPhysicalId, pr as orphanNeedsIdentity, ps as malformedOrphanRecordsWarning, pu as applyCrossPrefixScan, qa as explicitRoleArnOrThrow, qc as noEchoOutputsComparison, qd as injectAwsRegion, ql as splitImportedOps, qn as ledgerForStack, qo as coerceCfnBoolean, qs as refuseMalformedOrphans, qu as finchSecretArgvRefusal, ra as ProviderRegistry, rc as refuseMalformedOutputsForDestroy, rd as getDockerImageBySourceHash, ri as supersededHolderOf, rn as recordDisplacedSkips, ro as regionLessSecretName, rr as recheckFailedPlan, rs as prefetchCreateOnlyPropertyPaths, ru as shouldRetainResource, s as keptWholeReasonText, sa as CUSTOM_RESOURCE_RESPONSE_LIFECYCLE_RULE_ID, sc as malformedRenderedContainersWarning, sd as getLegacyStateBucketName, si as bold, sl as literalSplitDelimitersOf, sn as collectNestedChildUnaddressed, sr as findNestedStackTypeChanges, ss as parameterInputsFor, su as PhaseClock, t as DeployEngine, td as runDockerStreaming, ti as supersededAfterRollback, tl as redactForState, to as classifyReplaySecretRegion, tr as isReplacementOrphan, tu as orphansAfterRollback, u as inheritedProvenanceForChildDiff, ua as TemplateNoEchoReresolver, uc as refuseMalformedResourcesForDeploy, ud as resolveAutoAssetStorage, ui as green, ul as recordLogOnlyParameterValue, un as deleteJournaledOrphans, uo as isUnboundTemplateParameter, us as deployRefusesOrphanRowsReason, uu as rebuildClientForBucketRegion, v as isAbsoluteAssetPath, vc as STATE_RESOURCES_MALFORMED, vd as ssmResolvedValueType, vi as createReadOnlyAttributeHealerFactory, vl as scrubResourceRecord, vn as makeSiblingClaimReader, vo as keepHeldTokenProvenance, vr as retiredNameGenerationsAfter, vs as refuseMalformedOrphansForOrphan, vu as withStackInstanceIdWithheld, w as pendingMovesRefusalMessage, wa as deleteLeftInPlace, wc as findHandledUnwrittenCreateOnly, wd as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, wi as secretNamePrintingBag, wl as spelledKeysOf, wn as formatDestructiveChange, wo as carriesFetchableDynamicReference, wr as namesAnyDeclaredParameter, ws as malformedLocalResourcesWarning, wu as createAssetRedirectResolver, x as templateIdentity, xa as RollbackInlinePolicyWriters, xc as hasReadableOutputs, xd as MIGRATE_TMP_PREFIX, xi as maskEventTextWithBoundBags, xl as DYNAMIC_REFERENCE_TOKEN_SCAN, xn as DeploymentEventsStore, xo as recordedReferenceRegions, xs as unreadableOrphanRecords, xu as stringifyValue, y as listNestedTemplateRows, ya as setResolvedResourceTimeouts, yc as UNREADABLE_RESOURCES_MAP_ROW, yd as CFN_TEMPLATE_BODY_LIMIT, yi as completedReplayEntries, yl as withPhysicalNameCopies, yn as planOrphanAdoption, yr as retiredNameGenerationsLeaving, ys as repairMalformedOrphanRecordsForReadOnly, yu as AssetPublisher, za as poisonRenderedSpellingsCollidingIn, zc as canonicalCoordinates, zd as hasPlainPrototype, zi as effectiveDeletionPolicy, zl as recordNoEchoParameterFreshValue, zn as withUnprovenUnsettled, zo as isStatefulRecreateTargetForReplace, zr as collectPublishedOutputNames, zs as refuseMalformedResourcePropertiesForDrift, zt as readRefactorMarker, zu as resolveDockerContextDirectory } from "./deploy-engine-C1sQP24T.js";
6
6
  import { $t as forceQuitRecoveryClause, Dt as logicalIdShown, H as assertRegionMatch, M as VALUE_NOT_SHOWN, Qt as buildLockContentionMessage, U as isMarkedNotGone, V as RESOURCE_NOT_FOUND, Xt as UNREPRODUCIBLE_LOCK_CLAUSE, Zt as buildForceUnlockCommand, an as CUSTOM_RESOURCE_RESPONSE_PREFIX, bt as interruptWatchListenerCount, dn as setPasteableAwsProfile, en as formatLockExpiry, fn as withPasteableAwsProfile, kt as resourceTypeShown, ln as producerCoordinateKey, m as RESOLVED_PREVIOUS_PRINCIPAL_KEYS, mt as isAwsCliLiteral, nn as formatLockOwner, on as DEFAULT_STATE_PREFIX, p as IAM_PRINCIPAL_NAME, sn as injectiveKey, st as runDeleteAttempt, tn as formatLockOperation, un as producerRecordKey, vt as beginCommandInterruptScope, xt as isInterruptedWaitError, y as readRecordedPrincipals, yt as endCommandInterruptScope, z as remedyLogicalId } from "./update-removal-Dh6W86TO.js";
7
- import { t as getCdkdVersion } from "./version-BxcTCG5i.js";
7
+ import { t as getCdkdVersion } from "./version-hOdgRlOf.js";
8
8
  import { t as cdkdCacheHome } from "./cli.js";
9
+ import { a as parseEcrRegistryHost, i as looksLikeEcrHostWithForeignSuffix, n as hasEcrRegistryHostLabels, t as ecrRegistryHostPattern } from "./ecr-uri-EPT8p1G0.js";
9
10
  import { randomBytes, randomUUID } from "node:crypto";
10
11
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketCommand, DeleteObjectsCommand, GetBucketLocationCommand, GetObjectCommand, HeadBucketCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketEncryptionCommand, PutBucketPolicyCommand, PutBucketVersioningCommand, PutObjectCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
11
12
  import { GetRoleCommand, GetUserCommand } from "@aws-sdk/client-iam";
@@ -1853,7 +1854,7 @@ function collectCrossStackRefs(node, onRef, unconditional) {
1853
1854
  // src/provisioning/register-providers.ts
1854
1855
  let providerClasses;
1855
1856
  function loadProviderClasses() {
1856
- providerClasses ??= import("./provider-classes-ZpRORGt2.js");
1857
+ providerClasses ??= import("./provider-classes-BxlB3pLK.js");
1857
1858
  return providerClasses;
1858
1859
  }
1859
1860
  function registerAllProviders(registry, classes) {
@@ -21412,91 +21413,6 @@ function createEventsPruneCommand() {
21412
21413
  })).option("--older-than <duration>", "Delete runs older than this duration (e.g. 24h, 90m)").option("--all", "Delete every recorded run and the index, and purge every earlier version under the stack's deployments/ prefix on a versioned state bucket", false).action(withErrorHandling((stack, _options, command) => eventsPruneCommand(stack, command.optsWithGlobals())));
21413
21414
  }
21414
21415
 
21415
- // src/utils/ecr-uri.ts
21416
- const COMMERCIAL_AND_GOVCLOUD = ["aws", "aws-us-gov"];
21417
- const ECR_REGISTRY_HOST_FORMS = [
21418
- { labels: "dkr.ecr" },
21419
- {
21420
- labels: "dkr.ecr-fips",
21421
- partitions: COMMERCIAL_AND_GOVCLOUD
21422
- },
21423
- {
21424
- labels: "dkr-ecr",
21425
- fixedUrlSuffix: "on.aws",
21426
- partitions: COMMERCIAL_AND_GOVCLOUD
21427
- },
21428
- {
21429
- labels: "dkr-ecr-fips",
21430
- fixedUrlSuffix: "on.aws",
21431
- partitions: COMMERCIAL_AND_GOVCLOUD
21432
- }
21433
- ];
21434
- const ECR_HOST_FORMS_LONGEST_FIRST = [...ECR_REGISTRY_HOST_FORMS].sort((a, b) => b.labels.length - a.labels.length);
21435
- const ECR_HOST_FORM_BY_LABELS = new Map(ECR_REGISTRY_HOST_FORMS.map((form) => [form.labels, form]));
21436
- function ecrRegistryHostPattern(segments) {
21437
- const forms = ECR_HOST_FORMS_LONGEST_FIRST.map((form) => {
21438
- const suffix = form.fixedUrlSuffix === void 0 ? segments.partitionUrlSuffix : escapeRegExp(form.fixedUrlSuffix);
21439
- return `${escapeRegExp(form.labels)}\\.${segments.region}\\.${suffix}`;
21440
- });
21441
- return `${segments.accountId}\\.(?:${forms.join("|")})`;
21442
- }
21443
- const ECR_HOST_LABELS_RUN = new RegExp(`\\.(?:${ECR_HOST_FORMS_LONGEST_FIRST.map((form) => escapeRegExp(form.labels)).join("|")})\\.`, "i");
21444
- function hasEcrRegistryHostLabels(host) {
21445
- return ECR_HOST_LABELS_RUN.test(host);
21446
- }
21447
- const ECR_URI_HOST_REGEX = new RegExp(`^(\\d{12})\\.(${ECR_HOST_FORMS_LONGEST_FIRST.map((form) => escapeRegExp(form.labels)).join("|")})\\.([^.]+)\\.([^/]+)/`, "i");
21448
- const CANONICAL_REGION_SEGMENT = /^[A-Za-z0-9][A-Za-z0-9-]*$/;
21449
- const CANONICAL_URL_SUFFIX = /^[A-Za-z0-9][A-Za-z0-9.-]*$/;
21450
- const GENERIC_REGION_SHAPE = /^[a-z]+(?:-[a-z0-9]+)+-\d+$/;
21451
- const AWS_REGION_ID = new RegExp("^(?:" + [
21452
- "(?:us|eu|ap|sa|ca|me|af|il|mx)-[a-z0-9]+-\\d+",
21453
- "cn-[a-z0-9]+-\\d+",
21454
- "us-gov-[a-z0-9]+-\\d+",
21455
- "us-iso-[a-z0-9]+-\\d+",
21456
- "us-isob-[a-z0-9]+-\\d+",
21457
- "eu-isoe-[a-z0-9]+-\\d+",
21458
- "us-isof-[a-z0-9]+-\\d+",
21459
- "eusc-[a-z]+-[a-z0-9]+-\\d+"
21460
- ].join("|") + ")$");
21461
- function matchEcrRegistryHost(imageUri) {
21462
- const m = ECR_URI_HOST_REGEX.exec(imageUri);
21463
- if (!m) return void 0;
21464
- if (!CANONICAL_REGION_SEGMENT.test(m[3])) return void 0;
21465
- if (!CANONICAL_URL_SUFFIX.test(m[4])) return void 0;
21466
- const form = ECR_HOST_FORM_BY_LABELS.get(m[2].toLowerCase());
21467
- if (!form) return void 0;
21468
- const region = m[3].toLowerCase();
21469
- if (!AWS_REGION_ID.test(region)) {
21470
- if (!GENERIC_REGION_SHAPE.test(region)) return void 0;
21471
- return {
21472
- accountId: m[1],
21473
- region,
21474
- suffix: m[4].toLowerCase(),
21475
- expectedSuffix: void 0
21476
- };
21477
- }
21478
- const partition = derivePartitionAndUrlSuffix(region);
21479
- return {
21480
- accountId: m[1],
21481
- region,
21482
- suffix: m[4].toLowerCase(),
21483
- expectedSuffix: form.partitions && !form.partitions.includes(partition.partition) ? void 0 : (form.fixedUrlSuffix ?? partition.urlSuffix).toLowerCase()
21484
- };
21485
- }
21486
- function parseEcrRegistryHost(imageUri) {
21487
- const m = matchEcrRegistryHost(imageUri);
21488
- if (!m) return void 0;
21489
- if (m.expectedSuffix === void 0 || m.suffix !== m.expectedSuffix) return void 0;
21490
- return {
21491
- accountId: m.accountId,
21492
- region: m.region
21493
- };
21494
- }
21495
- function looksLikeEcrHostWithForeignSuffix(imageUri) {
21496
- const m = matchEcrRegistryHost(imageUri);
21497
- return m !== void 0 && m.suffix !== m.expectedSuffix;
21498
- }
21499
-
21500
21416
  // src/cli/commands/gc/asset-references.ts
21501
21417
  const KEY_TERMINATORS = "[^\\s\"'?]";
21502
21418
  const GC_EXTRA_URL_SUFFIXES = [];
@@ -32961,4 +32877,4 @@ function collectVerbFlags(program) {
32961
32877
  }
32962
32878
 
32963
32879
  export { resolveSecretDerivedPrincipals as a, buildProgram, isResolvableSecretPrincipalList as i, runDestroyForStack as n, canonicalizeIpProtocolValue as o, holdsUnprovenSecretPrincipalToken as r, canonicalizeIpv4Cidr as t };
32964
- //# sourceMappingURL=program-DaGdaozO.js.map
32880
+ //# sourceMappingURL=program-B8rxD6E3.js.map