@go-to-k/cdkd 0.291.18 → 0.291.20

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.
@@ -1,8 +1,8 @@
1
- import { $ as yellow, $a as NestedStackChildDirectDestroyError, $i as resolveSkipPrefix, $n as refuseMalformedOutputsForDestroy, $r as hasReadableExportSet, $t as readConfigString, A as createPreDeleteFinalSnapshot, Aa as absoluteAssemblyPathEscape, Ai as describeDockerFailure, An as malformedExportSourceWarning, Ar as identityKeyFor, At as disableInstanceApiTermination, B as isStatefulRecreateTargetSync, Ba as setAwsClients, Bi as runDockerStreaming, Bn as malformedResourceEntriesWarning, Br as redactSecretsForState, Bt as isUnboundTemplateParameter, C as namesAnyDeclaredParameter, Ca as globMatches, Ci as validateAssetBucketName, Cn as displayLogicalId, Cr as STATE_SOURCED_CROSS_GENERATION_RULES, Ct as CloudControlProvider, D as PRE_DELETE_SNAPSHOT_TYPES, Da as hasPlainPrototype, Di as resolveDockerContextDirectory, Dn as isReadableOrphanRecord, Dr as createSecretMasker, Dt as deleteIndeterminateGuards, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as hasOwnKey, Ei as buildDockerImage, En as hasReadableResources, Er as carriesSecretMask, Et as UNSPECIFIED_SKIP_REASON, F as extractDeploymentEventError, Fa as resolveBucketRegion, Fi as isDockerClientEnvKey, Fn as malformedOrphansRefusalMessage, Fr as maskSecretsInText, Ft as cfnRefValueFromPhysicalId, G as toCfnInteger, Gi as getDockerImageBySourceHash, Gn as refuseDivergentRecordRegionForDestroy, Gr as UNREPRODUCIBLE_LOCK_CLAUSE, Gt as normalizeAwsTagsToCfn, H as WARM_THROUGHPUT_MEMBERS, Ha as CdkdError, Hi as escapeRegExp, Hn as malformedResourcesWarning, Hr as LockManager, Ht as refStateLookupFromResource, I as makeSiblingClaimReader, Ia as AwsClients, Ii as isMalformedEnvKey, In as malformedOrphansWarning, Ir as pathCrossesDottedKey, It as coerceParameterTypedValue, J as bold, Ja as IntrinsicResolutionRefusalError, Ji as getDefaultStateBucketName, Jn as refuseMalformedOrphanRecordsForDestroy, Jr as forceQuitRecoveryClause, Jt as coerceCfnBoolean, K as toFiniteNumber, Ka as DeployCancelledError, Ki as Synthesizer, Kn as refuseMalformedNestedChildOutputs, Kr as buildForceUnlockCommand, Kt as resolveExplicitPhysicalId, L as planOrphanAdoption, La as getAwsClients, Li as partitionSensitiveEnv, Ln as malformedOutputsRefusalMessage, Lr as recordMaskOnlyValue, Lt as getAccountInfo, M as refusesFinalSnapshot, Ma as renderAssemblyPathEscape, Mi as finchSecretArgvRefusal, Mn as malformedOrphanRecordsRefusalMessage, Mr as isUncertifiedBaselineMaskPosition, Mt as IntrinsicFunctionResolver, N as unsupportedFinalSnapshotError, Na as resolveAssemblyPath, Ni as formatDockerLoginError, Nn as malformedOrphanRecordsWarning, Nr as markSameGenerationBag, Nt as carriesDynamicReference, O as buildFinalSnapshotIdentifier, Oa as nullPrototypeRecord, Oi as describeDockerCapturedOutput, On as isReadableResourceEntry, Or as dynamicReferenceTokens, Ot as deleteSkipReason, P as makeCanonicalizePropertiesFn, Pi as getDockerCmd, Pn as malformedOrphanRowsKeptWarning, Pr as maskSecretsInError, Pt as carriesFetchableDynamicReference, Q as red, Qa as MalformedProducerRecordRefusalError, Qi as resolveCaptureObservedState, Qn as refuseMalformedOutputs, Qr as exportNamesCarriedFrom, Qt as configStringRefusal, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as resetAwsClients, Ri as redactDockerArgvValues, Rn as malformedOutputsWarning, Rr as recordMaskOnlyValuesIn, Rt as isImpossibleEmptyStoredAttribute, S as computeParameterTaint, Sa as failedStageNote, Si as readBootstrapMarkerBody, Sn as deployRefusesOrphanRowsReason, So as safeStringify, Sr as STATE_SOURCED_BASELINE_RULES, St as startInterruptWatch, T as resourcesNamingDeclaredParameter, Ta as defineOwnKey, Ti as buildDenyExternalAccessPolicy, Tn as hasReadableOutputs, Tr as TEMPLATE_SOURCED_RULES, Tt as ccProtectionRegistryTypes, U as coerceWarmThroughput$1, Ui as stripControlChars, Un as malformedStateRefusalMessage, Ur as S3StateBackend, Ut as isSettledInstanceState, V as renderStatefulReason, Vi as warnFinchArgvExposure, Vn as malformedResourcePropertiesWarning, Vr as scrubResourceRecord, Vt as parameterTypeMayLoseSecretIdentity, W as isWarmThroughputDecrease, Wa as CrossAccountSecretRefusalError, Wi as AssetManifestLoader, Wn as previewableOrphanRecords, Wr as rebuildClientForBucketRegion, Wt as WAFv2WebACLProvider, X as gray, Xa as LocalStartServiceError, Xi as resolveApp, Xn as refuseMalformedOrphansForDestroy, Xr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Xt as configBooleanRefusal, Y as cyan, Ya as LocalInvokeBuildError$1, Yi as getLegacyStateBucketName, Yn as refuseMalformedOrphans, Yr as formatLockExpiry, Yt as coerceCfnInteger, Z as green, Zi as resolveAutoAssetStorage, Zn as refuseMalformedOrphansForOrphan, Zr as DEFAULT_STATE_PREFIX, Zt as configIntegerRefusal, _ as bagHoldsSecretExpression, _a as expectedOwnerParam, _i as assertAssetBucketRegion, _n as DiffCalculator, _o as isTransientServerError, _r as findSilentDropProperties, _t as maskerOrIdentity, a as DeploymentEventsStore, aa as ssmResolvedValueType, ai as orphansAfterRollback, an as producerRegionsFromState, ao as StackTerminationProtectionError, ar as refuseMalformedState, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as derivePartitionAndUrlSuffix, bi as isCrossRegionRedirect, bn as UNREADABLE_ORPHANS_CONTAINER_ROW, bo as retryClassificationText, br as DagBuilder, bt as interruptWatchListenerCount, c as replayFailedOperations, ca as MIGRATE_TMP_PREFIX, ci as AssetPublisher, cn as s3BucketDomainName, cr as repairMalformedOutputsForReadOnly, ct as IAMRoleProvider, d as updatePartialMessage, da as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, di as buildAssetRedirectMap, dn as s3BucketWebsiteUrl, do as withErrorHandling, dr as repairMalformedResourcesForReadOnly, dt as definedAttributes, ea as resolveStateBucketWithDefault, ei as hasReasonlessBaselineRefusal, en as replayWarn, eo as PartialFailureError, er as refuseMalformedResourceAttributesForOrphan, et as collectDeclaredOutputNames, f as updatePartialReason, fa as injectiveKey, fi as createAssetRedirectResolver, fn as applyRoleArnIfSet, fo as pasteableCommand, fr as safeRegion, ft as stringifyIfAssigned, g as computeImplicitDeleteEdges, ga as decodeListingKey, gi as BOOTSTRAP_MARKER_PREFIX, gn as envCredentialsAreAssumedRole, go as isThrottlingError, gr as findActionableSilentDrops, gt as maskDeep, h as IMPLICIT_DELETE_DEPENDENCIES, ha as producerRecordKey, hi as AssetModeResolver, hn as callerEnvCredentials, ho as isRetryableTransientError, hr as unreadableOrphanRecords, ht as createMaskedRetryLogger, i as DeploymentEventsReader, ia as warnDeprecatedNoPrefixCliFlag, ii as isReadableBag, in as classifyReplaySecretRegion, io as StackHasActiveImportsError, ir as refuseMalformedResourcesForDestroy, it as secretBearing, j as isFinalSnapshotError, ja as displayAssemblyPath, ji as dockerSpawnEnvWithSensitive, jn as malformedLocalOutputsWarning, jr as isSingleDynamicReferenceToken, jt as isTerminationProtectionPropagationError, k as ccRoutedFinalSnapshotError, ka as ownValue, ki as describeDockerExecFailure, kn as malformedExportNamesWarning, kr as errorCauseChain, kt as isWaitAbandonedError, l as replayRollback, la as findLargeInlineResources, li as stringifyValue, ln as s3BucketDualStackDomainName, lr as repairMalformedResourceEntriesForReadOnly, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as producerCoordinateKey, mi as rewriteTemplateAssetReferences, mn as applyCallerIdentityCredentials, mo as isMarkedNonRetryable, mr as unpreviewableOrphanRecords, mt as wouldReturnToSdkProvider, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as resolveUseCdkBootstrapAssets, ni as importableOutputKeys, nn as requireConfigObject, no as ResourceTimeoutError, nr as refuseMalformedResourceEntriesForOrphan, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as CFN_TEMPLATE_BODY_LIMIT, oi as orphansCarriedFrom, on as withSharedDrainBudget, or as repairMalformedOrphanRecordsForReadOnly, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as injectiveKeyPrefix, pi as loadPublishableAssetManifest, pn as AWS_CREDENTIAL_ENV_KEYS, po as shellQuote, pr as safeStackName, pt as ProviderRegistry, q as formatResourceLine, qa as DynamicReferenceRegionAmbiguousError, qi as synthesisStatusMessage, qn as refuseMalformedOrphanRecords, qr as buildLockContentionMessage, qt as assertRegionMatch, r as DeployEngine, ra as stateBucketExistenceConfirmed, ri as importableOutputs, rn as requireConfigString, ro as ResourceUpdateNotSupportedError, rr as refuseMalformedResourcePropertiesForOrphan, rt as isExportAliasCollision, s as planRollback, sa as CFN_TEMPLATE_URL_LIMIT, si as shouldRetainResource, sn as s3BucketArn, so as SynthesisError, sr as repairMalformedOrphansForReadOnly, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as resolveStateBucketWithDefaultAndSource, ti as hasUnverifiableParameterRefusal, tn as requireConfigArray, to as ProvisioningError, tr as refuseMalformedResourceEntries, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as uploadCfnTemplate, ui as WorkGraph, un as s3BucketRegionalDomainName, uo as normalizeAwsError, ur as repairMalformedResourcePropertiesForReadOnly, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as PARTITION_TABLE, vi as ensureAssetStorage, vn as INTRINSIC_KEYS, vo as markNonRetryable, vr as describeTypeWithThrottleRetry, vt as beginCommandInterruptScope, w as reachableDivergentParameters, wa as processStackMessages, wi as validateContainerRepoName, wn as hasReadableOrphans, wr as STATE_SOURCED_READBACK_RULES, wt as slowCcOperationTimeoutMs, x as bindingSkippedOutputs, xa as AssemblyReader, xi as parseBootstrapMarker, xn as UNREADABLE_RESOURCES_MAP_ROW, xo as describeAwsFailure, xr as TemplateParser, xt as isInterruptedWaitError, y as keptWholeReasonText, ya as canonicalizeRegion, yi as getBootstrapMarkerKey, yn as STATE_RESOURCES_MALFORMED, yo as markRedactedCause, yr as withRetry, yt as endCommandInterruptScope, z as isStatefulRecreateTargetForReplace, za as runWithStackAwsClients, zi as runDockerForeground, zn as malformedRenderedContainersWarning, zr as recoverMaskedOutput, zt as isNamelessDynamicReferenceError } from "./deploy-engine-BwDlgFRs.js";
1
+ import { $ as yellow, $a as MalformedProducerRecordRefusalError, $i as resolveSkipPrefix, $n as refuseMalformedOutputsForDestroy, $r as hasReadableExportSet, $t as requireConfigArray, A as createPreDeleteFinalSnapshot, Aa as ownValue, Ai as describeDockerFailure, An as malformedExportSourceWarning, Ar as identityKeyFor, At as IntrinsicFunctionResolver, B as isStatefulRecreateTargetSync, Ba as runWithStackAwsClients, Bi as runDockerStreaming, Bn as malformedResourceEntriesWarning, Br as redactSecretsForState, Bt as refStateLookupFromResource, C as namesAnyDeclaredParameter, Ca as failedStageNote, Ci as validateAssetBucketName, Cn as displayLogicalId, Co as safeStringify, Cr as STATE_SOURCED_CROSS_GENERATION_RULES, Ct as ccProtectionRegistryTypes, D as PRE_DELETE_SNAPSHOT_TYPES, Da as hasOwnKey, Di as resolveDockerContextDirectory, Dn as isReadableOrphanRecord, Dr as createSecretMasker, Dt as isWaitAbandonedError, E as ATOMIC_FINAL_SNAPSHOT_TYPES, Ea as defineOwnKey, Ei as buildDockerImage, En as hasReadableResources, Er as carriesSecretMask, Et as deleteSkipReason, F as extractDeploymentEventError, Fi as isDockerClientEnvKey, Fn as malformedOrphansRefusalMessage, Fr as maskSecretsInText, Ft as getAccountInfo, G as toCfnInteger, Ga as CrossAccountSecretRefusalError, Gi as getDockerImageBySourceHash, Gn as refuseDivergentRecordRegionForDestroy, Gr as UNREPRODUCIBLE_LOCK_CLAUSE, Gt as assertRegionMatch, H as WARM_THROUGHPUT_MEMBERS, Hi as escapeRegExp, Hn as malformedResourcesWarning, Hr as LockManager, Ht as WAFv2WebACLProvider, I as makeSiblingClaimReader, Ia as resolveBucketRegion, Ii as isMalformedEnvKey, In as malformedOrphansWarning, Ir as pathCrossesDottedKey, It as isImpossibleEmptyStoredAttribute, J as bold, Ja as DynamicReferenceRegionAmbiguousError, Ji as getDefaultStateBucketName, Jn as refuseMalformedOrphanRecordsForDestroy, Jr as forceQuitRecoveryClause, Jt as configBooleanRefusal, K as toFiniteNumber, Ki as Synthesizer, Kn as refuseMalformedNestedChildOutputs, Kr as buildForceUnlockCommand, Kt as coerceCfnBoolean, L as planOrphanAdoption, La as AwsClients, Li as partitionSensitiveEnv, Ln as malformedOutputsRefusalMessage, Lr as recordMaskOnlyValue, Lt as isNamelessDynamicReferenceError, M as refusesFinalSnapshot, Ma as displayAssemblyPath, Mi as finchSecretArgvRefusal, Mn as malformedOrphanRecordsRefusalMessage, Mr as isUncertifiedBaselineMaskPosition, Mt as carriesFetchableDynamicReference, N as unsupportedFinalSnapshotError, Na as renderAssemblyPathEscape, Ni as formatDockerLoginError, Nn as malformedOrphanRecordsWarning, Nr as markSameGenerationBag, Nt as cfnRefValueFromPhysicalId, O as buildFinalSnapshotIdentifier, Oa as hasPlainPrototype, Oi as describeDockerCapturedOutput, On as isReadableResourceEntry, Or as dynamicReferenceTokens, Ot as disableInstanceApiTermination, P as makeCanonicalizePropertiesFn, Pa as resolveAssemblyPath, Pi as getDockerCmd, Pn as malformedOrphanRowsKeptWarning, Pr as maskSecretsInError, Pt as coerceParameterTypedValue, Q as red, Qi as resolveCaptureObservedState, Qn as refuseMalformedOutputs, Qr as exportNamesCarriedFrom, Qt as replayWarn, R as MULTI_REGION_RECREATE_BLOCKED_TYPES, Ra as getAwsClients, Ri as redactDockerArgvValues, Rn as malformedOutputsWarning, Rr as recordMaskOnlyValuesIn, Rt as isUnboundTemplateParameter, S as computeParameterTaint, Sa as AssemblyReader, Si as readBootstrapMarkerBody, Sn as deployRefusesOrphanRowsReason, So as describeAwsFailure, Sr as STATE_SOURCED_BASELINE_RULES, St as slowCcOperationTimeoutMs, T as resourcesNamingDeclaredParameter, Ta as processStackMessages, Ti as buildDenyExternalAccessPolicy, Tn as hasReadableOutputs, Tr as TEMPLATE_SOURCED_RULES, Tt as deleteIndeterminateGuards, U as coerceWarmThroughput$1, Ua as CdkdError, Ui as stripControlChars, Un as malformedStateRefusalMessage, Ur as S3StateBackend, Ut as normalizeAwsTagsToCfn, V as renderStatefulReason, Va as setAwsClients, Vi as warnFinchArgvExposure, Vn as malformedResourcePropertiesWarning, Vr as scrubResourceRecord, Vt as isSettledInstanceState, W as isWarmThroughputDecrease, Wi as AssetManifestLoader, Wn as previewableOrphanRecords, Wr as rebuildClientForBucketRegion, Wt as resolveExplicitPhysicalId, X as gray, Xa as LocalInvokeBuildError$1, Xi as resolveApp, Xn as refuseMalformedOrphansForDestroy, Xr as CUSTOM_RESOURCE_RESPONSE_PREFIX, Xt as configStringRefusal, Y as cyan, Ya as IntrinsicResolutionRefusalError, Yi as getLegacyStateBucketName, Yn as refuseMalformedOrphans, Yr as formatLockExpiry, Yt as configIntegerRefusal, Z as green, Za as LocalStartServiceError, Zi as resolveAutoAssetStorage, Zn as refuseMalformedOrphansForOrphan, Zr as DEFAULT_STATE_PREFIX, Zt as readConfigString, _ as bagHoldsSecretExpression, _a as expectedOwnerParam, _i as assertAssetBucketRegion, _n as DiffCalculator, _o as isThrottlingError, _r as findSilentDropProperties, _t as endCommandInterruptScope, a as DeploymentEventsStore, aa as ssmResolvedValueType, ai as orphansAfterRollback, an as producerRegionsFromState, ao as StackHasActiveImportsError, ar as refuseMalformedState, at as secretBearingStateKeyWarning, b as mergeNoChangeOutputs, ba as derivePartitionAndUrlSuffix, bi as isCrossRegionRedirect, bn as UNREADABLE_ORPHANS_CONTAINER_ROW, bo as markRedactedCause, br as DagBuilder, bt as startInterruptWatch, c as replayFailedOperations, ca as MIGRATE_TMP_PREFIX, ci as AssetPublisher, cn as s3BucketDomainName, co as SynthesisError, cr as repairMalformedOutputsForReadOnly, ct as IAMRoleProvider, d as updatePartialMessage, da as CUSTOM_RESOURCE_RESPONSE_OBJECT_DESCRIPTION, di as buildAssetRedirectMap, dn as s3BucketWebsiteUrl, do as normalizeAwsError, dr as repairMalformedResourcesForReadOnly, dt as ProviderRegistry, ea as resolveStateBucketWithDefault, ei as hasReasonlessBaselineRefusal, en as requireConfigObject, eo as NestedStackChildDirectDestroyError, er as refuseMalformedResourceAttributesForOrphan, et as collectDeclaredOutputNames, f as updatePartialReason, fa as injectiveKey, fi as createAssetRedirectResolver, fn as applyRoleArnIfSet, fo as withErrorHandling, fr as safeRegion, ft as wouldReturnToSdkProvider, g as computeImplicitDeleteEdges, ga as decodeListingKey, gi as BOOTSTRAP_MARKER_PREFIX, gn as envCredentialsAreAssumedRole, go as isRetryableTransientError, gr as findActionableSilentDrops, gt as beginCommandInterruptScope, h as IMPLICIT_DELETE_DEPENDENCIES, ha as producerRecordKey, hi as AssetModeResolver, hn as callerEnvCredentials, ho as isMarkedNonRetryable, hr as unreadableOrphanRecords, ht as maskerOrIdentity, i as DeploymentEventsReader, ia as warnDeprecatedNoPrefixCliFlag, ii as isReadableBag, in as classifyReplaySecretRegion, io as ResourceUpdateNotSupportedError, ir as refuseMalformedResourcesForDestroy, it as secretBearing, j as isFinalSnapshotError, ja as absoluteAssemblyPathEscape, ji as dockerSpawnEnvWithSensitive, jn as malformedLocalOutputsWarning, jr as isSingleDynamicReferenceToken, jt as carriesDynamicReference, k as ccRoutedFinalSnapshotError, ka as nullPrototypeRecord, ki as describeDockerExecFailure, kn as malformedExportNamesWarning, kr as errorCauseChain, kt as isTerminationProtectionPropagationError, l as replayRollback, la as findLargeInlineResources, li as stringifyValue, ln as s3BucketDualStackDomainName, lr as repairMalformedResourceEntriesForReadOnly, lt as collectInlinePolicyNamesManagedBySiblings, m as maskingRetryLogger, ma as producerCoordinateKey, mi as rewriteTemplateAssetReferences, mn as applyCallerIdentityCredentials, mo as shellQuote, mr as unpreviewableOrphanRecords, mt as maskDeep, n as DEFAULT_RESOURCE_WARN_AFTER_MS, na as resolveUseCdkBootstrapAssets, ni as importableOutputKeys, nn as definedAttributes, no as ProvisioningError, nr as refuseMalformedResourceEntriesForOrphan, nt as exportAliasCollisionScrubWarning, o as planFailedOps, oa as CFN_TEMPLATE_BODY_LIMIT, oi as orphansCarriedFrom, on as withSharedDrainBudget, oo as StackTerminationProtectionError, or as repairMalformedOrphanRecordsForReadOnly, ot as secretSafeKeyDisplay, p as withResourceDeadline, pa as injectiveKeyPrefix, pi as loadPublishableAssetManifest, pn as AWS_CREDENTIAL_ENV_KEYS, po as pasteableCommand, pr as safeStackName, pt as createMaskedRetryLogger, q as formatResourceLine, qa as DeployCancelledError, qi as synthesisStatusMessage, qn as refuseMalformedOrphanRecords, qr as buildLockContentionMessage, qt as coerceCfnInteger, r as DeployEngine, ra as stateBucketExistenceConfirmed, ri as importableOutputs, rn as stringifyIfAssigned, ro as ResourceTimeoutError, rr as refuseMalformedResourcePropertiesForOrphan, rt as isExportAliasCollision, s as planRollback, sa as CFN_TEMPLATE_URL_LIMIT, si as shouldRetainResource, sn as s3BucketArn, sr as repairMalformedOrphansForReadOnly, st as getCurrentResourceSecrets, t as DEFAULT_RESOURCE_TIMEOUT_MS, ta as resolveStateBucketWithDefaultAndSource, ti as hasUnverifiableParameterRefusal, tn as requireConfigString, to as PartialFailureError, tr as refuseMalformedResourceEntries, tt as collectPublishedOutputNames, u as resolveReplacementOldType, ua as uploadCfnTemplate, ui as WorkGraph, un as s3BucketRegionalDomainName, ur as repairMalformedResourcePropertiesForReadOnly, ut as clearOnUpdateRemoval, v as isSecretBearingReferenceString, va as PARTITION_TABLE, vi as ensureAssetStorage, vn as INTRINSIC_KEYS, vo as isTransientServerError, vr as describeTypeWithThrottleRetry, vt as interruptWatchListenerCount, w as reachableDivergentParameters, wa as globMatches, wi as validateContainerRepoName, wn as hasReadableOrphans, wr as STATE_SOURCED_READBACK_RULES, wt as UNSPECIFIED_SKIP_REASON, x as bindingSkippedOutputs, xa as ambientClientDefaults, xi as parseBootstrapMarker, xn as UNREADABLE_RESOURCES_MAP_ROW, xo as retryClassificationText, xr as TemplateParser, xt as CloudControlProvider, y as keptWholeReasonText, ya as canonicalizeRegion, yi as getBootstrapMarkerKey, yn as STATE_RESOURCES_MALFORMED, yo as markNonRetryable, yr as withRetry, yt as isInterruptedWaitError, z as isStatefulRecreateTargetForReplace, za as resetAwsClients, zi as runDockerForeground, zn as malformedRenderedContainersWarning, zr as recoverMaskedOutput, zt as parameterTypeMayLoseSecretIdentity } from "./deploy-engine-CkF6PyFY.js";
2
2
  import { C as displayAwsMessage, D as isPasteableIdent, E as displayStackName, O as truncateCodePoints, S as UNRENDERABLE, T as displaySafe, _ as withSkipPrefix, b as SECRET_REF_MAX_CODE_POINTS, c as PATTERN_B_NAME_OPTIONS, f as explicitNamePropertyFor, h as getCurrentStackName, i as reserveStdoutForPayload, l as PATTERN_B_NAME_PROPERTIES, m as generateResourceNameWithFallback, n as getLogger, o as runStackBuffered, p as generateResourceName, s as getLiveRenderer, u as PATTERN_B_RESOURCE_TYPES, v as withStackName, w as displayIdent, x as STACK_REF_MAX_CODE_POINTS } from "./logger-Bt0RGDfb.js";
3
3
  import { n as awsClientDefaults, s as ambientRegion } from "./aws-client-defaults-jISU4PHo.js";
4
- import { t as getCdkdVersion } from "./version-CJkb2usU.js";
5
- import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-DR5gOGbi.js";
4
+ import { t as getCdkdVersion } from "./version-BYrVI73L.js";
5
+ import { a as renderDisableCommand, i as protectedReplacementAdvice, r as UNNAMEABLE_ID_CLAUSE, t as ASGProvider } from "./asg-provider-C0qLsIu5.js";
6
6
  import { AsyncLocalStorage } from "node:async_hooks";
7
7
  import { createHash, randomBytes, randomUUID } from "node:crypto";
8
8
  import { CopyObjectCommand, CreateBucketCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, NotFound, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, S3ServiceException } from "@aws-sdk/client-s3";
@@ -22163,7 +22163,7 @@ var DynamoDBGlobalTableProvider = class {
22163
22163
  const cached = this.regionalClientCache.get(region);
22164
22164
  if (cached) return cached;
22165
22165
  const client = new DynamoDBClient({
22166
- ...awsClientDefaults(),
22166
+ ...ambientClientDefaults(),
22167
22167
  region
22168
22168
  });
22169
22169
  this.regionalClientCache.set(region, client);
@@ -22184,7 +22184,7 @@ var DynamoDBGlobalTableProvider = class {
22184
22184
  const cached = this.regionalAutoScalingClientCache.get(region);
22185
22185
  if (cached) return cached;
22186
22186
  const client = new ApplicationAutoScalingClient({
22187
- ...awsClientDefaults(),
22187
+ ...ambientClientDefaults(),
22188
22188
  region
22189
22189
  });
22190
22190
  this.regionalAutoScalingClientCache.set(region, client);
@@ -22202,7 +22202,7 @@ var DynamoDBGlobalTableProvider = class {
22202
22202
  if (this.localAutoScalingClient) return this.localAutoScalingClient;
22203
22203
  const region = await this.dynamoDBClient.config.region() ?? "";
22204
22204
  this.localAutoScalingClient = new ApplicationAutoScalingClient({
22205
- ...awsClientDefaults(),
22205
+ ...ambientClientDefaults(),
22206
22206
  region
22207
22207
  });
22208
22208
  return this.localAutoScalingClient;
@@ -23888,7 +23888,7 @@ var DynamoDBGlobalTableProvider = class {
23888
23888
  const resourceId = autoScalingResourceId(tableName, indexName);
23889
23889
  try {
23890
23890
  const asClient = client ?? new ApplicationAutoScalingClient({
23891
- ...awsClientDefaults(),
23891
+ ...ambientClientDefaults(),
23892
23892
  region: await this.dynamoDBClient.config.region() ?? ""
23893
23893
  });
23894
23894
  const targets = (await asClient.send(new DescribeScalableTargetsCommand({
@@ -34413,7 +34413,7 @@ var ApiGatewayV2Provider = class {
34413
34413
  ])]]);
34414
34414
  getClient() {
34415
34415
  if (!this.client) this.client = new ApiGatewayV2Client({
34416
- ...awsClientDefaults(),
34416
+ ...ambientClientDefaults(),
34417
34417
  ...this.providerRegion ? { region: this.providerRegion } : {}
34418
34418
  });
34419
34419
  return this.client;
@@ -38213,6 +38213,15 @@ var AgentCoreEvaluatorProvider = class {
38213
38213
  //#endregion
38214
38214
  //#region src/provisioning/providers/stepfunctions-provider.ts
38215
38215
  /**
38216
+ * CloudFormation's `StateMachineRevisionId` for a described state machine.
38217
+ * `DescribeStateMachine` omits `revisionId` until the machine is first
38218
+ * updated, and CloudFormation then reports `INITIAL` (measured live,
38219
+ * 2026-09-25, issue #3627), so the absent value maps to that.
38220
+ */
38221
+ function stateMachineRevisionId(described) {
38222
+ return described.revisionId ?? "INITIAL";
38223
+ }
38224
+ /**
38216
38225
  * AWS Step Functions State Machine Provider
38217
38226
  *
38218
38227
  * Implements resource provisioning for AWS::StepFunctions::StateMachine using the SFN SDK.
@@ -38240,14 +38249,14 @@ var StepFunctionsProvider = class {
38240
38249
  ])]]);
38241
38250
  getClient() {
38242
38251
  if (!this.sfnClient) this.sfnClient = new SFNClient({
38243
- ...awsClientDefaults(),
38252
+ ...ambientClientDefaults(),
38244
38253
  ...this.providerRegion ? { region: this.providerRegion } : {}
38245
38254
  });
38246
38255
  return this.sfnClient;
38247
38256
  }
38248
38257
  getS3Client() {
38249
38258
  if (!this.s3Client) this.s3Client = new S3Client({
38250
- ...awsClientDefaults(),
38259
+ ...ambientClientDefaults(),
38251
38260
  ...this.providerRegion ? { region: this.providerRegion } : {}
38252
38261
  });
38253
38262
  return this.s3Client;
@@ -38280,17 +38289,23 @@ var StepFunctionsProvider = class {
38280
38289
  tags,
38281
38290
  encryptionConfiguration
38282
38291
  };
38283
- const response = await this.getClient().send(new CreateStateMachineCommand(createParams));
38284
- const stateMachineArn = response.stateMachineArn;
38292
+ const stateMachineArn = (await this.getClient().send(new CreateStateMachineCommand(createParams))).stateMachineArn;
38285
38293
  if (!stateMachineArn) throw new Error("CreateStateMachine did not return stateMachineArn");
38286
38294
  this.logger.debug(`Successfully created Step Functions state machine ${logicalId}: ${stateMachineArn}`);
38295
+ const name = stateMachineArn.split(":").pop() || stateMachineName;
38296
+ let revisionId;
38297
+ try {
38298
+ revisionId = stateMachineRevisionId(await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn })));
38299
+ } catch (describeError) {
38300
+ this.logger.debug(`Could not read the revision id of ${logicalId} after create: ${describeAwsFailure(describeError).detail}`);
38301
+ }
38287
38302
  return {
38288
38303
  physicalId: stateMachineArn,
38289
- attributes: {
38304
+ attributes: definedAttributes({
38290
38305
  Arn: stateMachineArn,
38291
- Name: stateMachineArn.split(":").pop() || stateMachineName,
38292
- StateMachineRevisionId: response.stateMachineVersionArn
38293
- }
38306
+ Name: name,
38307
+ StateMachineRevisionId: revisionId
38308
+ })
38294
38309
  };
38295
38310
  } catch (error) {
38296
38311
  if (error instanceof ProvisioningError) throw error;
@@ -38325,7 +38340,7 @@ var StepFunctionsProvider = class {
38325
38340
  attributes: {
38326
38341
  Arn: physicalId,
38327
38342
  Name: describeResponse.name,
38328
- StateMachineRevisionId: describeResponse.revisionId
38343
+ StateMachineRevisionId: stateMachineRevisionId(describeResponse)
38329
38344
  }
38330
38345
  };
38331
38346
  } catch (error) {
@@ -38433,10 +38448,14 @@ var StepFunctionsProvider = class {
38433
38448
  */
38434
38449
  async import(input) {
38435
38450
  if (input.knownPhysicalId) try {
38436
- await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: input.knownPhysicalId }));
38451
+ const resp = await this.getClient().send(new DescribeStateMachineCommand({ stateMachineArn: input.knownPhysicalId }));
38437
38452
  return {
38438
38453
  physicalId: input.knownPhysicalId,
38439
- attributes: {}
38454
+ attributes: definedAttributes({
38455
+ Arn: input.knownPhysicalId,
38456
+ Name: resp.name,
38457
+ StateMachineRevisionId: stateMachineRevisionId(resp)
38458
+ })
38440
38459
  };
38441
38460
  } catch (err) {
38442
38461
  if (err instanceof StateMachineDoesNotExist) return null;
@@ -38879,7 +38898,7 @@ var ECSProvider = class {
38879
38898
  unhandledByDesign = /* @__PURE__ */ new Map([["AWS::ECS::TaskDefinition", /* @__PURE__ */ new Map([["InferenceAccelerators", "AWS Elastic Inference end-of-life 2024-04; use AWS Inferentia / Trainium accelerator instance families instead"]])]]);
38880
38899
  getClient() {
38881
38900
  if (!this.ecsClient) this.ecsClient = new ECSClient({
38882
- ...awsClientDefaults(),
38901
+ ...ambientClientDefaults(),
38883
38902
  ...this.providerRegion ? { region: this.providerRegion } : {}
38884
38903
  });
38885
38904
  return this.ecsClient;
@@ -40698,7 +40717,7 @@ var ELBv2Provider = class {
40698
40717
  ]);
40699
40718
  getClient() {
40700
40719
  if (!this.elbv2Client) this.elbv2Client = new ElasticLoadBalancingV2Client({
40701
- ...awsClientDefaults(),
40720
+ ...ambientClientDefaults(),
40702
40721
  ...this.providerRegion ? { region: this.providerRegion } : {}
40703
40722
  });
40704
40723
  return this.elbv2Client;
@@ -41970,7 +41989,7 @@ var RDSProvider = class {
41970
41989
  ])]]);
41971
41990
  getClient() {
41972
41991
  if (!this.rdsClient) this.rdsClient = new RDSClient({
41973
- ...awsClientDefaults(),
41992
+ ...ambientClientDefaults(),
41974
41993
  ...this.providerRegion ? { region: this.providerRegion } : {}
41975
41994
  });
41976
41995
  return this.rdsClient;
@@ -42647,10 +42666,16 @@ var RDSProvider = class {
42647
42666
  async importDBCluster(input) {
42648
42667
  const explicit = resolveExplicitPhysicalId(input, "DBClusterIdentifier");
42649
42668
  if (explicit) try {
42650
- await this.getClient().send(new DescribeDBClustersCommand({ DBClusterIdentifier: explicit }));
42669
+ const described = (await this.getClient().send(new DescribeDBClustersCommand({ DBClusterIdentifier: explicit }))).DBClusters?.[0];
42651
42670
  return {
42652
42671
  physicalId: explicit,
42653
- attributes: {}
42672
+ attributes: definedAttributes({
42673
+ "Endpoint.Address": described?.Endpoint,
42674
+ "Endpoint.Port": stringifyIfAssigned(described?.Port),
42675
+ "ReadEndpoint.Address": described?.ReaderEndpoint,
42676
+ Arn: described?.DBClusterArn,
42677
+ DBClusterResourceId: described?.DbClusterResourceId
42678
+ })
42654
42679
  };
42655
42680
  } catch (err) {
42656
42681
  if (err.name === "DBClusterNotFoundFault") return null;
@@ -42732,7 +42757,7 @@ var RDSDBProxyProvider = class {
42732
42757
  ])]]);
42733
42758
  getClient() {
42734
42759
  if (!this.rdsClient) this.rdsClient = new RDSClient({
42735
- ...awsClientDefaults(),
42760
+ ...ambientClientDefaults(),
42736
42761
  ...this.providerRegion ? { region: this.providerRegion } : {}
42737
42762
  });
42738
42763
  return this.rdsClient;
@@ -43070,7 +43095,7 @@ var RDSDBProxyEndpointProvider = class {
43070
43095
  ])]]);
43071
43096
  getClient() {
43072
43097
  if (!this.rdsClient) this.rdsClient = new RDSClient({
43073
- ...awsClientDefaults(),
43098
+ ...ambientClientDefaults(),
43074
43099
  ...this.providerRegion ? { region: this.providerRegion } : {}
43075
43100
  });
43076
43101
  return this.rdsClient;
@@ -43382,7 +43407,7 @@ var RDSDBProxyTargetGroupProvider = class {
43382
43407
  ])]]);
43383
43408
  getClient() {
43384
43409
  if (!this.rdsClient) this.rdsClient = new RDSClient({
43385
- ...awsClientDefaults(),
43410
+ ...ambientClientDefaults(),
43386
43411
  ...this.providerRegion ? { region: this.providerRegion } : {}
43387
43412
  });
43388
43413
  return this.rdsClient;
@@ -43730,7 +43755,7 @@ var DocDBProvider = class {
43730
43755
  ]);
43731
43756
  getClient() {
43732
43757
  if (!this.docdbClient) this.docdbClient = new DocDBClient({
43733
- ...awsClientDefaults(),
43758
+ ...ambientClientDefaults(),
43734
43759
  ...this.providerRegion ? { region: this.providerRegion } : {}
43735
43760
  });
43736
43761
  return this.docdbClient;
@@ -44379,7 +44404,7 @@ var NeptuneProvider = class {
44379
44404
  ]);
44380
44405
  getClient() {
44381
44406
  if (!this.neptuneClient) this.neptuneClient = new NeptuneClient({
44382
- ...awsClientDefaults(),
44407
+ ...ambientClientDefaults(),
44383
44408
  ...this.providerRegion ? { region: this.providerRegion } : {}
44384
44409
  });
44385
44410
  return this.neptuneClient;
@@ -45128,7 +45153,7 @@ var Route53Provider = class {
45128
45153
  ])]]);
45129
45154
  getClient() {
45130
45155
  if (!this.route53Client) this.route53Client = new Route53Client({
45131
- ...awsClientDefaults(),
45156
+ ...ambientClientDefaults(),
45132
45157
  ...this.providerRegion ? { region: this.providerRegion } : {}
45133
45158
  });
45134
45159
  return this.route53Client;
@@ -47266,7 +47291,7 @@ var CognitoUserPoolProvider = class {
47266
47291
  }
47267
47292
  getClient() {
47268
47293
  if (!this.cognitoClient) this.cognitoClient = new CognitoIdentityProviderClient({
47269
- ...awsClientDefaults(),
47294
+ ...ambientClientDefaults(),
47270
47295
  ...this.providerRegion ? { region: this.providerRegion } : {}
47271
47296
  });
47272
47297
  return this.cognitoClient;
@@ -48042,6 +48067,21 @@ var CognitoUserPoolProvider = class {
48042
48067
  return result;
48043
48068
  }
48044
48069
  /**
48070
+ * The attribute map a user pool records, derived as `create()` / `update()`
48071
+ * derive it (issue #3627): the resolver served the pool id for
48072
+ * `ProviderName` / `ProviderURL` after an import.
48073
+ */
48074
+ async userPoolAttributes(userPoolId, arn) {
48075
+ const region = await this.getClient().config.region();
48076
+ const { urlSuffix } = derivePartitionAndUrlSuffix(region);
48077
+ return definedAttributes({
48078
+ Arn: arn,
48079
+ ProviderName: `cognito-idp.${region}.${urlSuffix}/${userPoolId}`,
48080
+ ProviderURL: `https://cognito-idp.${region}.${urlSuffix}/${userPoolId}`,
48081
+ UserPoolId: userPoolId
48082
+ });
48083
+ }
48084
+ /**
48045
48085
  * Adopt an existing Cognito User Pool into cdkd state.
48046
48086
  *
48047
48087
  * User Pool physical id is the AWS-generated `<region>_<random>` id.
@@ -48059,10 +48099,10 @@ var CognitoUserPoolProvider = class {
48059
48099
  */
48060
48100
  async import(input) {
48061
48101
  if (input.knownPhysicalId) try {
48062
- await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: input.knownPhysicalId }));
48102
+ const resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: input.knownPhysicalId }));
48063
48103
  return {
48064
48104
  physicalId: input.knownPhysicalId,
48065
- attributes: {}
48105
+ attributes: await this.userPoolAttributes(input.knownPhysicalId, resp.UserPool?.Arn)
48066
48106
  };
48067
48107
  } catch (err) {
48068
48108
  if (err instanceof ResourceNotFoundException$9) return null;
@@ -48076,10 +48116,19 @@ var CognitoUserPoolProvider = class {
48076
48116
  MaxResults: 60,
48077
48117
  ...marker && { NextToken: marker }
48078
48118
  }));
48079
- for (const pool of list.UserPools ?? []) if (pool.Id && pool.Name === desiredName) return {
48080
- physicalId: pool.Id,
48081
- attributes: {}
48082
- };
48119
+ for (const pool of list.UserPools ?? []) if (pool.Id && pool.Name === desiredName) {
48120
+ let resp;
48121
+ try {
48122
+ resp = await this.getClient().send(new DescribeUserPoolCommand({ UserPoolId: pool.Id }));
48123
+ } catch (err) {
48124
+ if (err instanceof ResourceNotFoundException$9) return null;
48125
+ throw err;
48126
+ }
48127
+ return {
48128
+ physicalId: pool.Id,
48129
+ attributes: await this.userPoolAttributes(pool.Id, resp.UserPool?.Arn)
48130
+ };
48131
+ }
48083
48132
  marker = list.NextToken;
48084
48133
  } while (marker);
48085
48134
  return null;
@@ -48136,7 +48185,7 @@ var ElastiCacheProvider = class {
48136
48185
  unhandledByDesign = /* @__PURE__ */ new Map([["AWS::ElastiCache::CacheCluster", /* @__PURE__ */ new Map([["CacheSecurityGroupNames", "EC2-Classic-only — use VpcSecurityGroupIds for VPC-deployed clusters (EC2-Classic retired 2022-08-15)"]])]]);
48137
48186
  getClient() {
48138
48187
  if (!this.client) this.client = new ElastiCacheClient({
48139
- ...awsClientDefaults(),
48188
+ ...ambientClientDefaults(),
48140
48189
  ...this.providerRegion ? { region: this.providerRegion } : {}
48141
48190
  });
48142
48191
  return this.client;
@@ -48673,14 +48722,14 @@ var ServiceDiscoveryProvider = class ServiceDiscoveryProvider {
48673
48722
  ]);
48674
48723
  getClient() {
48675
48724
  if (!this.client) this.client = new ServiceDiscoveryClient({
48676
- ...awsClientDefaults(),
48725
+ ...ambientClientDefaults(),
48677
48726
  ...this.providerRegion ? { region: this.providerRegion } : {}
48678
48727
  });
48679
48728
  return this.client;
48680
48729
  }
48681
48730
  getStsClient() {
48682
48731
  if (!this.stsClient) this.stsClient = new STSClient({
48683
- ...awsClientDefaults(),
48732
+ ...ambientClientDefaults(),
48684
48733
  ...this.providerRegion ? { region: this.providerRegion } : {}
48685
48734
  });
48686
48735
  return this.stsClient;
@@ -49739,7 +49788,7 @@ var AppSyncProvider = class {
49739
49788
  ]);
49740
49789
  getClient() {
49741
49790
  if (!this.client) this.client = new AppSyncClient({
49742
- ...awsClientDefaults(),
49791
+ ...ambientClientDefaults(),
49743
49792
  ...this.providerRegion ? { region: this.providerRegion } : {}
49744
49793
  });
49745
49794
  return this.client;
@@ -49935,7 +49984,7 @@ var AppSyncProvider = class {
49935
49984
  */
49936
49985
  getS3Client() {
49937
49986
  if (!this.s3Client) this.s3Client = new S3Client({
49938
- ...awsClientDefaults(),
49987
+ ...ambientClientDefaults(),
49939
49988
  ...this.providerRegion ? { region: this.providerRegion } : {}
49940
49989
  });
49941
49990
  return this.s3Client;
@@ -51600,7 +51649,7 @@ var GlueProvider = class {
51600
51649
  ])]]);
51601
51650
  getClient() {
51602
51651
  if (!this.client) this.client = new GlueClient({
51603
- ...awsClientDefaults(),
51652
+ ...ambientClientDefaults(),
51604
51653
  ...this.providerRegion ? { region: this.providerRegion } : {}
51605
51654
  });
51606
51655
  return this.client;
@@ -52454,7 +52503,7 @@ var GlueWorkflowProvider = class {
52454
52503
  ])]]);
52455
52504
  getClient() {
52456
52505
  if (!this.client) this.client = new GlueClient({
52457
- ...awsClientDefaults(),
52506
+ ...ambientClientDefaults(),
52458
52507
  ...this.providerRegion ? { region: this.providerRegion } : {}
52459
52508
  });
52460
52509
  return this.client;
@@ -52585,7 +52634,7 @@ var GlueWorkflowProvider = class {
52585
52634
  async getAccountId() {
52586
52635
  if (this.cachedAccountId) return this.cachedAccountId;
52587
52636
  if (!this.stsClient) this.stsClient = new STSClient({
52588
- ...awsClientDefaults(),
52637
+ ...ambientClientDefaults(),
52589
52638
  ...this.providerRegion ? { region: this.providerRegion } : {}
52590
52639
  });
52591
52640
  const identity = await this.stsClient.send(new GetCallerIdentityCommand({}));
@@ -52613,7 +52662,7 @@ var GlueSecurityConfigurationProvider = class {
52613
52662
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::SecurityConfiguration", /* @__PURE__ */ new Set(["Name", "EncryptionConfiguration"])]]);
52614
52663
  getClient() {
52615
52664
  if (!this.client) this.client = new GlueClient({
52616
- ...awsClientDefaults(),
52665
+ ...ambientClientDefaults(),
52617
52666
  ...this.providerRegion ? { region: this.providerRegion } : {}
52618
52667
  });
52619
52668
  return this.client;
@@ -52977,14 +53026,14 @@ var GlueJobProvider = class {
52977
53026
  ])]]);
52978
53027
  getClient() {
52979
53028
  if (!this.client) this.client = new GlueClient({
52980
- ...awsClientDefaults(),
53029
+ ...ambientClientDefaults(),
52981
53030
  ...this.providerRegion ? { region: this.providerRegion } : {}
52982
53031
  });
52983
53032
  return this.client;
52984
53033
  }
52985
53034
  getStsClient() {
52986
53035
  if (!this.stsClient) this.stsClient = new STSClient({
52987
- ...awsClientDefaults(),
53036
+ ...ambientClientDefaults(),
52988
53037
  ...this.providerRegion ? { region: this.providerRegion } : {}
52989
53038
  });
52990
53039
  return this.stsClient;
@@ -53357,14 +53406,14 @@ var GlueCrawlerProvider = class {
53357
53406
  ])]]);
53358
53407
  getClient() {
53359
53408
  if (!this.client) this.client = new GlueClient({
53360
- ...awsClientDefaults(),
53409
+ ...ambientClientDefaults(),
53361
53410
  ...this.providerRegion ? { region: this.providerRegion } : {}
53362
53411
  });
53363
53412
  return this.client;
53364
53413
  }
53365
53414
  getStsClient() {
53366
53415
  if (!this.stsClient) this.stsClient = new STSClient({
53367
- ...awsClientDefaults(),
53416
+ ...ambientClientDefaults(),
53368
53417
  ...this.providerRegion ? { region: this.providerRegion } : {}
53369
53418
  });
53370
53419
  return this.stsClient;
@@ -53672,7 +53721,7 @@ var GlueConnectionProvider = class {
53672
53721
  handledProperties = /* @__PURE__ */ new Map([["AWS::Glue::Connection", /* @__PURE__ */ new Set(["ConnectionInput", "CatalogId"])]]);
53673
53722
  getClient() {
53674
53723
  if (!this.client) this.client = new GlueClient({
53675
- ...awsClientDefaults(),
53724
+ ...ambientClientDefaults(),
53676
53725
  ...this.providerRegion ? { region: this.providerRegion } : {}
53677
53726
  });
53678
53727
  return this.client;
@@ -53838,14 +53887,14 @@ var GlueTriggerProvider = class {
53838
53887
  ])]]);
53839
53888
  getClient() {
53840
53889
  if (!this.client) this.client = new GlueClient({
53841
- ...awsClientDefaults(),
53890
+ ...ambientClientDefaults(),
53842
53891
  ...this.providerRegion ? { region: this.providerRegion } : {}
53843
53892
  });
53844
53893
  return this.client;
53845
53894
  }
53846
53895
  getStsClient() {
53847
53896
  if (!this.stsClient) this.stsClient = new STSClient({
53848
- ...awsClientDefaults(),
53897
+ ...ambientClientDefaults(),
53849
53898
  ...this.providerRegion ? { region: this.providerRegion } : {}
53850
53899
  });
53851
53900
  return this.stsClient;
@@ -54063,7 +54112,7 @@ var KMSProvider = class {
54063
54112
  ])], ["AWS::KMS::Alias", /* @__PURE__ */ new Set(["AliasName", "TargetKeyId"])]]);
54064
54113
  getClient() {
54065
54114
  if (!this.client) this.client = new KMSClient({
54066
- ...awsClientDefaults(),
54115
+ ...ambientClientDefaults(),
54067
54116
  ...this.providerRegion ? { region: this.providerRegion } : {}
54068
54117
  });
54069
54118
  return this.client;
@@ -54512,7 +54561,7 @@ var BudgetsBudgetProvider = class {
54512
54561
  ])]]);
54513
54562
  getClient() {
54514
54563
  if (!this.client) this.client = new BudgetsClient({
54515
- ...awsClientDefaults(),
54564
+ ...ambientClientDefaults(),
54516
54565
  ...this.providerRegion ? { region: this.providerRegion } : {}
54517
54566
  });
54518
54567
  return this.client;
@@ -55131,7 +55180,7 @@ var KinesisStreamProvider = class {
55131
55180
  ])]]);
55132
55181
  getClient() {
55133
55182
  if (!this.client) this.client = new KinesisClient({
55134
- ...awsClientDefaults(),
55183
+ ...ambientClientDefaults(),
55135
55184
  ...this.providerRegion ? { region: this.providerRegion } : {}
55136
55185
  });
55137
55186
  return this.client;
@@ -55612,7 +55661,7 @@ var KinesisStreamConsumerProvider = class {
55612
55661
  ])]]);
55613
55662
  getClient() {
55614
55663
  if (!this.client) this.client = new KinesisClient({
55615
- ...awsClientDefaults(),
55664
+ ...ambientClientDefaults(),
55616
55665
  ...this.providerRegion ? { region: this.providerRegion } : {}
55617
55666
  });
55618
55667
  return this.client;
@@ -55901,7 +55950,7 @@ var SchedulerScheduleProvider = class {
55901
55950
  ])]]);
55902
55951
  getClient() {
55903
55952
  if (!this.client) this.client = new SchedulerClient({
55904
- ...awsClientDefaults(),
55953
+ ...ambientClientDefaults(),
55905
55954
  ...this.providerRegion ? { region: this.providerRegion } : {}
55906
55955
  });
55907
55956
  return this.client;
@@ -56202,7 +56251,7 @@ var EFSProvider = class {
56202
56251
  unhandledByDesign = /* @__PURE__ */ new Map([["AWS::EFS::FileSystem", /* @__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. Tracked as a follow-up to issue #609."]])], ["AWS::EFS::AccessPoint", /* @__PURE__ */ new Map([["ClientToken", "cdkd supplies its own retry-stable ClientToken on CreateAccessPoint (issues #2039 and #2080), so a template-supplied value would be overwritten. The SDK does not own this field either: measured against @aws-sdk/client-efs 3.1018.0, 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."]])]]);
56203
56252
  getClient() {
56204
56253
  if (!this.client) this.client = new EFSClient({
56205
- ...awsClientDefaults(),
56254
+ ...ambientClientDefaults(),
56206
56255
  ...this.providerRegion ? { region: this.providerRegion } : {}
56207
56256
  });
56208
56257
  return this.client;
@@ -57125,7 +57174,7 @@ var FSxFileSystemProvider = class {
57125
57174
  unhandledByDesign = /* @__PURE__ */ new Map();
57126
57175
  getClient() {
57127
57176
  if (!this.client) this.client = new FSxClient({
57128
- ...awsClientDefaults(),
57177
+ ...ambientClientDefaults(),
57129
57178
  ...this.providerRegion ? { region: this.providerRegion } : {}
57130
57179
  });
57131
57180
  return this.client;
@@ -58244,7 +58293,7 @@ var EMRClusterProvider = class {
58244
58293
  ])]]);
58245
58294
  getClient() {
58246
58295
  if (!this.client) this.client = new EMRClient({
58247
- ...awsClientDefaults(),
58296
+ ...ambientClientDefaults(),
58248
58297
  ...this.providerRegion ? { region: this.providerRegion } : {}
58249
58298
  });
58250
58299
  return this.client;
@@ -59019,7 +59068,7 @@ var EMRInstanceGroupConfigProvider = class {
59019
59068
  ])]]);
59020
59069
  getClient() {
59021
59070
  if (!this.client) this.client = new EMRClient({
59022
- ...awsClientDefaults(),
59071
+ ...ambientClientDefaults(),
59023
59072
  ...this.providerRegion ? { region: this.providerRegion } : {}
59024
59073
  });
59025
59074
  return this.client;
@@ -59345,7 +59394,7 @@ var EMRInstanceFleetConfigProvider = class {
59345
59394
  ])]]);
59346
59395
  getClient() {
59347
59396
  if (!this.client) this.client = new EMRClient({
59348
- ...awsClientDefaults(),
59397
+ ...ambientClientDefaults(),
59349
59398
  ...this.providerRegion ? { region: this.providerRegion } : {}
59350
59399
  });
59351
59400
  return this.client;
@@ -59650,7 +59699,7 @@ var FirehoseProvider = class {
59650
59699
  ])]]);
59651
59700
  getClient() {
59652
59701
  if (!this.client) this.client = new FirehoseClient({
59653
- ...awsClientDefaults(),
59702
+ ...ambientClientDefaults(),
59654
59703
  ...this.providerRegion ? { region: this.providerRegion } : {}
59655
59704
  });
59656
59705
  return this.client;
@@ -61000,7 +61049,7 @@ var CloudTrailProvider = class {
61000
61049
  ])]]);
61001
61050
  getClient() {
61002
61051
  if (!this.client) this.client = new CloudTrailClient({
61003
- ...awsClientDefaults(),
61052
+ ...ambientClientDefaults(),
61004
61053
  ...this.providerRegion ? { region: this.providerRegion } : {}
61005
61054
  });
61006
61055
  return this.client;
@@ -61349,7 +61398,7 @@ var CodeBuildProvider = class {
61349
61398
  ])]]);
61350
61399
  getClient() {
61351
61400
  if (!this.client) this.client = new CodeBuildClient({
61352
- ...awsClientDefaults(),
61401
+ ...ambientClientDefaults(),
61353
61402
  ...this.providerRegion ? { region: this.providerRegion } : {}
61354
61403
  });
61355
61404
  return this.client;
@@ -61916,14 +61965,14 @@ var CodeCommitRepositoryProvider = class {
61916
61965
  ])]]);
61917
61966
  getClient() {
61918
61967
  if (!this.client) this.client = new CodeCommitClient({
61919
- ...awsClientDefaults(),
61968
+ ...ambientClientDefaults(),
61920
61969
  ...this.providerRegion ? { region: this.providerRegion } : {}
61921
61970
  });
61922
61971
  return this.client;
61923
61972
  }
61924
61973
  getS3Client() {
61925
61974
  if (!this.s3Client) this.s3Client = new S3Client({
61926
- ...awsClientDefaults(),
61975
+ ...ambientClientDefaults(),
61927
61976
  ...this.providerRegion ? { region: this.providerRegion } : {}
61928
61977
  });
61929
61978
  return this.s3Client;
@@ -62359,7 +62408,7 @@ var DLMLifecyclePolicyProvider = class {
62359
62408
  ])]]);
62360
62409
  getClient() {
62361
62410
  if (!this.client) this.client = new DLMClient({
62362
- ...awsClientDefaults(),
62411
+ ...ambientClientDefaults(),
62363
62412
  ...this.providerRegion ? { region: this.providerRegion } : {}
62364
62413
  });
62365
62414
  return this.client;
@@ -62655,7 +62704,7 @@ var S3VectorsProvider = class {
62655
62704
  ])]]);
62656
62705
  getClient() {
62657
62706
  if (!this.client) this.client = new S3VectorsClient({
62658
- ...awsClientDefaults(),
62707
+ ...ambientClientDefaults(),
62659
62708
  ...this.providerRegion ? { region: this.providerRegion } : {}
62660
62709
  });
62661
62710
  return this.client;
@@ -62857,18 +62906,27 @@ var S3VectorsProvider = class {
62857
62906
  * Lookup order:
62858
62907
  * 1. `--resource <id>=<name>` override or `Properties.VectorBucketName`
62859
62908
  * → verify via `GetVectorBucket`. The physical id is the bucket name.
62909
+ * An `s3vectors` bucket ARN — CloudFormation's physical id, which
62910
+ * `--migrate-from-cloudformation` passes verbatim — is looked up BY ARN,
62911
+ * and the name AWS reports is recorded (issue #3627).
62860
62912
  */
62861
62913
  async import(input) {
62862
62914
  const explicit = input.knownPhysicalId ?? (typeof input.properties?.["VectorBucketName"] === "string" && input.properties["VectorBucketName"].length > 0 ? input.properties["VectorBucketName"] : void 0);
62863
- if (explicit) try {
62864
- await this.getClient().send(new GetVectorBucketCommand({ vectorBucketName: explicit }));
62865
- return {
62866
- physicalId: explicit,
62867
- attributes: {}
62868
- };
62869
- } catch (err) {
62870
- if (this.isNotFoundError(err)) return null;
62871
- throw err;
62915
+ if (explicit) {
62916
+ const isArn = explicit.startsWith("arn:");
62917
+ if (isArn && !/^arn:[^:]+:s3vectors:[^:]*:[^:]*:bucket\/[^/]+$/.test(explicit)) return null;
62918
+ try {
62919
+ const resp = await this.getClient().send(new GetVectorBucketCommand(isArn ? { vectorBucketArn: explicit } : { vectorBucketName: explicit }));
62920
+ const name = isArn ? resp.vectorBucket?.vectorBucketName : explicit;
62921
+ if (!name) return null;
62922
+ return {
62923
+ physicalId: name,
62924
+ attributes: definedAttributes({ VectorBucketArn: resp.vectorBucket?.vectorBucketArn })
62925
+ };
62926
+ } catch (err) {
62927
+ if (this.isNotFoundError(err)) return null;
62928
+ throw err;
62929
+ }
62872
62930
  }
62873
62931
  return null;
62874
62932
  }
@@ -62968,7 +63026,7 @@ var S3DirectoryBucketProvider = class {
62968
63026
  }
62969
63027
  getEc2Client() {
62970
63028
  if (!this.ec2Client) this.ec2Client = new EC2Client({
62971
- ...awsClientDefaults(),
63029
+ ...ambientClientDefaults(),
62972
63030
  ...this.providerRegion ? { region: this.providerRegion } : {}
62973
63031
  });
62974
63032
  return this.ec2Client;
@@ -62982,7 +63040,7 @@ var S3DirectoryBucketProvider = class {
62982
63040
  */
62983
63041
  getS3ControlClient() {
62984
63042
  if (!this.s3ControlClient) this.s3ControlClient = new S3ControlClient({
62985
- ...awsClientDefaults(),
63043
+ ...ambientClientDefaults(),
62986
63044
  ...this.providerRegion ? { region: this.providerRegion } : {}
62987
63045
  });
62988
63046
  return this.s3ControlClient;
@@ -64200,7 +64258,7 @@ var ECRProvider = class {
64200
64258
  ])]]);
64201
64259
  getClient() {
64202
64260
  if (!this.client) this.client = new ECRClient({
64203
- ...awsClientDefaults(),
64261
+ ...ambientClientDefaults(),
64204
64262
  ...this.providerRegion ? { region: this.providerRegion } : {}
64205
64263
  });
64206
64264
  return this.client;
@@ -69464,7 +69522,7 @@ function renderDiffTree(node, isRoot, logFn) {
69464
69522
  const outputs = renderOutputChangeLines(node.outputChanges, logFn);
69465
69523
  logFn(`\n${create} to create, ${update} to update, ${del} to delete`);
69466
69524
  if (outputs.add + outputs.change + outputs.remove > 0) logFn(`${outputs.add} output(s) to add, ${outputs.change} to change, ${outputs.remove} to remove`);
69467
- if (node.adoptedOrphans.length > 0) logFn(`${node.adoptedOrphans.length} resource(s) to adopt from a previous rollback: ${node.adoptedOrphans.map(stripControlChars).join(", ")}`);
69525
+ if (node.adoptedOrphans.length > 0) logFn(`${node.adoptedOrphans.length} resource(s) to adopt from a previous rollback: ${node.adoptedOrphans.map((id) => displayLogicalId(id)).join(", ")}`);
69468
69526
  if (node.unreadable.length > 0) {
69469
69527
  const named = node.unreadable.slice(0, UNREADABLE_PREVIEW_NAMES).map((id) => id === "(resources map)" || id === "(orphans container)" ? id : displayLogicalId(id));
69470
69528
  const rest = node.unreadable.length - named.length;
@@ -77561,7 +77619,7 @@ async function stateMigrateCommand(options) {
77561
77619
  logger.info(` destination: ${newBucket}`);
77562
77620
  const probeRegion = "us-east-1";
77563
77621
  const probe = new S3Client({
77564
- ...awsClientDefaults(),
77622
+ ...ambientClientDefaults(),
77565
77623
  region: probeRegion
77566
77624
  });
77567
77625
  let sourceExists;
@@ -77574,7 +77632,7 @@ async function stateMigrateCommand(options) {
77574
77632
  const legacyRegion = await resolveBucketRegion(legacyBucket);
77575
77633
  logger.info(` source bucket actual region: ${legacyRegion}`);
77576
77634
  const legacyS3 = new S3Client({
77577
- ...awsClientDefaults(),
77635
+ ...ambientClientDefaults(),
77578
77636
  region: legacyRegion
77579
77637
  });
77580
77638
  try {
@@ -77680,7 +77738,7 @@ async function assertNoActiveLocks(s3, bucket) {
77680
77738
  }
77681
77739
  async function ensureDestinationBucket(bucketName, region, accountId, logger) {
77682
77740
  const probe = new S3Client({
77683
- ...awsClientDefaults(),
77741
+ ...ambientClientDefaults(),
77684
77742
  region
77685
77743
  });
77686
77744
  let exists;
@@ -77694,13 +77752,13 @@ async function ensureDestinationBucket(bucketName, region, accountId, logger) {
77694
77752
  const actual = await resolveBucketRegion(bucketName);
77695
77753
  if (actual !== region) logger.warn(`Destination bucket lives in ${actual}, but source is in ${region}. Cross-region copy is supported but slower; objects will be replicated to ${actual}.`);
77696
77754
  return new S3Client({
77697
- ...awsClientDefaults(),
77755
+ ...ambientClientDefaults(),
77698
77756
  region: actual
77699
77757
  });
77700
77758
  }
77701
77759
  logger.info(`Creating destination bucket ${bucketName} in ${region}...`);
77702
77760
  const s3 = new S3Client({
77703
- ...awsClientDefaults(),
77761
+ ...ambientClientDefaults(),
77704
77762
  region
77705
77763
  });
77706
77764
  const createParams = { Bucket: bucketName };
@@ -87177,7 +87235,7 @@ async function publishAssetsCommand(stacks, options) {
87177
87235
  const baseRegion = namedCliRegion(options.region) ?? "us-east-1";
87178
87236
  const { STSClient, GetCallerIdentityCommand } = await import("@aws-sdk/client-sts");
87179
87237
  const stsClient = new STSClient({
87180
- ...awsClientDefaults(),
87238
+ ...ambientClientDefaults(),
87181
87239
  region: baseRegion
87182
87240
  });
87183
87241
  const accountId = (await stsClient.send(new GetCallerIdentityCommand({}))).Account;
@@ -91981,10 +92039,10 @@ async function assumeRoleForEcr(roleArn, callerRegion, logger) {
91981
92039
  }
91982
92040
  /**
91983
92041
  * Authenticate the local docker daemon against the target ECR registry.
91984
- * Kept apart from `DockerAssetPublisher.ecrLogin`, and it no longer mirrors it:
91985
- * the publisher still prefers `proxyEndpoint`, which is right only because it
91986
- * pushes to the CALLER's own registry, while a pull here can name any account
91987
- * and any host form, so this one always logs in to the pull host.
92042
+ * Kept apart from `DockerAssetPublisher.ecrLogin`, which follows the same rule
92043
+ * (it logs in to the push host, #3681) but builds its host from an account and
92044
+ * region, while a pull here can name any account and any host form parsed from
92045
+ * the image URI.
91988
92046
  *
91989
92047
  * The login endpoint is ALWAYS the host the PULL targets (issues #1855 /
91990
92048
  * #3670): docker's credential store is keyed on the hostname verbatim, so a
@@ -99068,4 +99126,4 @@ function buildProgram() {
99068
99126
 
99069
99127
  //#endregion
99070
99128
  export { buildProgram };
99071
- //# sourceMappingURL=program-DxyHPT8E.js.map
99129
+ //# sourceMappingURL=program-CwcF5msU.js.map