@cdkd/cli 0.334.2 → 0.335.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 (37) hide show
  1. package/dist/ambient-client-defaults-B9bnuob2.js +960 -0
  2. package/dist/ambient-client-defaults-B9bnuob2.js.map +1 -0
  3. package/dist/{asg-provider-DTZ_iFWa.js → asg-provider-pl5tnbiA.js} +4 -3
  4. package/dist/asg-provider-pl5tnbiA.js.map +1 -0
  5. package/dist/cli.js +2 -2
  6. package/dist/{db-instance-modify-retry-zm23duXt.js → db-instance-modify-retry-CD7NSyq4.js} +10 -9
  7. package/dist/{db-instance-modify-retry-zm23duXt.js.map → db-instance-modify-retry-CD7NSyq4.js.map} +1 -1
  8. package/dist/{deploy-engine-Dq_RyFZd.js → deploy-engine-iQpILlcZ.js} +13365 -13039
  9. package/dist/deploy-engine-iQpILlcZ.js.map +1 -0
  10. package/dist/{iam-role-provider-DwAhjMfG.js → iam-role-provider-jC3_bsf-.js} +4 -3
  11. package/dist/iam-role-provider-jC3_bsf-.js.map +1 -0
  12. package/dist/index.d.ts +34 -42
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +3 -3
  15. package/dist/{neptune-provider-BFDPuF1_.js → neptune-provider-CNEMvt4t.js} +69 -24
  16. package/dist/neptune-provider-CNEMvt4t.js.map +1 -0
  17. package/dist/{program-Be87SvBg.js → program-DaGdaozO.js} +901 -731
  18. package/dist/program-DaGdaozO.js.map +1 -0
  19. package/dist/{provider-classes-D0isRHVc.js → provider-classes-ZpRORGt2.js} +45 -20
  20. package/dist/provider-classes-ZpRORGt2.js.map +1 -0
  21. package/dist/{rds-provider-CYwGhhxE.js → rds-provider-Ce7ua-ww.js} +289 -31
  22. package/dist/rds-provider-Ce7ua-ww.js.map +1 -0
  23. package/dist/read-replica-BJAUZwWe.js +201 -0
  24. package/dist/read-replica-BJAUZwWe.js.map +1 -0
  25. package/dist/{update-removal-C_x1-FM4.js → update-removal-Dh6W86TO.js} +148 -1097
  26. package/dist/update-removal-Dh6W86TO.js.map +1 -0
  27. package/dist/{version-CagOv0Ke.js → version-BxcTCG5i.js} +2 -2
  28. package/dist/{version-CagOv0Ke.js.map → version-BxcTCG5i.js.map} +1 -1
  29. package/package.json +1 -1
  30. package/dist/asg-provider-DTZ_iFWa.js.map +0 -1
  31. package/dist/deploy-engine-Dq_RyFZd.js.map +0 -1
  32. package/dist/iam-role-provider-DwAhjMfG.js.map +0 -1
  33. package/dist/neptune-provider-BFDPuF1_.js.map +0 -1
  34. package/dist/program-Be87SvBg.js.map +0 -1
  35. package/dist/provider-classes-D0isRHVc.js.map +0 -1
  36. package/dist/rds-provider-CYwGhhxE.js.map +0 -1
  37. package/dist/update-removal-C_x1-FM4.js.map +0 -1
@@ -1,14 +1,15 @@
1
1
  import { d as withApiGatewayPacing, l as s3ClientDefaults, r as getAwsClients } from "./aws-clients-ez_oXu6x.js";
2
2
  import { $ as safeMsg, E as generateResourceNameWithFallback, J as displaySafe, M as getCurrentStackInstanceId, O as recordedGeneratedNameKept, P as isBeforeStateRead, Q as plainIdentOr, T as generateResourceName, V as SECRET_REF_MAX_CODE_POINTS, W as asIsMessage, X as isPasteableIdent, Y as displayStackName, a as safeStringify, i as isAwsAuthoredFailure, n as describeAwsFailure, q as displayIdent, r as describeAwsStatusReason, s as getLogger, t as VERBOSE_POINTER, y as generatedNameFor } from "./aws-failure-text-CoS1huLy.js";
3
- import { $ as isTerminalDeleteFailure, $n as markNonRetryable, A as setBounded, Ar as shellQuote, At as stateOrphanRecordRemedy, B as resolveExplicitPhysicalId, C as AmbiguousCreateLatch, Cr as hasClauseBreak, Ct as compositeIdFormatMessage, D as isInsideWindow, Dr as plainOrDescribed, Dt as packCompositeId, E as createAttemptKey, En as ResourceUpdateNotSupportedError, Et as logicalIdShown, F as isQuotableImportValue, Fn as markNameCollision, Ft as maskerOrIdentity, Gn as isExplicitDenyError, Gt as markAuxiliaryFailure, H as assertRegionMatch, I as normalizeAwsTagsToCfn, In as markReplayMayCollide, It as withDerivedNameMasks, J as deleteAfterProtectionFlipWithFinalSnapshot, Jn as isTransientServerError, K as ProtectionFlipRegistry, Kt as markCreatedBeforeFailure, L as quotedRemedyLogicalId, Ln as relayedNameCollision, M as VALUE_NOT_SHOWN, Mt as createMaskedRetryLogger, N as isPlainImportJson, Nt as isSecretDerivedValue, O as replayFollowedAmbiguousAttempt, P as isPlainImportValue, Pt as maskDeep, Q as isTerminalDbWaitStatus, Qn as isThrottlingError, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, Sr as commandHole, St as canonicalizeRoute53QueryName, T as ambiguousAttemptLead, Tr as pasteableCommand, Tt as compositeIdSkipResult, Ut as isAuxiliaryFailure, V as RESOURCE_NOT_FOUND, Vn as explicitDenyPolicyKind, W as markNotGone, Wn as isAmbiguousOutcomeError, Xn as THROTTLING_ERROR_NAMES, Y as deleteWithProtectionCompensation, Z as isProceedDbStatus, Zn as isMarkedNonRetryable, _ as onlySecretDerived, a as withRemovalDefaults, b as recordedPrincipalsRepair, bt as isInterruptedWaitError, cr as CdkdError, ct as UNNAMEABLE_ID_CLAUSE, dn as withPasteableAwsProfile, dt as pasteableAwsCommand, er as markRedactedCause, et as logGroupProtectionSite, f as retractCreatedResource, fn as ambientClientDefaults, ft as protectedReplacementAdvice, g as holdsSecretDerivedEntry, h as SECRET_DERIVED_READ_LIVE, hn as credentialFingerprint, ht as ElapsedBudgetRegistry, i as removedTemplateKeys, j as withoutServerErrorRetries, jr as withheldTargetClause, jt as createMaskedLogSinks, k as replayedSendWindow, kt as segmentAfterAnchor, lt as WITHHELD_AWS_COMMAND, mn as clientDefaultsFor, mt as ElapsedBudget, nt as protectionFlipKey, on as injectiveKey, or as AccountIdUnavailableError, ot as userPoolProtectionSite, pn as ambientCredentialConfig, pr as ProvisioningError, pt as renderDisableCommand, qn as isRetryableTransientError, qt as markSupersedesEarlierCreate, rt as rdsFamilyProtectionSite, sn as injectiveKeyPrefix, t as clearOnUpdateRemoval, tr as wrapMaskedAwsError, tt as observeThenDisableProtection, u as reportCreatedResource, ut as isAwsCliLiteral, v as readPrincipalLists, w as RecentIdSet, wr as isInertUnquoted, wt as compositeIdSeparatorRefusal, xt as startInterruptWatch, z as remedyLogicalId, zt as clearCreatedBeforeFailure } from "./update-removal-C_x1-FM4.js";
3
+ import { A as explicitDenyPolicyKind, B as isMarkedNonRetryable, E as relayedNameCollision, H as markNonRetryable, I as isRetryableTransientError, L as isTransientServerError, N as isAmbiguousOutcomeError, P as isExplicitDenyError, T as markReplayMayCollide, U as markRedactedCause, V as isThrottlingError, W as wrapMaskedAwsError, Y as AccountIdUnavailableError, Z as CdkdError, bt as withheldTargetClause, dt as commandHole, ft as hasClauseBreak, gt as plainOrDescribed, h as ResourceUpdateNotSupportedError, i as credentialFingerprint, mt as pasteableCommand, n as ambientCredentialConfig, nt as ProvisioningError, pt as isInertUnquoted, r as clientDefaultsFor, t as ambientClientDefaults, w as markNameCollision, yt as shellQuote, z as THROTTLING_ERROR_NAMES } from "./ambient-client-defaults-B9bnuob2.js";
4
4
  import { c as ambientRegion } from "./aws-client-defaults-BLXFsfMa.js";
5
- import { $ as waitForIndexesSettled, $c as markSameGenerationBag, $i as isRefusedByName, $o as requireConfigArray, A as CONTRIBUTOR_INSIGHTS_KEY, Aa as reDisableInstanceApiTermination, B as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, Bi as APPSYNC_APIKEY_ARN_RESOURCE_PATH, C as readTtlSpec, D as vectorIndexesForCreate, Da as ec2InstanceProtectionSite, Dd as canonicalizeRegion, Dl as recoverMaskedOutput, E as readbackVectorIndexes, Ec as withoutSdkUnwiredProperties, Ei as secretNamedAttributeNamesOf, F as readContributorInsightsSpec, Fc as sameLambdaFunctionAddress, G as resolveDynamoDbDeleteBudgetClock, Gd as resolveAssemblyPath, Gi as stringifyIfAssigned, Go as toFiniteNumber, Gr as refuseRestoreFromItself, H as beginDeleteWait, Hd as describeFileReadFailure, Ho as coerceWarmThroughput$1, I as reverseMapIndexContributorInsights, J as INDEX_SETTLE_POLL_INTERVAL_MS, Ji as planTagDiff, Jn as reserveStackCreateToken, Jo as configBooleanRefusal, Jr as getStackRecords, K as resolveDynamoDbDeleteBudgetMs, Ki as DBPROXY_TAGS_WHAT, Kn as earliestDefined, Ko as coerceCfnBoolean, Kr as awaitInFlightSibling, Kt as getPriorAttempts, L as reverseMapTableContributorInsights, M as indexDeclaresContributorInsights, Ma as onlySecretReferencesDiffer, Mc as emrClusterInstancesReplaced, Mt as isAccessDeniedError, N as planContributorInsightsOp, Na as unchangedBehindSecretReference, Nc as canonicalLambdaFunctionName, Nl as carriesSecretMask, Nt as lookupEachName, O as vectorIndexesSettled, Oa as isTerminationProtectionPropagationError, Od as derivePartitionAndUrlSuffix, Ol as physicalNameCopiesOf, P as planIndexContributorInsightsOps, Pc as lambdaFunctionNameForMask, Pt as withApiLimit, Q as relayedIndexBusyDelete, Qi as tagPlanWarning, Qo as replayWarn, R as stripIndexContributorInsights, S as planTimeToLive, St as enclosingDeadlineRemainingMs, T as planVectorIndexUpdates, Ta as withIndeterminateGuard, Tu as rewriteTemplateAssetReferences, U as compensateRemovedDeletionProtection, Ud as displayAssemblyPath, Uo as isWarmThroughputDecrease, V as DYNAMODB_DELETE_POLL_COST_MS, Vi as maskedSecretSegment, Vo as WARM_THROUGHPUT_MEMBERS, W as deleteBudgetKey, Wd as renderAssemblyPathEscape, Wi as definedAttributes, Wo as toCfnInteger, X as deleteTableWithIndexBusyRetry, Xi as refuseMalformedDesiredTags, Xn as acquireIdempotencyToken, Xo as configStringRefusal, Xr as replacedDeleteFailureVerdict, Y as TABLE_INDEX_NOUN, Yi as readTagList, Yo as configIntegerRefusal, Z as maskedLogger, Zi as tagMapAsList, Zo as readConfigString, _ as streamMemberRefusals, _a as resolvedResourceTimeoutMs, al as hasMaskableValues, ao as s3BucketDualStackDomainName, as as withRetry, b as isTtlAlreadyDisabled, bu as stringifyValue, c as DynamoDBGlobalTableProvider, cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, cu as timePhase, d as declaredStreamPolicyMember, dn as getNestedRevertRun, dr as redactedDeleteAddressSkip, ea as markDeleteStarted, ec as refuseMalformedNestedChildOutputs, el as redactForState, es as requireConfigObject, et as ECR_AUTO_DELETE_IMAGES_TAG, f as declaredStreamTagsMember, fa as getCurrentResourceSecrets, ft as findNestedTemplateTreeDefect, g as streamDeclaresTags, ga as waitForGoneAfterDelete, gc as withheldAccountClause, go as parseWebACLArn, h as streamDeclaresPolicy, hc as accountArgs, ht as renderNestedTemplateTreeDefect, io as s3BucketDomainName, j as contributorInsightsRefusals, ja as reEnableInstanceApiTermination, jc as ecsServiceLaunchTypeSetOrChanged, jt as chunks, k as vectorIndexesShapeDetail, ka as observeThenDisableInstanceApiTermination, kc as blockDeviceMappingsDifferOnlyInDeleteOnTermination, kl as recordAttributeIdCopy, ko as isUsableAttemptedName, l as STREAM_POLICY_KEY, lr as isRedactedRecordedValue, m as reverseMapStreamPolicy, ma as waitForLambdaFunctionActive, mn as revertNestedChildFromJournal, mt as listNestedTemplateRows, nl as snapshotPassProvenance, nt as hasCdkAutoDeleteTag, oo as s3BucketRegionalDomainName, p as planStreamMemberOps, pt as isAbsoluteAssetPath, q as DELETE_INDEX_WAIT_PROCEED_NOTE, qc as passedNoEchoParametersOf, qi as DBPROXY_TAG_OPTIONS, qo as coerceCfnInteger, qt as markRefusedBeforeApplying, ro as s3BucketArn, rt as isTruthyCfnBoolean, so as s3BucketWebsiteUrl, ss as passedParameterClassesOf, t as DeployEngine, tl as recordReferenceProvenanceEntry, ts as requireConfigString, tt as S3_AUTO_DELETE_OBJECTS_TAG, u as STREAM_TAGS_KEY, uc as refuseMalformedResourcesForDestroy, ur as redactedDeleteAddressFields, v as streamPolicyMatchesDeclared, vn as getCurrentNestedStackContext, vo as outputReferenceProvenanceOf, w as sendTtlWaitingOutRateLimit, wa as deleteSkipReason, wc as findSdkUnwiredProperties, wd as decodeListingKey, x as isTtlRateLimited, xl as dynamicReferenceTokens, xo as getAccountInfo, xr as getCurrentProducerRegions, xt as enclosingDeadlineExpired, y as streamTagsMatchDeclared, ya as slowCcOperationTimeoutMs, yl as withoutPhysicalNameCopies, yn as withNestedStackContext, z as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, za as isSettledInstanceState } from "./deploy-engine-Dq_RyFZd.js";
6
- import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-DwAhjMfG.js";
7
- import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-Be87SvBg.js";
8
- import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-zm23duXt.js";
9
- import { RDSProvider } from "./rds-provider-CYwGhhxE.js";
10
- import { NeptuneProvider } from "./neptune-provider-BFDPuF1_.js";
11
- import { ASGProvider } from "./asg-provider-DTZ_iFWa.js";
5
+ import { $ as planVectorIndexUpdates, $i as tagPlanWarning, $o as replayWarn, Aa as observeThenDisableInstanceApiTermination, Ac as blockDeviceMappingsDifferOnlyInDeleteOnTermination, Al as recordAttributeIdCopy, Ao as isUsableAttemptedName, At as hasCdkAutoDeleteTag, B as declaredStreamTagsMember, Ba as isSettledInstanceState, Ct as TABLE_INDEX_NOUN, Dc as withoutSdkUnwiredProperties, Dt as waitForIndexesSettled, Ea as withIndeterminateGuard, Ei as secretNamedAttributeNamesOf, Et as relayedIndexBusyDelete, Eu as rewriteTemplateAssetReferences, Fc as lambdaFunctionNameForMask, G as streamMemberRefusals, Gd as renderAssemblyPathEscape, Gi as definedAttributes, Go as toCfnInteger, Gr as awaitInFlightSibling, H as reverseMapStreamPolicy, Ho as WARM_THROUGHPUT_MEMBERS, I as DynamoDBGlobalTableProvider, Ic as sameLambdaFunctionAddress, J as isTtlAlreadyDisabled, Jc as passedNoEchoParametersOf, Ji as DBPROXY_TAG_OPTIONS, Jn as reserveStackCreateToken, Jo as coerceCfnInteger, K as streamPolicyMatchesDeclared, Kd as resolveAssemblyPath, Ki as stringifyIfAssigned, Kn as earliestDefined, Ko as toFiniteNumber, Kt as getPriorAttempts, L as STREAM_POLICY_KEY, Ma as reEnableInstanceApiTermination, Mc as ecsServiceLaunchTypeSetOrChanged, Mi as maskedSecretSegment, Mt as enclosingDeadlineExpired, Na as onlySecretReferencesDiffer, Nc as emrClusterInstancesReplaced, Nt as enclosingDeadlineRemainingMs, Oa as ec2InstanceProtectionSite, Od as canonicalizeRegion, Ol as recoverMaskedOutput, Ot as ECR_AUTO_DELETE_IMAGES_TAG, Pa as unchangedBehindSecretReference, Pc as canonicalLambdaFunctionName, Pl as carriesSecretMask, Q as sendTtlWaitingOutRateLimit, Qi as tagMapAsList, Qo as readConfigString, R as STREAM_TAGS_KEY, Sl as dynamicReferenceTokens, So as getAccountInfo, St as INDEX_SETTLE_POLL_INTERVAL_MS, Ta as deleteSkipReason, Tc as findSdkUnwiredProperties, Td as decodeListingKey, Tt as maskedLogger, U as streamDeclaresPolicy, Ud as describeFileReadFailure, Uo as coerceWarmThroughput$1, V as planStreamMemberOps, W as streamDeclaresTags, Wd as displayAssemblyPath, Wo as isWarmThroughputDecrease, X as planTimeToLive, Xi as readTagList, Xn as acquireIdempotencyToken, Xo as configIntegerRefusal, Y as isTtlRateLimited, Yi as planTagDiff, Yo as configBooleanRefusal, Yr as replacedDeleteFailureVerdict, Z as readTtlSpec, Zi as refuseMalformedDesiredTags, Zo as configStringRefusal, _ as findNestedTemplateTreeDefect, _a as waitForGoneAfterDelete, _c as withheldAccountClause, _o as parseWebACLArn, _t as compensateRemovedDeletionProtection, a as withApiLimit, ao as s3BucketDomainName, at as contributorInsightsRefusals, b as renderNestedTemplateTreeDefect, ba as slowCcOperationTimeoutMs, bl as withoutPhysicalNameCopies, bt as resolveDynamoDbDeleteBudgetMs, cn as getCurrentNestedStackContext, co as s3BucketWebsiteUrl, cr as REDACTED_DELETE_ADDRESS_SKIP_REASON, cs as passedParameterClassesOf, ct as planIndexContributorInsightsOps, dc as refuseMalformedResourcesForDestroy, dr as redactedDeleteAddressSkip, dt as reverseMapTableContributorInsights, ea as isRefusedByName, el as markSameGenerationBag, es as requireConfigArray, et as readbackVectorIndexes, ft as stripIndexContributorInsights, gc as accountArgs, gt as beginDeleteWait, ha as waitForLambdaFunctionActive, ht as DYNAMODB_DELETE_POLL_COST_MS, i as lookupEachName, in as revertNestedChildFromJournal, io as s3BucketArn, it as CONTRIBUTOR_INSIGHTS_KEY, ja as reDisableInstanceApiTermination, ji as APPSYNC_APIKEY_ARN_RESOURCE_PATH, jt as isTruthyCfnBoolean, ka as isTerminationProtectionPropagationError, kd as derivePartitionAndUrlSuffix, kl as physicalNameCopiesOf, kt as S3_AUTO_DELETE_OBJECTS_TAG, ln as withNestedStackContext, lr as isRedactedRecordedValue, lt as readContributorInsightsSpec, lu as timePhase, mt as DYNAMODB_DELETE_MIN_RESOURCE_TIMEOUT_MS, n as chunks, nl as recordReferenceProvenanceEntry, ns as requireConfigString, nt as vectorIndexesSettled, oi as refuseRestoreFromItself, ol as hasMaskableValues, oo as s3BucketDualStackDomainName, os as withRetry, ot as indexDeclaresContributorInsights, pa as getCurrentResourceSecrets, pt as DYNAMODB_DELETE_DEADLINE_MARGIN_MS, q as streamTagsMatchDeclared, qi as DBPROXY_TAGS_WHAT, qo as coerceCfnBoolean, qr as getStackRecords, qt as markRefusedBeforeApplying, r as isAccessDeniedError, rl as snapshotPassProvenance, rt as vectorIndexesShapeDetail, so as s3BucketRegionalDomainName, st as planContributorInsightsOp, t as DeployEngine, ta as markDeleteStarted, tc as refuseMalformedNestedChildOutputs, tl as redactForState, tn as getNestedRevertRun, ts as requireConfigObject, tt as vectorIndexesForCreate, ur as redactedDeleteAddressFields, ut as reverseMapIndexContributorInsights, v as isAbsoluteAssetPath, va as resolvedResourceTimeoutMs, vt as deleteBudgetKey, wt as deleteTableWithIndexBusyRetry, xr as getCurrentProducerRegions, xt as DELETE_INDEX_WAIT_PROCEED_NOTE, xu as stringifyValue, y as listNestedTemplateRows, yo as outputReferenceProvenanceOf, yt as resolveDynamoDbDeleteBudgetClock, z as declaredStreamPolicyMember } from "./deploy-engine-iQpILlcZ.js";
6
+ import { $ as deleteAfterProtectionFlipWithFinalSnapshot, A as setBounded, At as segmentAfterAnchor, B as resolveExplicitPhysicalId, Bt as clearCreatedBeforeFailure, C as AmbiguousCreateLatch, Ct as canonicalizeRoute53QueryName, D as isInsideWindow, Dt as logicalIdShown, E as createAttemptKey, Et as compositeIdSkipResult, F as isQuotableImportValue, Ft as maskDeep, H as assertRegionMatch, I as normalizeAwsTagsToCfn, It as maskerOrIdentity, J as observeThenDisableProtection, Jt as markSupersedesEarlierCreate, K as deleteWithProtectionCompensation, Kt as markAuxiliaryFailure, L as quotedRemedyLogicalId, Lt as withDerivedNameMasks, M as VALUE_NOT_SHOWN, Mt as createMaskedLogSinks, N as isPlainImportJson, Nt as createMaskedRetryLogger, O as replayFollowedAmbiguousAttempt, Ot as packCompositeId, P as isPlainImportValue, Pt as isSecretDerivedValue, Q as PROTECTION_FLIP_RETRY_WAIT_MS, R as refusalTypeShown, S as AMBIGUOUS_LATCH_TTL_MS, St as startInterruptWatch, T as ambiguousAttemptLead, Tt as compositeIdSeparatorRefusal, V as RESOURCE_NOT_FOUND, W as markNotGone, Wt as isAuxiliaryFailure, Y as rdsFamilyProtectionSite, Z as userPoolProtectionSite, _ as onlySecretDerived, _t as renderDisableCommand, a as withRemovalDefaults, at as isTerminalDeleteFailure, b as recordedPrincipalsRepair, cn as injectiveKeyPrefix, ct as ElapsedBudget, f as retractCreatedResource, fn as withPasteableAwsProfile, ft as UNNAMEABLE_ID_CLAUSE, g as holdsSecretDerivedEntry, gt as protectedReplacementAdvice, h as SECRET_DERIVED_READ_LIVE, ht as pasteableAwsCommand, i as removedTemplateKeys, it as ProtectionFlipRegistry, j as withoutServerErrorRetries, jt as stateOrphanRecordRemedy, k as replayedSendWindow, lt as ElapsedBudgetRegistry, mt as isAwsCliLiteral, nt as isTerminalDbWaitStatus, ot as protectionFlipKey, pt as WITHHELD_AWS_COMMAND, q as logGroupProtectionSite, qt as markCreatedBeforeFailure, sn as injectiveKey, t as clearOnUpdateRemoval, tt as isProceedDbStatus, u as reportCreatedResource, v as readPrincipalLists, w as RecentIdSet, wt as compositeIdFormatMessage, xt as isInterruptedWaitError, z as remedyLogicalId } from "./update-removal-Dh6W86TO.js";
7
+ import { a as IamCreateClientCache, i as isEntityAlreadyExists, n as collectInlinePolicyNamesManagedBySiblings, r as iamEntityLeftByThisCreate, t as IAMRoleProvider } from "./iam-role-provider-jC3_bsf-.js";
8
+ import { a as resolveSecretDerivedPrincipals, i as isResolvableSecretPrincipalList, n as runDestroyForStack, o as canonicalizeIpProtocolValue, r as holdsUnprovenSecretPrincipalToken, t as canonicalizeIpv4Cidr } from "./program-DaGdaozO.js";
9
+ import { n as modifyDbInstanceWhenAvailable, t as isModifyNotAvailableRefusal } from "./db-instance-modify-retry-CD7NSyq4.js";
10
+ import { RDSProvider } from "./rds-provider-Ce7ua-ww.js";
11
+ import { NeptuneProvider } from "./neptune-provider-CNEMvt4t.js";
12
+ import { ASGProvider } from "./asg-provider-pl5tnbiA.js";
12
13
  import { createHash, randomUUID } from "node:crypto";
13
14
  import { CreateBucketCommand, CreateBucketMetadataConfigurationCommand, DeleteBucketAnalyticsConfigurationCommand, DeleteBucketCommand, DeleteBucketCorsCommand, DeleteBucketEncryptionCommand, DeleteBucketIntelligentTieringConfigurationCommand, DeleteBucketInventoryConfigurationCommand, DeleteBucketLifecycleCommand, DeleteBucketMetadataConfigurationCommand, DeleteBucketMetricsConfigurationCommand, DeleteBucketOwnershipControlsCommand, DeleteBucketPolicyCommand, DeleteBucketReplicationCommand, DeleteBucketTaggingCommand, DeleteBucketWebsiteCommand, DeleteObjectsCommand, GetBucketAbacCommand, GetBucketAccelerateConfigurationCommand, GetBucketCorsCommand, GetBucketEncryptionCommand, GetBucketLifecycleConfigurationCommand, GetBucketLocationCommand, GetBucketLoggingCommand, GetBucketMetadataConfigurationCommand, GetBucketNotificationConfigurationCommand, GetBucketOwnershipControlsCommand, GetBucketPolicyCommand, GetBucketReplicationCommand, GetBucketTaggingCommand, GetBucketVersioningCommand, GetBucketWebsiteCommand, GetObjectCommand, GetObjectLockConfigurationCommand, GetPublicAccessBlockCommand, HeadBucketCommand, ListBucketAnalyticsConfigurationsCommand, ListBucketIntelligentTieringConfigurationsCommand, ListBucketInventoryConfigurationsCommand, ListBucketMetricsConfigurationsCommand, ListBucketsCommand, ListObjectVersionsCommand, ListObjectsV2Command, NoSuchBucket, PutBucketAbacCommand, PutBucketAccelerateConfigurationCommand, PutBucketAnalyticsConfigurationCommand, PutBucketCorsCommand, PutBucketEncryptionCommand, PutBucketIntelligentTieringConfigurationCommand, PutBucketInventoryConfigurationCommand, PutBucketLifecycleConfigurationCommand, PutBucketLoggingCommand, PutBucketMetricsConfigurationCommand, PutBucketNotificationConfigurationCommand, PutBucketOwnershipControlsCommand, PutBucketPolicyCommand, PutBucketReplicationCommand, PutBucketTaggingCommand, PutBucketVersioningCommand, PutBucketWebsiteCommand, PutObjectLockConfigurationCommand, PutPublicAccessBlockCommand, S3Client, UpdateBucketMetadataAnnotationTableConfigurationCommand, UpdateBucketMetadataInventoryTableConfigurationCommand, UpdateBucketMetadataJournalTableConfigurationCommand } from "@aws-sdk/client-s3";
14
15
  import { AddRoleToInstanceProfileCommand, AddUserToGroupCommand, AttachGroupPolicyCommand, AttachRolePolicyCommand, AttachUserPolicyCommand, CreateAccessKeyCommand, CreateGroupCommand, CreateInstanceProfileCommand, CreateLoginProfileCommand, CreatePolicyCommand, CreatePolicyVersionCommand, CreateUserCommand, DeleteAccessKeyCommand, DeleteGroupCommand, DeleteGroupPolicyCommand, DeleteInstanceProfileCommand, DeleteLoginProfileCommand, DeletePolicyCommand, DeletePolicyVersionCommand, DeleteRolePolicyCommand, DeleteUserCommand, DeleteUserPermissionsBoundaryCommand, DeleteUserPolicyCommand, DetachGroupPolicyCommand, DetachRolePolicyCommand, DetachUserPolicyCommand, GetAccessKeyLastUsedCommand, GetGroupCommand, GetGroupPolicyCommand, GetInstanceProfileCommand, GetPolicyCommand, GetPolicyVersionCommand, GetRolePolicyCommand, GetUserCommand, GetUserPolicyCommand, IAMClient, ListAccessKeysCommand, ListAttachedGroupPoliciesCommand, ListAttachedUserPoliciesCommand, ListEntitiesForPolicyCommand, ListGroupPoliciesCommand, ListGroupsForUserCommand, ListPoliciesCommand, ListPolicyTagsCommand, ListPolicyVersionsCommand, ListUserPoliciesCommand, NoSuchEntityException, PutGroupPolicyCommand, PutRolePolicyCommand, PutUserPermissionsBoundaryCommand, PutUserPolicyCommand, RemoveRoleFromInstanceProfileCommand, RemoveUserFromGroupCommand, TagPolicyCommand, TagUserCommand, UntagPolicyCommand, UntagUserCommand, UpdateAccessKeyCommand, UpdateGroupCommand, UpdateLoginProfileCommand, UpdateUserCommand } from "@aws-sdk/client-iam";
@@ -19970,7 +19971,7 @@ async function deleteSubnet(logicalId, physicalId, resourceType, context, proper
19970
19971
  for (let attempt = 1; attempt <= maxAttempts; attempt++) try {
19971
19972
  await this.ec2Client.send(new DeleteSubnetCommand({ SubnetId: physicalId }));
19972
19973
  this.logger.debug(`Successfully deleted Subnet ${logicalId}`);
19973
- await this.waitForIpamAllocationRelease([properties?.["Ipv4IpamPoolId"], properties?.["Ipv6IpamPoolId"]], physicalId, "subnet", "AWS can take about 19 minutes", resourceType, context);
19974
+ await this.waitForIpamAllocationRelease([properties?.["Ipv4IpamPoolId"], properties?.["Ipv6IpamPoolId"]], physicalId, "subnet", "AWS can take about 19 minutes, 25 for an IPv6 block", resourceType, context);
19974
19975
  return;
19975
19976
  } catch (error) {
19976
19977
  if (this.isNotFoundError(error) && (context?.failedCreateOrphan !== true || isNamedError(error, SUBNET_NOT_FOUND_NAMES))) {
@@ -36368,11 +36369,23 @@ async function deleteDBCluster(logicalId, physicalId, resourceType, properties,
36368
36369
  isNotFound: (error) => isDocDBNotFoundError(error, "DBClusterNotFoundFault")
36369
36370
  }),
36370
36371
  reEnable: async () => {
36371
- await this.getClient().send(new ModifyDBClusterCommand$1({
36372
- DBClusterIdentifier: physicalId,
36373
- DeletionProtection: true,
36374
- ApplyImmediately: true
36375
- }));
36372
+ await modifyDbInstanceWhenAvailable({
36373
+ send: () => this.getClient().send(new ModifyDBClusterCommand$1({
36374
+ DBClusterIdentifier: physicalId,
36375
+ DeletionProtection: true,
36376
+ ApplyImmediately: true
36377
+ })),
36378
+ readStatus: async () => (await this.describeDBCluster(physicalId))?.Status,
36379
+ sleep: (ms) => this.sleep(ms),
36380
+ logger: this.logger,
36381
+ label: "DocDB DBCluster",
36382
+ subject: "cluster",
36383
+ isRefusal: isModifyNotAvailableRefusal,
36384
+ logicalId,
36385
+ remainingMs: enclosingDeadlineRemainingMs(),
36386
+ maxWaitMs: PROTECTION_FLIP_RETRY_WAIT_MS,
36387
+ command: "destroy"
36388
+ });
36376
36389
  }
36377
36390
  }
36378
36391
  });
@@ -36391,11 +36404,23 @@ async function deleteDBClusterOnce(logicalId, physicalId, resourceType, properti
36391
36404
  guardName: "DeletionProtection",
36392
36405
  observe: async () => (await this.describeDBCluster(physicalId))?.DeletionProtection === true,
36393
36406
  disable: async () => {
36394
- await this.getClient().send(new ModifyDBClusterCommand$1({
36395
- DBClusterIdentifier: physicalId,
36396
- DeletionProtection: false,
36397
- ApplyImmediately: true
36398
- }));
36407
+ await modifyDbInstanceWhenAvailable({
36408
+ send: () => this.getClient().send(new ModifyDBClusterCommand$1({
36409
+ DBClusterIdentifier: physicalId,
36410
+ DeletionProtection: false,
36411
+ ApplyImmediately: true
36412
+ })),
36413
+ readStatus: async () => (await this.describeDBCluster(physicalId))?.Status,
36414
+ sleep: (ms) => this.sleep(ms),
36415
+ logger: this.logger,
36416
+ label: "DocDB DBCluster",
36417
+ subject: "cluster",
36418
+ isRefusal: isModifyNotAvailableRefusal,
36419
+ logicalId,
36420
+ remainingMs: enclosingDeadlineRemainingMs(),
36421
+ maxWaitMs: PROTECTION_FLIP_RETRY_WAIT_MS,
36422
+ command: "destroy"
36423
+ });
36399
36424
  }
36400
36425
  });
36401
36426
  this.logger.debug(`Disabled DeletionProtection on DocDB DBCluster ${logicalId} before delete`);
@@ -61991,4 +62016,4 @@ var ACMCertificateProvider = class {
61991
62016
  };
61992
62017
 
61993
62018
  export { ACMCertificateProvider, ASGProvider, AgentCoreBrowserProvider, AgentCoreCodeInterpreterProvider, AgentCoreEvaluatorProvider, AgentCoreRuntimeProvider, ApiGatewayProvider, ApiGatewayV2Provider, AppSyncProvider, BudgetsBudgetProvider, CloudFrontDistributionProvider, CloudFrontOACProvider, CloudFrontOAIProvider, CloudTrailProvider, CloudWatchAlarmProvider, CloudWatchAnomalyDetectorProvider, CodeBuildProvider, CodeCommitRepositoryProvider, CognitoUserPoolProvider, DLMLifecyclePolicyProvider, DocDBProvider, DocDBSubnetGroupProvider, DynamoDBGlobalTableProvider, DynamoDBTableProvider, EC2Provider, ECRProvider, ECSProvider, EFSProvider, ELBv2Provider, EMRClusterProvider, EMRInstanceFleetConfigProvider, EMRInstanceGroupConfigProvider, ElastiCacheProvider, EventBridgeBusProvider, EventBridgeRuleProvider, FSxFileSystemProvider, FirehoseProvider, GlueConnectionProvider, GlueCrawlerProvider, GlueJobProvider, GlueProvider, GlueSecurityConfigurationProvider, GlueTriggerProvider, GlueWorkflowProvider, IAMAccessKeyProvider, IAMInstanceProfileProvider, IAMManagedPolicyProvider, IAMPolicyProvider, IAMRoleProvider, IAMUserGroupProvider, KMSProvider, KinesisStreamConsumerProvider, KinesisStreamProvider, LambdaEventInvokeConfigProvider, LambdaEventSourceMappingProvider, LambdaFunctionProvider, LambdaLayerVersionProvider, LambdaMicrovmImageProvider, LambdaNetworkConnectorProvider, LambdaPermissionProvider, LambdaUrlProvider, LambdaWebFunctionEndpointProvider, LambdaWebFunctionRevisionProvider, LogsLogGroupProvider, NeptuneProvider, NestedStackProvider, PipesPipeProvider, RDSDBProxyEndpointProvider, RDSDBProxyProvider, RDSDBProxyTargetGroupProvider, RDSProvider, Route53Provider, S3BucketPolicyProvider, S3BucketProvider, S3DirectoryBucketProvider, S3TablesProvider, S3VectorsProvider, SNSSubscriptionProvider, SNSTopicPolicyProvider, SNSTopicProvider, SQSQueuePolicyProvider, SQSQueueProvider, SSMParameterProvider, SchedulerScheduleProvider, SecretsManagerSecretProvider, ServiceDiscoveryProvider, StepFunctionsProvider, WAFv2WebACLProvider, WaitConditionHandleProvider };
61994
- //# sourceMappingURL=provider-classes-D0isRHVc.js.map
62019
+ //# sourceMappingURL=provider-classes-ZpRORGt2.js.map